7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename ValueT = Aws::String>
50 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
51 template<
typename ValueT = Aws::String>
61 template<
typename ValuesT = Aws::Vector<UserTurnSlotOutput>>
62 void SetValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values = std::forward<ValuesT>(value); }
63 template<
typename ValuesT = Aws::Vector<UserTurnSlotOutput>>
65 template<
typename ValuesT = UserTurnSlotOutput>
66 UserTurnSlotOutput&
AddValues(ValuesT&& value) { m_valuesHasBeenSet =
true; m_values.emplace_back(std::forward<ValuesT>(value));
return *
this; }
76 template<
typename SubSlotsT = Aws::Map<Aws::String, UserTurnSlotOutput>>
77 void SetSubSlots(SubSlotsT&& value) { m_subSlotsHasBeenSet =
true; m_subSlots = std::forward<SubSlotsT>(value); }
78 template<
typename SubSlotsT = Aws::Map<Aws::String, UserTurnSlotOutput>>
80 template<
typename SubSlotsKeyT = Aws::String,
typename SubSlotsValueT = UserTurnSlotOutput>
82 m_subSlotsHasBeenSet =
true; m_subSlots.emplace(std::forward<SubSlotsKeyT>(key), std::forward<SubSlotsValueT>(value));
return *
this;
88 bool m_valueHasBeenSet =
false;
91 bool m_valuesHasBeenSet =
false;
94 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