PostTextRequest Class
(QtAws::LexRuntimeService::PostTextRequest)The PostTextRequest class provides an interface for LexRuntimeService PostText requests. More...
| Header: | #include <PostTextRequest> |
| Inherits: | QtAws::LexRuntimeService::LexRuntimeServiceRequest |
Public Functions
| PostTextRequest(const PostTextRequest &other) | |
| PostTextRequest() |
Reimplemented Public Functions
| virtual bool | isValid() const override |
- 7 public functions inherited from QtAws::LexRuntimeService::LexRuntimeServiceRequest
- 7 public functions inherited from QtAws::Core::AwsAbstractRequest
Reimplemented Protected Functions
| virtual QtAws::Core::AwsAbstractResponse * | response(QNetworkReply * const reply) const override |
- 7 protected functions inherited from QtAws::LexRuntimeService::LexRuntimeServiceRequest
- 4 protected functions inherited from QtAws::Core::AwsAbstractRequest
Detailed Description
The PostTextRequest class provides an interface for LexRuntimeService PostText requests.
Amazon Lex provides both build and runtime endpoints. Each endpoint provides a set of operations (API). Your conversational bot uses the runtime API to understand user utterances (user input text or voice). For example, suppose a user says "I want pizza", your bot sends this input to Amazon Lex using the runtime API. Amazon Lex recognizes that the user request is for the OrderPizza intent (one of the intents defined in the bot). Then Amazon Lex engages in user conversation on behalf of the bot to elicit required information (slot values, such as pizza size and crust type), and then performs fulfillment activity (that you configured when you created the bot). You use the build-time API to create and manage your Amazon Lex bot. For a list of build-time operations, see the build-time API, .
See also LexRuntimeServiceClient::postText.
Member Function Documentation
PostTextRequest::PostTextRequest(const PostTextRequest &other)
Constructs a copy of other.
PostTextRequest::PostTextRequest()
Constructs a PostTextRequest object.
[override virtual] bool PostTextRequest::isValid() const
Reimplemented from AwsAbstractRequest::isValid().
[override virtual protected] QtAws::Core::AwsAbstractResponse *PostTextRequest::response(QNetworkReply * const reply) const
Reimplemented from AwsAbstractRequest::response().
Returns a PostTextResponse object to process reply.
See also QtAws::Core::AwsAbstractClient::send.
© 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.