7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/AnalyticsModality.h>
12#include <aws/lexv2-models/model/ConversationEndState.h>
13#include <aws/lexv2-models/model/InvokedIntentSample.h>
24namespace LexModelsV2 {
46 template <
typename BotAliasIdT = Aws::String>
48 m_botAliasIdHasBeenSet =
true;
49 m_botAliasId = std::forward<BotAliasIdT>(value);
51 template <
typename BotAliasIdT = Aws::String>
64 template <
typename BotVersionT = Aws::String>
66 m_botVersionHasBeenSet =
true;
67 m_botVersion = std::forward<BotVersionT>(value);
69 template <
typename BotVersionT = Aws::String>
82 template <
typename LocaleIdT = Aws::String>
84 m_localeIdHasBeenSet =
true;
85 m_localeId = std::forward<LocaleIdT>(value);
87 template <
typename LocaleIdT = Aws::String>
101 template <
typename ChannelT = Aws::String>
103 m_channelHasBeenSet =
true;
104 m_channel = std::forward<ChannelT>(value);
106 template <
typename ChannelT = Aws::String>
119 template <
typename SessionIdT = Aws::String>
121 m_sessionIdHasBeenSet =
true;
122 m_sessionId = std::forward<SessionIdT>(value);
124 template <
typename SessionIdT = Aws::String>
139 template <
typename ConversationStartTimeT = Aws::Utils::DateTime>
141 m_conversationStartTimeHasBeenSet =
true;
142 m_conversationStartTime = std::forward<ConversationStartTimeT>(value);
144 template <
typename ConversationStartTimeT = Aws::Utils::DateTime>
159 template <
typename ConversationEndTimeT = Aws::Utils::DateTime>
161 m_conversationEndTimeHasBeenSet =
true;
162 m_conversationEndTime = std::forward<ConversationEndTimeT>(value);
164 template <
typename ConversationEndTimeT = Aws::Utils::DateTime>
180 m_conversationDurationSecondsHasBeenSet =
true;
181 m_conversationDurationSeconds = value;
198 m_conversationEndStateHasBeenSet =
true;
199 m_conversationEndState = value;
219 m_modeHasBeenSet =
true;
235 m_numberOfTurnsHasBeenSet =
true;
236 m_numberOfTurns = value;
250 template <
typename InvokedIntentSamplesT = Aws::Vector<InvokedIntentSample>>
252 m_invokedIntentSamplesHasBeenSet =
true;
253 m_invokedIntentSamples = std::forward<InvokedIntentSamplesT>(value);
255 template <
typename InvokedIntentSamplesT = Aws::Vector<InvokedIntentSample>>
260 template <
typename InvokedIntentSamplesT = InvokedIntentSample>
262 m_invokedIntentSamplesHasBeenSet =
true;
263 m_invokedIntentSamples.emplace_back(std::forward<InvokedIntentSamplesT>(value));
274 template <
typename OriginatingRequestIdT = Aws::String>
276 m_originatingRequestIdHasBeenSet =
true;
277 m_originatingRequestId = std::forward<OriginatingRequestIdT>(value);
279 template <
typename OriginatingRequestIdT = Aws::String>
300 long long m_conversationDurationSeconds{0};
306 long long m_numberOfTurns{0};
311 bool m_botAliasIdHasBeenSet =
false;
312 bool m_botVersionHasBeenSet =
false;
313 bool m_localeIdHasBeenSet =
false;
314 bool m_channelHasBeenSet =
false;
315 bool m_sessionIdHasBeenSet =
false;
316 bool m_conversationStartTimeHasBeenSet =
false;
317 bool m_conversationEndTimeHasBeenSet =
false;
318 bool m_conversationDurationSecondsHasBeenSet =
false;
319 bool m_conversationEndStateHasBeenSet =
false;
320 bool m_modeHasBeenSet =
false;
321 bool m_numberOfTurnsHasBeenSet =
false;
322 bool m_invokedIntentSamplesHasBeenSet =
false;
323 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