7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-runtime/model/IntentState.h>
11#include <aws/lexv2-runtime/model/ConfirmationState.h>
12#include <aws/lexv2-runtime/model/Slot.h>
39 AWS_LEXRUNTIMEV2_API
Intent() =
default;
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
64 template<
typename SlotsT = Aws::Map<Aws::String, Slot>>
65 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
66 template<
typename SlotsT = Aws::Map<Aws::String, Slot>>
68 template<
typename SlotsKeyT = Aws::String,
typename SlotsValueT = Slot>
70 m_slotsHasBeenSet =
true; m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value));
return *
this;
108 bool m_nameHasBeenSet =
false;
111 bool m_slotsHasBeenSet =
false;
114 bool m_stateHasBeenSet =
false;
117 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