7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/LexRuntimeV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-runtime/model/SessionState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
45 inline void SetBotId(
const char* value) { m_botIdHasBeenSet =
true; m_botId.assign(value); }
59 inline void SetBotAliasId(
const char* value) { m_botAliasIdHasBeenSet =
true; m_botAliasId.assign(value); }
73 inline void SetLocaleId(
const char* value) { m_localeIdHasBeenSet =
true; m_localeId.assign(value); }
87 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
101 inline void SetText(
const char* value) { m_textHasBeenSet =
true; m_text.assign(value); }
143 bool m_botIdHasBeenSet =
false;
146 bool m_botAliasIdHasBeenSet =
false;
149 bool m_localeIdHasBeenSet =
false;
152 bool m_sessionIdHasBeenSet =
false;
155 bool m_textHasBeenSet =
false;
158 bool m_sessionStateHasBeenSet =
false;
161 bool m_requestAttributesHasBeenSet =
false;
void SetBotId(const char *value)
void SetSessionState(SessionState &&value)
RecognizeTextRequest & AddRequestAttributes(const Aws::String &key, Aws::String &&value)
void SetBotAliasId(Aws::String &&value)
AWS_LEXRUNTIMEV2_API RecognizeTextRequest()
const Aws::String & GetBotAliasId() const
bool RequestAttributesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetRequestAttributes() const
void SetSessionState(const SessionState &value)
const Aws::String & GetText() const
RecognizeTextRequest & AddRequestAttributes(const char *key, const char *value)
RecognizeTextRequest & WithLocaleId(const Aws::String &value)
const SessionState & GetSessionState() const
void SetSessionId(Aws::String &&value)
RecognizeTextRequest & AddRequestAttributes(Aws::String &&key, const char *value)
void SetLocaleId(const Aws::String &value)
AWS_LEXRUNTIMEV2_API Aws::String SerializePayload() const override
RecognizeTextRequest & WithLocaleId(const char *value)
void SetText(const char *value)
void SetBotId(Aws::String &&value)
RecognizeTextRequest & WithBotId(const char *value)
bool SessionStateHasBeenSet() const
RecognizeTextRequest & WithSessionState(const SessionState &value)
RecognizeTextRequest & WithText(Aws::String &&value)
RecognizeTextRequest & AddRequestAttributes(Aws::String &&key, const Aws::String &value)
bool TextHasBeenSet() const
void SetBotId(const Aws::String &value)
void SetBotAliasId(const char *value)
RecognizeTextRequest & WithRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetSessionId(const Aws::String &value)
void SetRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
RecognizeTextRequest & WithBotAliasId(Aws::String &&value)
RecognizeTextRequest & WithSessionId(const char *value)
bool LocaleIdHasBeenSet() const
RecognizeTextRequest & WithSessionId(Aws::String &&value)
void SetText(Aws::String &&value)
RecognizeTextRequest & WithBotId(const Aws::String &value)
void SetSessionId(const char *value)
bool BotAliasIdHasBeenSet() const
RecognizeTextRequest & WithText(const char *value)
void SetRequestAttributes(const Aws::Map< Aws::String, Aws::String > &value)
RecognizeTextRequest & WithBotAliasId(const Aws::String &value)
void SetLocaleId(const char *value)
const Aws::String & GetLocaleId() const
const Aws::String & GetBotId() const
void SetLocaleId(Aws::String &&value)
RecognizeTextRequest & WithText(const Aws::String &value)
bool BotIdHasBeenSet() const
RecognizeTextRequest & AddRequestAttributes(const Aws::String &key, const Aws::String &value)
RecognizeTextRequest & AddRequestAttributes(Aws::String &&key, Aws::String &&value)
void SetBotAliasId(const Aws::String &value)
RecognizeTextRequest & WithBotId(Aws::String &&value)
const Aws::String & GetSessionId() const
bool SessionIdHasBeenSet() const
RecognizeTextRequest & WithSessionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
RecognizeTextRequest & WithRequestAttributes(Aws::Map< Aws::String, Aws::String > &&value)
RecognizeTextRequest & WithSessionState(SessionState &&value)
void SetText(const Aws::String &value)
RecognizeTextRequest & WithBotAliasId(const char *value)
RecognizeTextRequest & AddRequestAttributes(const char *key, Aws::String &&value)
RecognizeTextRequest & WithLocaleId(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