7#include <aws/core/utils/memory/stl/AWSMap.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>
21namespace LexModelsV2 {
43 template <
typename ValueT = Aws::String>
45 m_valueHasBeenSet =
true;
46 m_value = std::forward<ValueT>(value);
48 template <
typename ValueT = Aws::String>
50 SetValue(std::forward<ValueT>(value));
61 template <
typename ValuesT = Aws::Vector<UserTurnSlotOutput>>
63 m_valuesHasBeenSet =
true;
64 m_values = std::forward<ValuesT>(value);
66 template <
typename ValuesT = Aws::Vector<UserTurnSlotOutput>>
71 template <
typename ValuesT = UserTurnSlotOutput>
73 m_valuesHasBeenSet =
true;
74 m_values.emplace_back(std::forward<ValuesT>(value));
86 template <
typename SubSlotsT = Aws::Map<Aws::String, UserTurnSlotOutput>>
88 m_subSlotsHasBeenSet =
true;
89 m_subSlots = std::forward<SubSlotsT>(value);
91 template <
typename SubSlotsT = Aws::Map<Aws::String, UserTurnSlotOutput>>
96 template <
typename SubSlotsKeyT = Aws::String,
typename SubSlotsValueT = UserTurnSlotOutput>
98 m_subSlotsHasBeenSet =
true;
99 m_subSlots.emplace(std::forward<SubSlotsKeyT>(key), std::forward<SubSlotsValueT>(value));
109 bool m_valueHasBeenSet =
false;
110 bool m_valuesHasBeenSet =
false;
111 bool m_subSlotsHasBeenSet =
false;
AWS_LEXMODELSV2_API UserTurnSlotOutput()=default
AWS_LEXMODELSV2_API UserTurnSlotOutput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
bool ValueHasBeenSet() const
UserTurnSlotOutput & AddSubSlots(SubSlotsKeyT &&key, SubSlotsValueT &&value)
AWS_LEXMODELSV2_API UserTurnSlotOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
UserTurnSlotOutput & WithValue(ValueT &&value)
void SetValues(ValuesT &&value)
const Aws::Map< Aws::String, UserTurnSlotOutput > & GetSubSlots() const
UserTurnSlotOutput & WithValues(ValuesT &&value)
bool SubSlotsHasBeenSet() const
UserTurnSlotOutput & WithSubSlots(SubSlotsT &&value)
UserTurnSlotOutput & AddValues(ValuesT &&value)
void SetValue(ValueT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuesHasBeenSet() const
const Aws::Vector< UserTurnSlotOutput > & GetValues() const
void SetSubSlots(SubSlotsT &&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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue