7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/LexRuntimeV2Request.h>
9#include <aws/lexv2-runtime/model/StartConversationHandler.h>
10#include <aws/core/utils/event/EventStreamDecoder.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/lexv2-runtime/model/ConversationMode.h>
14#include <aws/lexv2-runtime/model/StartConversationRequestEventStream.h>
41 AWS_LEXRUNTIMEV2_API std::shared_ptr<Aws::IOStream>
GetBody()
const override;
73 inline void SetBotId(
const char* value) { m_botIdHasBeenSet =
true; m_botId.assign(value); }
87 inline void SetBotAliasId(
const char* value) { m_botAliasIdHasBeenSet =
true; m_botAliasId.assign(value); }
101 inline void SetLocaleId(
const char* value) { m_localeIdHasBeenSet =
true; m_localeId.assign(value); }
115 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
140 AWS_LEXRUNTIMEV2_API std::shared_ptr<StartConversationRequestEventStream>
GetRequestEventStream()
const {
return m_requestEventStream; }
141 AWS_LEXRUNTIMEV2_API
void SetRequestEventStream(
const std::shared_ptr<StartConversationRequestEventStream>& value) { m_requestEventStream = value; }
148 bool m_botIdHasBeenSet =
false;
151 bool m_botAliasIdHasBeenSet =
false;
154 bool m_localeIdHasBeenSet =
false;
157 bool m_sessionIdHasBeenSet =
false;
160 bool m_conversationModeHasBeenSet =
false;
162 std::shared_ptr<StartConversationRequestEventStream> m_requestEventStream;
AWS_LEXRUNTIMEV2_API void SetRequestEventStream(const std::shared_ptr< StartConversationRequestEventStream > &value)
StartConversationRequest & WithBotId(const Aws::String &value)
StartConversationRequest & WithSessionId(const Aws::String &value)
StartConversationRequest & WithLocaleId(Aws::String &&value)
AWS_LEXRUNTIMEV2_API std::shared_ptr< Aws::IOStream > GetBody() const override
StartConversationRequest & WithBotAliasId(const Aws::String &value)
bool LocaleIdHasBeenSet() const
StartConversationRequest & WithEventStreamHandler(const StartConversationHandler &value)
void SetConversationMode(const ConversationMode &value)
AWS_LEXRUNTIMEV2_API std::shared_ptr< StartConversationRequestEventStream > GetRequestEventStream() const
void SetLocaleId(const char *value)
const Aws::String & GetLocaleId() const
const Aws::String & GetBotId() const
void SetBotId(Aws::String &&value)
virtual bool IsEventStreamRequest() const override
StartConversationRequest & WithBotId(Aws::String &&value)
AWS_LEXRUNTIMEV2_API StartConversationRequest & WithRequestEventStream(const std::shared_ptr< StartConversationRequestEventStream > &value)
void SetLocaleId(const Aws::String &value)
StartConversationRequest & WithBotId(const char *value)
StartConversationRequest & WithLocaleId(const char *value)
void SetBotAliasId(const char *value)
virtual const char * GetServiceRequestName() const override
StartConversationRequest & WithBotAliasId(Aws::String &&value)
void SetConversationMode(ConversationMode &&value)
void SetBotId(const char *value)
void SetSessionId(const Aws::String &value)
void SetSessionId(Aws::String &&value)
StartConversationRequest & WithSessionId(Aws::String &&value)
bool SessionIdHasBeenSet() const
void SetBotAliasId(Aws::String &&value)
const ConversationMode & GetConversationMode() const
bool BotIdHasBeenSet() const
StartConversationRequest & WithSessionId(const char *value)
AWS_LEXRUNTIMEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSessionId(const char *value)
void SetLocaleId(Aws::String &&value)
StartConversationRequest & WithLocaleId(const Aws::String &value)
void SetEventStreamHandler(const StartConversationHandler &value)
StartConversationRequest & WithBotAliasId(const char *value)
void SetBotAliasId(const Aws::String &value)
void SetBotId(const Aws::String &value)
AWS_LEXRUNTIMEV2_API Aws::String SerializePayload() const override
const StartConversationHandler & GetEventStreamHandler() const
const Aws::String & GetSessionId() const
Aws::Utils::Event::EventStreamDecoder & GetEventStreamDecoder()
const Aws::String & GetBotAliasId() const
StartConversationRequest & WithConversationMode(const ConversationMode &value)
bool ConversationModeHasBeenSet() const
bool BotAliasIdHasBeenSet() const
AWS_LEXRUNTIMEV2_API StartConversationRequest()
StartConversationRequest & WithConversationMode(ConversationMode &&value)
void ResetEventStreamHandler(EventStreamHandler *handler)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String