7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lexv2-models/model/ConversationEndState.h>
11#include <aws/lexv2-models/model/AnalyticsModality.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/lexv2-models/model/InvokedIntentSample.h>
52 template<
typename BotAliasIdT = Aws::String>
53 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet =
true; m_botAliasId = std::forward<BotAliasIdT>(value); }
54 template<
typename BotAliasIdT = Aws::String>
64 template<
typename BotVersionT = Aws::String>
65 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet =
true; m_botVersion = std::forward<BotVersionT>(value); }
66 template<
typename BotVersionT = Aws::String>
76 template<
typename LocaleIdT = Aws::String>
77 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet =
true; m_localeId = std::forward<LocaleIdT>(value); }
78 template<
typename LocaleIdT = Aws::String>
89 template<
typename ChannelT = Aws::String>
90 void SetChannel(ChannelT&& value) { m_channelHasBeenSet =
true; m_channel = std::forward<ChannelT>(value); }
91 template<
typename ChannelT = Aws::String>
101 template<
typename SessionIdT = Aws::String>
102 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
103 template<
typename SessionIdT = Aws::String>
115 template<
typename ConversationStartTimeT = Aws::Utils::DateTime>
116 void SetConversationStartTime(ConversationStartTimeT&& value) { m_conversationStartTimeHasBeenSet =
true; m_conversationStartTime = std::forward<ConversationStartTimeT>(value); }
117 template<
typename ConversationStartTimeT = Aws::Utils::DateTime>
129 template<
typename ConversationEndTimeT = Aws::Utils::DateTime>
130 void SetConversationEndTime(ConversationEndTimeT&& value) { m_conversationEndTimeHasBeenSet =
true; m_conversationEndTime = std::forward<ConversationEndTimeT>(value); }
131 template<
typename ConversationEndTimeT = Aws::Utils::DateTime>
180 inline void SetNumberOfTurns(
long long value) { m_numberOfTurnsHasBeenSet =
true; m_numberOfTurns = value; }
190 template<
typename InvokedIntentSamplesT = Aws::Vector<InvokedIntentSample>>
191 void SetInvokedIntentSamples(InvokedIntentSamplesT&& value) { m_invokedIntentSamplesHasBeenSet =
true; m_invokedIntentSamples = std::forward<InvokedIntentSamplesT>(value); }
192 template<
typename InvokedIntentSamplesT = Aws::Vector<InvokedIntentSample>>
194 template<
typename InvokedIntentSamplesT = InvokedIntentSample>
204 template<
typename OriginatingRequestIdT = Aws::String>
205 void SetOriginatingRequestId(OriginatingRequestIdT&& value) { m_originatingRequestIdHasBeenSet =
true; m_originatingRequestId = std::forward<OriginatingRequestIdT>(value); }
206 template<
typename OriginatingRequestIdT = Aws::String>
212 bool m_botAliasIdHasBeenSet =
false;
215 bool m_botVersionHasBeenSet =
false;
218 bool m_localeIdHasBeenSet =
false;
221 bool m_channelHasBeenSet =
false;
224 bool m_sessionIdHasBeenSet =
false;
227 bool m_conversationStartTimeHasBeenSet =
false;
230 bool m_conversationEndTimeHasBeenSet =
false;
232 long long m_conversationDurationSeconds{0};
233 bool m_conversationDurationSecondsHasBeenSet =
false;
236 bool m_conversationEndStateHasBeenSet =
false;
239 bool m_modeHasBeenSet =
false;
241 long long m_numberOfTurns{0};
242 bool m_numberOfTurnsHasBeenSet =
false;
245 bool m_invokedIntentSamplesHasBeenSet =
false;
248 bool m_originatingRequestIdHasBeenSet =
false;
AWS_LEXMODELSV2_API SessionSpecification(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetChannel() const
const Aws::String & GetSessionId() const
const Aws::Utils::DateTime & GetConversationEndTime() const
SessionSpecification & WithBotAliasId(BotAliasIdT &&value)
SessionSpecification & WithInvokedIntentSamples(InvokedIntentSamplesT &&value)
AWS_LEXMODELSV2_API SessionSpecification()=default
long long GetNumberOfTurns() const
bool ChannelHasBeenSet() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ConversationEndStateHasBeenSet() const
bool ConversationDurationSecondsHasBeenSet() const
SessionSpecification & WithMode(AnalyticsModality value)
void SetConversationStartTime(ConversationStartTimeT &&value)
void SetMode(AnalyticsModality value)
void SetNumberOfTurns(long long value)
void SetConversationDurationSeconds(long long value)
bool BotAliasIdHasBeenSet() const
void SetConversationEndState(ConversationEndState value)
void SetChannel(ChannelT &&value)
SessionSpecification & WithConversationStartTime(ConversationStartTimeT &&value)
SessionSpecification & WithOriginatingRequestId(OriginatingRequestIdT &&value)
bool ConversationEndTimeHasBeenSet() const
bool NumberOfTurnsHasBeenSet() const
void SetBotAliasId(BotAliasIdT &&value)
SessionSpecification & WithLocaleId(LocaleIdT &&value)
void SetInvokedIntentSamples(InvokedIntentSamplesT &&value)
void SetOriginatingRequestId(OriginatingRequestIdT &&value)
bool BotVersionHasBeenSet() const
void SetBotVersion(BotVersionT &&value)
SessionSpecification & WithChannel(ChannelT &&value)
const Aws::String & GetOriginatingRequestId() const
bool ConversationStartTimeHasBeenSet() const
const Aws::Utils::DateTime & GetConversationStartTime() const
const Aws::String & GetBotVersion() const
void SetLocaleId(LocaleIdT &&value)
bool SessionIdHasBeenSet() const
SessionSpecification & WithConversationEndState(ConversationEndState value)
bool OriginatingRequestIdHasBeenSet() const
AWS_LEXMODELSV2_API SessionSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionSpecification & WithConversationEndTime(ConversationEndTimeT &&value)
const Aws::String & GetBotAliasId() const
bool ModeHasBeenSet() const
void SetConversationEndTime(ConversationEndTimeT &&value)
SessionSpecification & WithBotVersion(BotVersionT &&value)
SessionSpecification & WithConversationDurationSeconds(long long value)
const Aws::String & GetLocaleId() const
AnalyticsModality GetMode() const
SessionSpecification & WithNumberOfTurns(long long value)
SessionSpecification & AddInvokedIntentSamples(InvokedIntentSamplesT &&value)
void SetSessionId(SessionIdT &&value)
const Aws::Vector< InvokedIntentSample > & GetInvokedIntentSamples() const
ConversationEndState GetConversationEndState() const
bool LocaleIdHasBeenSet() const
long long GetConversationDurationSeconds() const
bool InvokedIntentSamplesHasBeenSet() const
SessionSpecification & WithSessionId(SessionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue