PostContentResponse Class
(QtAws::LexRuntimeService::PostContentResponse)The PostContentResponse class provides an interace for LexRuntimeService PostContent responses. More...
| Header: | #include <PostContentResponse> |
| Inherits: | QtAws::LexRuntimeService::LexRuntimeServiceResponse |
Public Functions
| PostContentResponse(const PostContentRequest &request, QNetworkReply * const reply, QObject * const parent = 0) |
Reimplemented Public Functions
| virtual const PostContentRequest * | request() const override |
- 7 public functions inherited from QtAws::Core::AwsAbstractResponse
Protected Slots
| virtual void | parseSuccess(QIODevice &response) override |
- 1 protected slot inherited from QtAws::LexRuntimeService::LexRuntimeServiceResponse
- 1 protected slot inherited from QtAws::Core::AwsAbstractResponse
Additional Inherited Members
- 1 signal inherited from QtAws::Core::AwsAbstractResponse
- 1 static public member inherited from QtAws::Core::AwsAbstractResponse
- 7 protected functions inherited from QtAws::Core::AwsAbstractResponse
Detailed Description
The PostContentResponse class provides an interace for LexRuntimeService PostContent responses.
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::postContent.
Member Function Documentation
PostContentResponse::PostContentResponse(const PostContentRequest &request, QNetworkReply * const reply, QObject * const parent = 0)
Constructs a PostContentResponse object for reply to request, with parent parent.
[override virtual protected slot] void PostContentResponse::parseSuccess(QIODevice &response)
Reimplemented from AwsAbstractResponse::parseSuccess().
Parses a successful LexRuntimeService PostContent response.
[override virtual] const PostContentRequest *PostContentResponse::request() const
Reimplemented from AwsAbstractResponse::request().
© 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.