AlexaForBusinessRequest Class
(QtAws::AlexaForBusiness::AlexaForBusinessRequest)The AlexaForBusinessRequest class provides an interface for AlexaForBusiness requests. More...
Public Types
| enum | Action { AssociateContactWithAddressBookAction, AssociateDeviceWithRoomAction, AssociateSkillGroupWithRoomAction, CreateAddressBookAction, ..., UpdateSkillGroupAction } |
| flags | Actions |
Public Functions
| AlexaForBusinessRequest(const Action action) | |
| AlexaForBusinessRequest(const AlexaForBusinessRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| AlexaForBusinessRequest & | operator=(const AlexaForBusinessRequest &other) |
| virtual bool | operator==(const AlexaForBusinessRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| AlexaForBusinessRequest(AlexaForBusinessRequestPrivate * const d) | |
| int | clearParameter(const QString &name) |
| void | clearParameters() |
| QVariant | parameter(const QString &name, const QVariant &defaultValue = QVariant()) const |
| const QVariantMap & | parameters() const |
| void | setParameter(const QString &name, const QVariant &value) |
| void | setParameters(const QVariantMap ¶meters) |
Reimplemented Protected Functions
| virtual QNetworkRequest | unsignedRequest(const QUrl &endpoint) const override |
- 4 protected functions inherited from QtAws::Core::AwsAbstractRequest
Detailed Description
The AlexaForBusinessRequest class provides an interface for AlexaForBusiness requests.
Member Type Documentation
enum AlexaForBusinessRequest::Action
flags AlexaForBusinessRequest::Actions
This enum describes the actions that can be performed as AlexaForBusiness requests.
| Constant | Value | Description |
|---|---|---|
QtAws::AlexaForBusiness::AlexaForBusinessRequest::AssociateContactWithAddressBookAction | 0 | AlexaForBusiness AssociateContactWithAddressBook action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::AssociateDeviceWithRoomAction | 1 | AlexaForBusiness AssociateDeviceWithRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::AssociateSkillGroupWithRoomAction | 2 | AlexaForBusiness AssociateSkillGroupWithRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::CreateAddressBookAction | 3 | AlexaForBusiness CreateAddressBook action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::CreateContactAction | 4 | AlexaForBusiness CreateContact action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::CreateProfileAction | 5 | AlexaForBusiness CreateProfile action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::CreateRoomAction | 6 | AlexaForBusiness CreateRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::CreateSkillGroupAction | 7 | AlexaForBusiness CreateSkillGroup action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::CreateUserAction | 8 | AlexaForBusiness CreateUser action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteAddressBookAction | 9 | AlexaForBusiness DeleteAddressBook action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteContactAction | 10 | AlexaForBusiness DeleteContact action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteProfileAction | 11 | AlexaForBusiness DeleteProfile action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteRoomAction | 12 | AlexaForBusiness DeleteRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteRoomSkillParameterAction | 13 | AlexaForBusiness DeleteRoomSkillParameter action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteSkillGroupAction | 14 | AlexaForBusiness DeleteSkillGroup action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DeleteUserAction | 15 | AlexaForBusiness DeleteUser action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DisassociateContactFromAddressBookAction | 16 | AlexaForBusiness DisassociateContactFromAddressBook action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DisassociateDeviceFromRoomAction | 17 | AlexaForBusiness DisassociateDeviceFromRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::DisassociateSkillGroupFromRoomAction | 18 | AlexaForBusiness DisassociateSkillGroupFromRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetAddressBookAction | 19 | AlexaForBusiness GetAddressBook action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetContactAction | 20 | AlexaForBusiness GetContact action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetDeviceAction | 21 | AlexaForBusiness GetDevice action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetProfileAction | 22 | AlexaForBusiness GetProfile action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetRoomAction | 23 | AlexaForBusiness GetRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetRoomSkillParameterAction | 24 | AlexaForBusiness GetRoomSkillParameter action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::GetSkillGroupAction | 25 | AlexaForBusiness GetSkillGroup action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::ListDeviceEventsAction | 26 | AlexaForBusiness ListDeviceEvents action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::ListSkillsAction | 27 | AlexaForBusiness ListSkills action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::ListTagsAction | 28 | AlexaForBusiness ListTags action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::PutRoomSkillParameterAction | 29 | AlexaForBusiness PutRoomSkillParameter action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::ResolveRoomAction | 30 | AlexaForBusiness ResolveRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::RevokeInvitationAction | 31 | AlexaForBusiness RevokeInvitation action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchAddressBooksAction | 32 | AlexaForBusiness SearchAddressBooks action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchContactsAction | 33 | AlexaForBusiness SearchContacts action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchDevicesAction | 34 | AlexaForBusiness SearchDevices action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchProfilesAction | 35 | AlexaForBusiness SearchProfiles action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchRoomsAction | 36 | AlexaForBusiness SearchRooms action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchSkillGroupsAction | 37 | AlexaForBusiness SearchSkillGroups action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SearchUsersAction | 38 | AlexaForBusiness SearchUsers action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::SendInvitationAction | 39 | AlexaForBusiness SendInvitation action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::StartDeviceSyncAction | 40 | AlexaForBusiness StartDeviceSync action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::TagResourceAction | 41 | AlexaForBusiness TagResource action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UntagResourceAction | 42 | AlexaForBusiness UntagResource action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UpdateAddressBookAction | 43 | AlexaForBusiness UpdateAddressBook action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UpdateContactAction | 44 | AlexaForBusiness UpdateContact action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UpdateDeviceAction | 45 | AlexaForBusiness UpdateDevice action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UpdateProfileAction | 46 | AlexaForBusiness UpdateProfile action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UpdateRoomAction | 47 | AlexaForBusiness UpdateRoom action. |
QtAws::AlexaForBusiness::AlexaForBusinessRequest::UpdateSkillGroupAction | 48 | AlexaForBusiness UpdateSkillGroup action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
AlexaForBusinessRequest::AlexaForBusinessRequest(const Action action)
Constructs a AlexaForBusinessRequest object for AlexaForBusiness action.
AlexaForBusinessRequest::AlexaForBusinessRequest(const AlexaForBusinessRequest &other)
Constructs a copy of other.
[protected] AlexaForBusinessRequest::AlexaForBusinessRequest(AlexaForBusinessRequestPrivate * const d)
Constructs aa AlexaForBusinessRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from AlexaForBusinessRequestPrivate.
Action AlexaForBusinessRequest::action() const
Returns the AlexaForBusiness action to be performed by this request.
See also setAction().
QString AlexaForBusinessRequest::actionString() const
Returns the name of the AlexaForBusiness action to be performed by this request.
QString AlexaForBusinessRequest::apiVersion() const
Returns the AlexaForBusiness API version implemented by this request.
See also setApiVersion().
[protected] int AlexaForBusinessRequest::clearParameter(const QString &name)
Removes the a name parameter from the request, then returns the number of paramters removed (typically 0 or 1).
[protected] void AlexaForBusinessRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant AlexaForBusinessRequest::parameter(const QString &name, const QVariant &defaultValue = QVariant()) const
Returns the value of the name pararemter if set; defaultValue otherwise.
See also setParameter().
[protected] const QVariantMap &AlexaForBusinessRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void AlexaForBusinessRequest::setAction(const Action action)
Sets the AlexaForBusiness action to be performed by this request to action.
See also action().
void AlexaForBusinessRequest::setApiVersion(const QString &version)
Sets the AlexaForBusiness API version to include in this request to version.
See also apiVersion().
[protected] void AlexaForBusinessRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void AlexaForBusinessRequest::setParameters(const QVariantMap ¶meters)
Sets the paramters for this request to parameters. Any request parameters set previously will be discarded.
See also parameters().
[override virtual protected] QNetworkRequest AlexaForBusinessRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the AlexaForBusiness request using the given endpoint.
This AlexaForBusiness implementation builds request URLs by combining the common query parameters (such as Action and Version), with any that have been added (via setParameter) by child classes.
AlexaForBusinessRequest &AlexaForBusinessRequest::operator=(const AlexaForBusinessRequest &other)
Sets the AlexaForBusinessRequest object to be equal to other.
[virtual] bool AlexaForBusinessRequest::operator==(const AlexaForBusinessRequest &other) const
Returns true if this request is equal to other; false otherwise.
Note, most derived *Request classes do not need to provider their own implementations of this function, since most such request classes rely on this class' parameters functionality for all request parameters, and that parameters map is already checked via this implementation.
© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.