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/lex/model/DialogAction.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lex/model/IntentSummary.h>
14#include <aws/lex/model/ActiveContext.h>
19namespace LexRuntimeService
50 inline void SetBotName(
const char* value) { m_botNameHasBeenSet =
true; m_botName.assign(value); }
64 inline void SetBotAlias(
const char* value) { m_botAliasHasBeenSet =
true; m_botAlias.assign(value); }
79 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
166 inline void SetAccept(
const char* value) { m_acceptHasBeenSet =
true; m_accept.assign(value); }
192 bool m_botNameHasBeenSet =
false;
195 bool m_botAliasHasBeenSet =
false;
198 bool m_userIdHasBeenSet =
false;
201 bool m_sessionAttributesHasBeenSet =
false;
204 bool m_dialogActionHasBeenSet =
false;
207 bool m_recentIntentSummaryViewHasBeenSet =
false;
210 bool m_acceptHasBeenSet =
false;
213 bool m_activeContextsHasBeenSet =
false;
void SetRecentIntentSummaryView(Aws::Vector< IntentSummary > &&value)
bool BotAliasHasBeenSet() const
PutSessionRequest & WithBotName(const char *value)
bool SessionAttributesHasBeenSet() const
PutSessionRequest & AddSessionAttributes(const char *key, const char *value)
PutSessionRequest & WithAccept(const char *value)
bool ActiveContextsHasBeenSet() const
void SetBotAlias(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDialogAction(DialogAction &&value)
bool BotNameHasBeenSet() const
void SetBotName(Aws::String &&value)
PutSessionRequest & WithSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PutSessionRequest & AddSessionAttributes(Aws::String &&key, Aws::String &&value)
void SetUserId(const Aws::String &value)
PutSessionRequest & AddSessionAttributes(Aws::String &&key, const Aws::String &value)
PutSessionRequest & AddSessionAttributes(const char *key, Aws::String &&value)
void SetAccept(const char *value)
PutSessionRequest & WithAccept(Aws::String &&value)
PutSessionRequest & WithSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PutSessionRequest & WithUserId(const char *value)
void SetDialogAction(const DialogAction &value)
PutSessionRequest & AddActiveContexts(const ActiveContext &value)
PutSessionRequest & WithDialogAction(DialogAction &&value)
PutSessionRequest & WithBotAlias(const Aws::String &value)
const Aws::Vector< ActiveContext > & GetActiveContexts() const
const Aws::String & GetUserId() const
PutSessionRequest & WithUserId(Aws::String &&value)
void SetBotAlias(Aws::String &&value)
PutSessionRequest & AddSessionAttributes(const Aws::String &key, const Aws::String &value)
void SetAccept(const Aws::String &value)
void SetBotAlias(const char *value)
PutSessionRequest & AddSessionAttributes(Aws::String &&key, const char *value)
AWS_LEXRUNTIMESERVICE_API PutSessionRequest()
bool UserIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
PutSessionRequest & AddRecentIntentSummaryView(IntentSummary &&value)
PutSessionRequest & WithUserId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutSessionRequest & AddRecentIntentSummaryView(const IntentSummary &value)
void SetSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetBotAlias() const
PutSessionRequest & AddSessionAttributes(const Aws::String &key, Aws::String &&value)
const Aws::String & GetBotName() const
PutSessionRequest & WithActiveContexts(Aws::Vector< ActiveContext > &&value)
void SetAccept(Aws::String &&value)
void SetUserId(const char *value)
PutSessionRequest & WithRecentIntentSummaryView(const Aws::Vector< IntentSummary > &value)
PutSessionRequest & WithBotAlias(Aws::String &&value)
void SetActiveContexts(Aws::Vector< ActiveContext > &&value)
PutSessionRequest & WithDialogAction(const DialogAction &value)
void SetActiveContexts(const Aws::Vector< ActiveContext > &value)
PutSessionRequest & WithAccept(const Aws::String &value)
bool RecentIntentSummaryViewHasBeenSet() const
PutSessionRequest & WithBotAlias(const char *value)
const Aws::Vector< IntentSummary > & GetRecentIntentSummaryView() const
bool AcceptHasBeenSet() const
void SetBotName(const char *value)
void SetUserId(Aws::String &&value)
PutSessionRequest & WithBotName(Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API Aws::String SerializePayload() const override
const DialogAction & GetDialogAction() const
PutSessionRequest & WithActiveContexts(const Aws::Vector< ActiveContext > &value)
PutSessionRequest & WithBotName(const Aws::String &value)
PutSessionRequest & AddActiveContexts(ActiveContext &&value)
const Aws::String & GetAccept() const
void SetSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetBotName(const Aws::String &value)
void SetRecentIntentSummaryView(const Aws::Vector< IntentSummary > &value)
bool DialogActionHasBeenSet() const
PutSessionRequest & WithRecentIntentSummaryView(Aws::Vector< IntentSummary > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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