LexModelBuildingServiceRequest Class
(QtAws::LexModelBuildingService::LexModelBuildingServiceRequest)The LexModelBuildingServiceRequest class provides an interface for LexModelBuildingService requests. More...
Public Types
| enum | Action { CreateBotVersionAction, CreateIntentVersionAction, CreateSlotTypeVersionAction, DeleteBotAction, ..., StartImportAction } |
| flags | Actions |
Public Functions
| LexModelBuildingServiceRequest(const Action action) | |
| LexModelBuildingServiceRequest(const LexModelBuildingServiceRequest &other) | |
| Action | action() const |
| QString | actionString() const |
| QString | apiVersion() const |
| void | setAction(const Action action) |
| void | setApiVersion(const QString &version) |
| LexModelBuildingServiceRequest & | operator=(const LexModelBuildingServiceRequest &other) |
| virtual bool | operator==(const LexModelBuildingServiceRequest &other) const |
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Protected Functions
| LexModelBuildingServiceRequest(LexModelBuildingServiceRequestPrivate * 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 LexModelBuildingServiceRequest class provides an interface for LexModelBuildingService requests.
Member Type Documentation
enum LexModelBuildingServiceRequest::Action
flags LexModelBuildingServiceRequest::Actions
This enum describes the actions that can be performed as LexModelBuildingService requests.
| Constant | Value | Description |
|---|---|---|
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::CreateBotVersionAction | 0 | LexModelBuildingService CreateBotVersion action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::CreateIntentVersionAction | 1 | LexModelBuildingService CreateIntentVersion action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::CreateSlotTypeVersionAction | 2 | LexModelBuildingService CreateSlotTypeVersion action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotAction | 3 | LexModelBuildingService DeleteBot action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotAliasAction | 4 | LexModelBuildingService DeleteBotAlias action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotChannelAssociationAction | 5 | LexModelBuildingService DeleteBotChannelAssociation action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotVersionAction | 6 | LexModelBuildingService DeleteBotVersion action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteIntentAction | 7 | LexModelBuildingService DeleteIntent action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteIntentVersionAction | 8 | LexModelBuildingService DeleteIntentVersion action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteSlotTypeAction | 9 | LexModelBuildingService DeleteSlotType action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteSlotTypeVersionAction | 10 | LexModelBuildingService DeleteSlotTypeVersion action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteUtterancesAction | 11 | LexModelBuildingService DeleteUtterances action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotAction | 12 | LexModelBuildingService GetBot action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotAliasAction | 13 | LexModelBuildingService GetBotAlias action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotAliasesAction | 14 | LexModelBuildingService GetBotAliases action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotChannelAssociationAction | 15 | LexModelBuildingService GetBotChannelAssociation action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotChannelAssociationsAction | 16 | LexModelBuildingService GetBotChannelAssociations action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotVersionsAction | 17 | LexModelBuildingService GetBotVersions action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotsAction | 18 | LexModelBuildingService GetBots action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBuiltinIntentAction | 19 | LexModelBuildingService GetBuiltinIntent action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBuiltinIntentsAction | 20 | LexModelBuildingService GetBuiltinIntents action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBuiltinSlotTypesAction | 21 | LexModelBuildingService GetBuiltinSlotTypes action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetExportAction | 22 | LexModelBuildingService GetExport action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetImportAction | 23 | LexModelBuildingService GetImport action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetIntentAction | 24 | LexModelBuildingService GetIntent action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetIntentVersionsAction | 25 | LexModelBuildingService GetIntentVersions action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetIntentsAction | 26 | LexModelBuildingService GetIntents action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetSlotTypeAction | 27 | LexModelBuildingService GetSlotType action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetSlotTypeVersionsAction | 28 | LexModelBuildingService GetSlotTypeVersions action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetSlotTypesAction | 29 | LexModelBuildingService GetSlotTypes action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetUtterancesViewAction | 30 | LexModelBuildingService GetUtterancesView action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutBotAction | 31 | LexModelBuildingService PutBot action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutBotAliasAction | 32 | LexModelBuildingService PutBotAlias action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutIntentAction | 33 | LexModelBuildingService PutIntent action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutSlotTypeAction | 34 | LexModelBuildingService PutSlotType action. |
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::StartImportAction | 35 | LexModelBuildingService StartImport action. |
The Actions type is a typedef for QFlags<Action>. It stores an OR combination of Action values.
Member Function Documentation
LexModelBuildingServiceRequest::LexModelBuildingServiceRequest(const Action action)
Constructs a LexModelBuildingServiceRequest object for LexModelBuildingService action.
LexModelBuildingServiceRequest::LexModelBuildingServiceRequest(const LexModelBuildingServiceRequest &other)
Constructs a copy of other.
[protected] LexModelBuildingServiceRequest::LexModelBuildingServiceRequest(LexModelBuildingServiceRequestPrivate * const d)
Constructs aa LexModelBuildingServiceRequest object with private implementation d.
This overload allows derived classes to provide their own private class implementation that inherits from LexModelBuildingServiceRequestPrivate.
Action LexModelBuildingServiceRequest::action() const
Returns the LexModelBuildingService action to be performed by this request.
See also setAction().
QString LexModelBuildingServiceRequest::actionString() const
Returns the name of the LexModelBuildingService action to be performed by this request.
QString LexModelBuildingServiceRequest::apiVersion() const
Returns the LexModelBuildingService API version implemented by this request.
See also setApiVersion().
[protected] int LexModelBuildingServiceRequest::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 LexModelBuildingServiceRequest::clearParameters()
Removes all parameters from the request.
[protected] QVariant LexModelBuildingServiceRequest::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 &LexModelBuildingServiceRequest::parameters() const
Returns the parameters included in this request.
See also setParameters().
void LexModelBuildingServiceRequest::setAction(const Action action)
Sets the LexModelBuildingService action to be performed by this request to action.
See also action().
void LexModelBuildingServiceRequest::setApiVersion(const QString &version)
Sets the LexModelBuildingService API version to include in this request to version.
See also apiVersion().
[protected] void LexModelBuildingServiceRequest::setParameter(const QString &name, const QVariant &value)
Sets the name parameter to value.
See also parameter().
[protected] void LexModelBuildingServiceRequest::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 LexModelBuildingServiceRequest::unsignedRequest(const QUrl &endpoint) const
Reimplemented from AwsAbstractRequest::unsignedRequest().
Returns a network request for the LexModelBuildingService request using the given endpoint.
This LexModelBuildingService 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.
LexModelBuildingServiceRequest &LexModelBuildingServiceRequest::operator=(const LexModelBuildingServiceRequest &other)
Sets the LexModelBuildingServiceRequest object to be equal to other.
[virtual] bool LexModelBuildingServiceRequest::operator==(const LexModelBuildingServiceRequest &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.