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>
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline Intent&
AddSlots(
const char* key,
Slot&& value) { m_slotsHasBeenSet =
true; m_slots.emplace(key, std::move(value));
return *
this; }
75 inline Intent&
AddSlots(
const char* key,
const Slot& value) { m_slotsHasBeenSet =
true; m_slots.emplace(key, value);
return *
this; }
116 bool m_nameHasBeenSet =
false;
119 bool m_slotsHasBeenSet =
false;
122 bool m_stateHasBeenSet =
false;
125 bool m_confirmationStateHasBeenSet =
false;
bool NameHasBeenSet() const
Intent & WithName(const char *value)
void SetState(IntentState &&value)
const ConfirmationState & GetConfirmationState() const
Intent & WithName(const Aws::String &value)
Intent & AddSlots(const char *key, const Slot &value)
AWS_LEXRUNTIMEV2_API Intent(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API Intent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool StateHasBeenSet() const
void SetName(const char *value)
Intent & AddSlots(Aws::String &&key, Slot &&value)
void SetConfirmationState(const ConfirmationState &value)
Intent & WithSlots(const Aws::Map< Aws::String, Slot > &value)
void SetSlots(const Aws::Map< Aws::String, Slot > &value)
void SetSlots(Aws::Map< Aws::String, Slot > &&value)
Intent & AddSlots(const Aws::String &key, const Slot &value)
Intent & WithState(const IntentState &value)
bool ConfirmationStateHasBeenSet() const
bool SlotsHasBeenSet() const
const IntentState & GetState() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
Intent & WithConfirmationState(const ConfirmationState &value)
Intent & AddSlots(const Aws::String &key, Slot &&value)
Intent & WithName(Aws::String &&value)
Intent & AddSlots(const char *key, Slot &&value)
Intent & WithState(IntentState &&value)
void SetState(const IntentState &value)
Intent & WithSlots(Aws::Map< Aws::String, Slot > &&value)
void SetConfirmationState(ConfirmationState &&value)
AWS_LEXRUNTIMEV2_API Intent()
const Aws::Map< Aws::String, Slot > & GetSlots() const
Intent & AddSlots(Aws::String &&key, const Slot &value)
void SetName(const Aws::String &value)
Intent & WithConfirmationState(ConfirmationState &&value)
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