LexModelBuildingServiceRequest Class

(QtAws::LexModelBuildingService::LexModelBuildingServiceRequest)

The LexModelBuildingServiceRequest class provides an interface for LexModelBuildingService requests. More...

Header: #include <LexModelBuildingServiceRequest>
Inherits: QtAws::Core::AwsAbstractRequest
Inherited By:

QtAws::LexModelBuildingService::CreateBotVersionRequest, QtAws::LexModelBuildingService::CreateIntentVersionRequest, QtAws::LexModelBuildingService::CreateSlotTypeVersionRequest, QtAws::LexModelBuildingService::DeleteBotAliasRequest, QtAws::LexModelBuildingService::DeleteBotChannelAssociationRequest, QtAws::LexModelBuildingService::DeleteBotRequest, QtAws::LexModelBuildingService::DeleteBotVersionRequest, QtAws::LexModelBuildingService::DeleteIntentRequest, QtAws::LexModelBuildingService::DeleteIntentVersionRequest, QtAws::LexModelBuildingService::DeleteSlotTypeRequest, QtAws::LexModelBuildingService::DeleteSlotTypeVersionRequest, QtAws::LexModelBuildingService::DeleteUtterancesRequest, QtAws::LexModelBuildingService::GetBotAliasesRequest, QtAws::LexModelBuildingService::GetBotAliasRequest, QtAws::LexModelBuildingService::GetBotChannelAssociationRequest, QtAws::LexModelBuildingService::GetBotChannelAssociationsRequest, QtAws::LexModelBuildingService::GetBotRequest, QtAws::LexModelBuildingService::GetBotsRequest, QtAws::LexModelBuildingService::GetBotVersionsRequest, QtAws::LexModelBuildingService::GetBuiltinIntentRequest, QtAws::LexModelBuildingService::GetBuiltinIntentsRequest, QtAws::LexModelBuildingService::GetBuiltinSlotTypesRequest, QtAws::LexModelBuildingService::GetExportRequest, QtAws::LexModelBuildingService::GetImportRequest, QtAws::LexModelBuildingService::GetIntentRequest, QtAws::LexModelBuildingService::GetIntentsRequest, QtAws::LexModelBuildingService::GetIntentVersionsRequest, QtAws::LexModelBuildingService::GetSlotTypeRequest, QtAws::LexModelBuildingService::GetSlotTypesRequest, QtAws::LexModelBuildingService::GetSlotTypeVersionsRequest, QtAws::LexModelBuildingService::GetUtterancesViewRequest, QtAws::LexModelBuildingService::PutBotAliasRequest, QtAws::LexModelBuildingService::PutBotRequest, QtAws::LexModelBuildingService::PutIntentRequest, QtAws::LexModelBuildingService::PutSlotTypeRequest, and QtAws::LexModelBuildingService::StartImportRequest

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

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 &parameters)

Reimplemented Protected Functions

virtual QNetworkRequest unsignedRequest(const QUrl &endpoint) const override

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.

ConstantValueDescription
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::CreateBotVersionAction0LexModelBuildingService CreateBotVersion action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::CreateIntentVersionAction1LexModelBuildingService CreateIntentVersion action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::CreateSlotTypeVersionAction2LexModelBuildingService CreateSlotTypeVersion action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotAction3LexModelBuildingService DeleteBot action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotAliasAction4LexModelBuildingService DeleteBotAlias action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotChannelAssociationAction5LexModelBuildingService DeleteBotChannelAssociation action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteBotVersionAction6LexModelBuildingService DeleteBotVersion action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteIntentAction7LexModelBuildingService DeleteIntent action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteIntentVersionAction8LexModelBuildingService DeleteIntentVersion action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteSlotTypeAction9LexModelBuildingService DeleteSlotType action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteSlotTypeVersionAction10LexModelBuildingService DeleteSlotTypeVersion action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::DeleteUtterancesAction11LexModelBuildingService DeleteUtterances action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotAction12LexModelBuildingService GetBot action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotAliasAction13LexModelBuildingService GetBotAlias action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotAliasesAction14LexModelBuildingService GetBotAliases action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotChannelAssociationAction15LexModelBuildingService GetBotChannelAssociation action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotChannelAssociationsAction16LexModelBuildingService GetBotChannelAssociations action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotVersionsAction17LexModelBuildingService GetBotVersions action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBotsAction18LexModelBuildingService GetBots action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBuiltinIntentAction19LexModelBuildingService GetBuiltinIntent action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBuiltinIntentsAction20LexModelBuildingService GetBuiltinIntents action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetBuiltinSlotTypesAction21LexModelBuildingService GetBuiltinSlotTypes action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetExportAction22LexModelBuildingService GetExport action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetImportAction23LexModelBuildingService GetImport action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetIntentAction24LexModelBuildingService GetIntent action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetIntentVersionsAction25LexModelBuildingService GetIntentVersions action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetIntentsAction26LexModelBuildingService GetIntents action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetSlotTypeAction27LexModelBuildingService GetSlotType action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetSlotTypeVersionsAction28LexModelBuildingService GetSlotTypeVersions action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetSlotTypesAction29LexModelBuildingService GetSlotTypes action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::GetUtterancesViewAction30LexModelBuildingService GetUtterancesView action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutBotAction31LexModelBuildingService PutBot action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutBotAliasAction32LexModelBuildingService PutBotAlias action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutIntentAction33LexModelBuildingService PutIntent action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::PutSlotTypeAction34LexModelBuildingService PutSlotType action.
QtAws::LexModelBuildingService::LexModelBuildingServiceRequest::StartImportAction35LexModelBuildingService 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 &parameters)

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.