7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
10#include <aws/lexv2-runtime/model/ConfirmationState.h>
11#include <aws/lexv2-runtime/model/IntentState.h>
12#include <aws/lexv2-runtime/model/Slot.h>
23namespace LexRuntimeV2 {
34 AWS_LEXRUNTIMEV2_API
Intent() =
default;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
64 template <
typename SlotsT = Aws::Map<Aws::String, Slot>>
66 m_slotsHasBeenSet =
true;
67 m_slots = std::forward<SlotsT>(value);
69 template <
typename SlotsT = Aws::Map<Aws::String, Slot>>
71 SetSlots(std::forward<SlotsT>(value));
74 template <
typename SlotsKeyT = Aws::String,
typename SlotsValueT = Slot>
76 m_slotsHasBeenSet =
true;
77 m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value));
99 m_stateHasBeenSet =
true;
117 m_confirmationStateHasBeenSet =
true;
118 m_confirmationState = value;
133 bool m_nameHasBeenSet =
false;
134 bool m_slotsHasBeenSet =
false;
135 bool m_stateHasBeenSet =
false;
136 bool m_confirmationStateHasBeenSet =
false;
void SetName(NameT &&value)
bool NameHasBeenSet() const
ConfirmationState GetConfirmationState() const
IntentState GetState() const
AWS_LEXRUNTIMEV2_API Intent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API Intent()=default
AWS_LEXRUNTIMEV2_API Intent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool StateHasBeenSet() const
void SetState(IntentState value)
Intent & WithName(NameT &&value)
Intent & WithConfirmationState(ConfirmationState value)
Intent & WithState(IntentState value)
void SetSlots(SlotsT &&value)
bool ConfirmationStateHasBeenSet() const
void SetConfirmationState(ConfirmationState value)
bool SlotsHasBeenSet() const
Intent & WithSlots(SlotsT &&value)
Intent & AddSlots(SlotsKeyT &&key, SlotsValueT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Slot > & GetSlots() const
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
Aws::Utils::Json::JsonValue JsonValue