7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/lex/LexRuntimeServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lex/model/ActiveContext.h>
17namespace LexRuntimeService
46 inline void SetBotName(
const char* value) { m_botNameHasBeenSet =
true; m_botName.assign(value); }
60 inline void SetBotAlias(
const char* value) { m_botAliasHasBeenSet =
true; m_botAlias.assign(value); }
89 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
149 inline void SetInputText(
const char* value) { m_inputTextHasBeenSet =
true; m_inputText.assign(value); }
175 bool m_botNameHasBeenSet =
false;
178 bool m_botAliasHasBeenSet =
false;
181 bool m_userIdHasBeenSet =
false;
184 bool m_sessionAttributesHasBeenSet =
false;
187 bool m_requestAttributesHasBeenSet =
false;
190 bool m_inputTextHasBeenSet =
false;
193 bool m_activeContextsHasBeenSet =
false;
AWS_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override
PostTextRequest & AddActiveContexts(ActiveContext &&value)
const Aws::String & GetBotName() const
PostTextRequest & WithBotName(const Aws::String &value)
bool BotAliasHasBeenSet() const
PostTextRequest & WithSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetUserId(Aws::String &&value)
const Aws::String & GetInputText() const
PostTextRequest & AddRequestAttributes(Aws::String &&key, const Aws::String &value)
PostTextRequest & AddRequestAttributes(Aws::String &&key, const char *value)
void SetSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetUserId(const Aws::String &value)
bool ActiveContextsHasBeenSet() const
PostTextRequest & WithBotAlias(const char *value)
bool InputTextHasBeenSet() const
void SetBotAlias(const char *value)
const Aws::Vector< ActiveContext > & GetActiveContexts() const
void SetActiveContexts(Aws::Vector< ActiveContext > &&value)
void SetUserId(const char *value)
void SetSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
PostTextRequest & AddSessionAttributes(const Aws::String &key, const Aws::String &value)
PostTextRequest & WithActiveContexts(const Aws::Vector< ActiveContext > &value)
void SetRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PostTextRequest & AddActiveContexts(const ActiveContext &value)
const Aws::String & GetUserId() const
PostTextRequest & WithBotAlias(const Aws::String &value)
PostTextRequest & WithActiveContexts(Aws::Vector< ActiveContext > &&value)
PostTextRequest & AddSessionAttributes(const Aws::String &key, Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API PostTextRequest()
PostTextRequest & AddRequestAttributes(const char *key, const char *value)
void SetRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PostTextRequest & WithBotName(Aws::String &&value)
PostTextRequest & WithRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PostTextRequest & AddRequestAttributes(const char *key, Aws::String &&value)
void SetBotAlias(const Aws::String &value)
PostTextRequest & WithUserId(Aws::String &&value)
PostTextRequest & WithInputText(Aws::String &&value)
void SetBotName(const char *value)
void SetInputText(Aws::String &&value)
PostTextRequest & WithUserId(const char *value)
bool BotNameHasBeenSet() const
PostTextRequest & WithRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PostTextRequest & AddSessionAttributes(const char *key, const char *value)
void SetBotName(Aws::String &&value)
PostTextRequest & WithBotName(const char *value)
void SetActiveContexts(const Aws::Vector< ActiveContext > &value)
PostTextRequest & WithInputText(const Aws::String &value)
PostTextRequest & WithSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PostTextRequest & AddSessionAttributes(Aws::String &&key, const char *value)
bool RequestAttributesHasBeenSet() const
PostTextRequest & AddSessionAttributes(const char *key, Aws::String &&value)
PostTextRequest & AddSessionAttributes(Aws::String &&key, const Aws::String &value)
PostTextRequest & WithInputText(const char *value)
PostTextRequest & AddRequestAttributes(Aws::String &&key, Aws::String &&value)
bool UserIdHasBeenSet() const
PostTextRequest & AddRequestAttributes(const Aws::String &key, Aws::String &&value)
const Aws::String & GetBotAlias() const
void SetInputText(const char *value)
PostTextRequest & WithUserId(const Aws::String &value)
void SetBotName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestAttributes() const
PostTextRequest & WithBotAlias(Aws::String &&value)
PostTextRequest & AddSessionAttributes(Aws::String &&key, Aws::String &&value)
void SetInputText(const Aws::String &value)
PostTextRequest & AddRequestAttributes(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool SessionAttributesHasBeenSet() const
void SetBotAlias(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector