7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/SlotValueOverride.h>
21namespace LexModelsV2 {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
63 template <
typename SlotsT = Aws::Map<Aws::String, SlotValueOverr
ide>>
65 m_slotsHasBeenSet =
true;
66 m_slots = std::forward<SlotsT>(value);
68 template <
typename SlotsT = Aws::Map<Aws::String, SlotValueOverr
ide>>
70 SetSlots(std::forward<SlotsT>(value));
73 template <
typename SlotsKeyT = Aws::String,
typename SlotsValueT = SlotValueOverr
ide>
75 m_slotsHasBeenSet =
true;
76 m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value));
84 bool m_nameHasBeenSet =
false;
85 bool m_slotsHasBeenSet =
false;
void SetName(NameT &&value)
const Aws::Map< Aws::String, SlotValueOverride > & GetSlots() const
IntentOverride & WithSlots(SlotsT &&value)
IntentOverride & AddSlots(SlotsKeyT &&key, SlotsValueT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
IntentOverride & WithName(NameT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool SlotsHasBeenSet() const
AWS_LEXMODELSV2_API IntentOverride(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API IntentOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSlots(SlotsT &&value)
AWS_LEXMODELSV2_API IntentOverride()=default
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