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/IntentState.h>
13#include <aws/lexv2-models/model/UtteranceBotResponse.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>
100 template <
typename SessionIdT = Aws::String>
102 m_sessionIdHasBeenSet =
true;
103 m_sessionId = std::forward<SessionIdT>(value);
105 template <
typename SessionIdT = Aws::String>
119 template <
typename ChannelT = Aws::String>
121 m_channelHasBeenSet =
true;
122 m_channel = std::forward<ChannelT>(value);
124 template <
typename ChannelT = Aws::String>
144 m_modeHasBeenSet =
true;
161 template <
typename ConversationStartTimeT = Aws::Utils::DateTime>
163 m_conversationStartTimeHasBeenSet =
true;
164 m_conversationStartTime = std::forward<ConversationStartTimeT>(value);
166 template <
typename ConversationStartTimeT = Aws::Utils::DateTime>
181 template <
typename ConversationEndTimeT = Aws::Utils::DateTime>
183 m_conversationEndTimeHasBeenSet =
true;
184 m_conversationEndTime = std::forward<ConversationEndTimeT>(value);
186 template <
typename ConversationEndTimeT = Aws::Utils::DateTime>
199 template <
typename UtteranceT = Aws::String>
201 m_utteranceHasBeenSet =
true;
202 m_utterance = std::forward<UtteranceT>(value);
204 template <
typename UtteranceT = Aws::String>
217 template <
typename UtteranceTimestampT = Aws::Utils::DateTime>
219 m_utteranceTimestampHasBeenSet =
true;
220 m_utteranceTimestamp = std::forward<UtteranceTimestampT>(value);
222 template <
typename UtteranceTimestampT = Aws::Utils::DateTime>
236 m_audioVoiceDurationMillisHasBeenSet =
true;
237 m_audioVoiceDurationMillis = value;
252 m_utteranceUnderstoodHasBeenSet =
true;
253 m_utteranceUnderstood = value;
276 template <
typename InputTypeT = Aws::String>
278 m_inputTypeHasBeenSet =
true;
279 m_inputType = std::forward<InputTypeT>(value);
281 template <
typename InputTypeT = Aws::String>
298 template <
typename OutputTypeT = Aws::String>
300 m_outputTypeHasBeenSet =
true;
301 m_outputType = std::forward<OutputTypeT>(value);
303 template <
typename OutputTypeT = Aws::String>
316 template <
typename AssociatedIntentNameT = Aws::String>
318 m_associatedIntentNameHasBeenSet =
true;
319 m_associatedIntentName = std::forward<AssociatedIntentNameT>(value);
321 template <
typename AssociatedIntentNameT = Aws::String>
334 template <
typename AssociatedSlotNameT = Aws::String>
336 m_associatedSlotNameHasBeenSet =
true;
337 m_associatedSlotName = std::forward<AssociatedSlotNameT>(value);
339 template <
typename AssociatedSlotNameT = Aws::String>
353 m_intentStateHasBeenSet =
true;
354 m_intentState = value;
371 template <
typename DialogActionTypeT = Aws::String>
373 m_dialogActionTypeHasBeenSet =
true;
374 m_dialogActionType = std::forward<DialogActionTypeT>(value);
376 template <
typename DialogActionTypeT = Aws::String>
389 template <
typename BotResponseAudioVoiceIdT = Aws::String>
391 m_botResponseAudioVoiceIdHasBeenSet =
true;
392 m_botResponseAudioVoiceId = std::forward<BotResponseAudioVoiceIdT>(value);
394 template <
typename BotResponseAudioVoiceIdT = Aws::String>
408 template <
typename SlotsFilledInSessionT = Aws::String>
410 m_slotsFilledInSessionHasBeenSet =
true;
411 m_slotsFilledInSession = std::forward<SlotsFilledInSessionT>(value);
413 template <
typename SlotsFilledInSessionT = Aws::String>
426 template <
typename UtteranceRequestIdT = Aws::String>
428 m_utteranceRequestIdHasBeenSet =
true;
429 m_utteranceRequestId = std::forward<UtteranceRequestIdT>(value);
431 template <
typename UtteranceRequestIdT = Aws::String>
445 template <
typename BotResponsesT = Aws::Vector<UtteranceBotResponse>>
447 m_botResponsesHasBeenSet =
true;
448 m_botResponses = std::forward<BotResponsesT>(value);
450 template <
typename BotResponsesT = Aws::Vector<UtteranceBotResponse>>
455 template <
typename BotResponsesT = UtteranceBotResponse>
457 m_botResponsesHasBeenSet =
true;
458 m_botResponses.emplace_back(std::forward<BotResponsesT>(value));
483 long long m_audioVoiceDurationMillis{0};
485 bool m_utteranceUnderstood{
false};
506 bool m_botAliasIdHasBeenSet =
false;
507 bool m_botVersionHasBeenSet =
false;
508 bool m_localeIdHasBeenSet =
false;
509 bool m_sessionIdHasBeenSet =
false;
510 bool m_channelHasBeenSet =
false;
511 bool m_modeHasBeenSet =
false;
512 bool m_conversationStartTimeHasBeenSet =
false;
513 bool m_conversationEndTimeHasBeenSet =
false;
514 bool m_utteranceHasBeenSet =
false;
515 bool m_utteranceTimestampHasBeenSet =
false;
516 bool m_audioVoiceDurationMillisHasBeenSet =
false;
517 bool m_utteranceUnderstoodHasBeenSet =
false;
518 bool m_inputTypeHasBeenSet =
false;
519 bool m_outputTypeHasBeenSet =
false;
520 bool m_associatedIntentNameHasBeenSet =
false;
521 bool m_associatedSlotNameHasBeenSet =
false;
522 bool m_intentStateHasBeenSet =
false;
523 bool m_dialogActionTypeHasBeenSet =
false;
524 bool m_botResponseAudioVoiceIdHasBeenSet =
false;
525 bool m_slotsFilledInSessionHasBeenSet =
false;
526 bool m_utteranceRequestIdHasBeenSet =
false;
527 bool m_botResponsesHasBeenSet =
false;
void SetUtteranceTimestamp(UtteranceTimestampT &&value)
const Aws::String & GetDialogActionType() const
void SetBotResponses(BotResponsesT &&value)
bool ConversationEndTimeHasBeenSet() const
UtteranceSpecification & WithBotAliasId(BotAliasIdT &&value)
void SetAssociatedIntentName(AssociatedIntentNameT &&value)
void SetDialogActionType(DialogActionTypeT &&value)
bool BotAliasIdHasBeenSet() const
void SetUtteranceUnderstood(bool value)
UtteranceSpecification & WithIntentState(IntentState value)
const Aws::Vector< UtteranceBotResponse > & GetBotResponses() const
const Aws::String & GetLocaleId() const
const Aws::String & GetChannel() const
AnalyticsModality GetMode() const
const Aws::Utils::DateTime & GetConversationStartTime() const
UtteranceSpecification & WithUtteranceTimestamp(UtteranceTimestampT &&value)
void SetConversationEndTime(ConversationEndTimeT &&value)
void SetBotAliasId(BotAliasIdT &&value)
bool UtteranceRequestIdHasBeenSet() const
void SetLocaleId(LocaleIdT &&value)
UtteranceSpecification & WithOutputType(OutputTypeT &&value)
UtteranceSpecification & WithConversationStartTime(ConversationStartTimeT &&value)
void SetAssociatedSlotName(AssociatedSlotNameT &&value)
UtteranceSpecification & WithUtteranceRequestId(UtteranceRequestIdT &&value)
bool BotVersionHasBeenSet() const
UtteranceSpecification & WithLocaleId(LocaleIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool SessionIdHasBeenSet() const
UtteranceSpecification & WithConversationEndTime(ConversationEndTimeT &&value)
const Aws::String & GetBotAliasId() const
UtteranceSpecification & WithUtterance(UtteranceT &&value)
void SetInputType(InputTypeT &&value)
bool UtteranceUnderstoodHasBeenSet() const
bool BotResponseAudioVoiceIdHasBeenSet() const
UtteranceSpecification & WithBotResponses(BotResponsesT &&value)
bool InputTypeHasBeenSet() const
const Aws::Utils::DateTime & GetConversationEndTime() const
UtteranceSpecification & WithAudioVoiceDurationMillis(long long value)
bool SlotsFilledInSessionHasBeenSet() const
bool AudioVoiceDurationMillisHasBeenSet() const
bool LocaleIdHasBeenSet() const
UtteranceSpecification & WithBotVersion(BotVersionT &&value)
UtteranceSpecification & WithUtteranceUnderstood(bool value)
bool AssociatedIntentNameHasBeenSet() const
const Aws::String & GetBotResponseAudioVoiceId() const
void SetSlotsFilledInSession(SlotsFilledInSessionT &&value)
bool UtteranceTimestampHasBeenSet() const
UtteranceSpecification & WithBotResponseAudioVoiceId(BotResponseAudioVoiceIdT &&value)
void SetBotVersion(BotVersionT &&value)
UtteranceSpecification & WithSlotsFilledInSession(SlotsFilledInSessionT &&value)
void SetIntentState(IntentState value)
const Aws::String & GetSessionId() const
bool ChannelHasBeenSet() const
UtteranceSpecification & AddBotResponses(BotResponsesT &&value)
bool ModeHasBeenSet() const
void SetAudioVoiceDurationMillis(long long value)
void SetSessionId(SessionIdT &&value)
bool OutputTypeHasBeenSet() const
void SetUtteranceRequestId(UtteranceRequestIdT &&value)
UtteranceSpecification & WithDialogActionType(DialogActionTypeT &&value)
void SetConversationStartTime(ConversationStartTimeT &&value)
IntentState GetIntentState() const
const Aws::String & GetOutputType() const
void SetOutputType(OutputTypeT &&value)
AWS_LEXMODELSV2_API UtteranceSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBotResponseAudioVoiceId(BotResponseAudioVoiceIdT &&value)
const Aws::String & GetAssociatedIntentName() const
const Aws::String & GetUtteranceRequestId() const
bool ConversationStartTimeHasBeenSet() const
const Aws::String & GetUtterance() const
AWS_LEXMODELSV2_API UtteranceSpecification()=default
UtteranceSpecification & WithAssociatedSlotName(AssociatedSlotNameT &&value)
long long GetAudioVoiceDurationMillis() const
const Aws::Utils::DateTime & GetUtteranceTimestamp() const
bool BotResponsesHasBeenSet() const
bool AssociatedSlotNameHasBeenSet() const
void SetChannel(ChannelT &&value)
UtteranceSpecification & WithSessionId(SessionIdT &&value)
void SetUtterance(UtteranceT &&value)
bool IntentStateHasBeenSet() const
bool GetUtteranceUnderstood() const
UtteranceSpecification & WithInputType(InputTypeT &&value)
const Aws::String & GetAssociatedSlotName() const
const Aws::String & GetInputType() const
const Aws::String & GetBotVersion() const
bool UtteranceHasBeenSet() const
UtteranceSpecification & WithMode(AnalyticsModality value)
UtteranceSpecification & WithChannel(ChannelT &&value)
UtteranceSpecification & WithAssociatedIntentName(AssociatedIntentNameT &&value)
AWS_LEXMODELSV2_API UtteranceSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetMode(AnalyticsModality value)
const Aws::String & GetSlotsFilledInSession() const
bool DialogActionTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue