7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/Value.h>
9#include <aws/lexv2-runtime/model/Shape.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
39 AWS_LEXRUNTIMEV2_API
Slot();
51 inline void SetValue(
const Value& value) { m_valueHasBeenSet =
true; m_value = value; }
52 inline void SetValue(
Value&& value) { m_valueHasBeenSet =
true; m_value = std::move(value); }
66 inline void SetShape(
const Shape& value) { m_shapeHasBeenSet =
true; m_shape = value; }
67 inline void SetShape(
Shape&& value) { m_shapeHasBeenSet =
true; m_shape = std::move(value); }
84 inline Slot&
AddValues(
const Slot& value) { m_valuesHasBeenSet =
true; m_values.push_back(value);
return *
this; }
85 inline Slot&
AddValues(
Slot&& value) { m_valuesHasBeenSet =
true; m_values.push_back(std::move(value));
return *
this; }
102 inline Slot&
AddSubSlots(
const char* key,
Slot&& value) { m_subSlotsHasBeenSet =
true; m_subSlots.emplace(key, std::move(value));
return *
this; }
103 inline Slot&
AddSubSlots(
const char* key,
const Slot& value) { m_subSlotsHasBeenSet =
true; m_subSlots.emplace(key, value);
return *
this; }
108 bool m_valueHasBeenSet =
false;
111 bool m_shapeHasBeenSet =
false;
114 bool m_valuesHasBeenSet =
false;
117 bool m_subSlotsHasBeenSet =
false;
Slot & WithShape(Shape &&value)
void SetShape(Shape &&value)
bool SubSlotsHasBeenSet() const
const Shape & GetShape() const
Slot & AddValues(Slot &&value)
const Value & GetValue() const
AWS_LEXRUNTIMEV2_API Slot & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Value &value)
Slot & WithValue(const Value &value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ShapeHasBeenSet() const
Slot & WithValue(Value &&value)
Slot & WithValues(const Aws::Vector< Slot > &value)
Slot & AddSubSlots(const char *key, const Slot &value)
const Aws::Vector< Slot > & GetValues() const
bool ValueHasBeenSet() const
void SetValues(const Aws::Vector< Slot > &value)
Slot & WithSubSlots(Aws::Map< Aws::String, Slot > &&value)
Slot & AddSubSlots(const Aws::String &key, Slot &&value)
Slot & AddSubSlots(Aws::String &&key, const Slot &value)
AWS_LEXRUNTIMEV2_API Slot(Aws::Utils::Json::JsonView jsonValue)
void SetValues(Aws::Vector< Slot > &&value)
bool ValuesHasBeenSet() const
Slot & AddSubSlots(Aws::String &&key, Slot &&value)
void SetShape(const Shape &value)
Slot & WithSubSlots(const Aws::Map< Aws::String, Slot > &value)
AWS_LEXRUNTIMEV2_API Slot()
Slot & AddSubSlots(const char *key, Slot &&value)
Slot & WithValues(Aws::Vector< Slot > &&value)
void SetSubSlots(const Aws::Map< Aws::String, Slot > &value)
Slot & AddSubSlots(const Aws::String &key, const Slot &value)
void SetSubSlots(Aws::Map< Aws::String, Slot > &&value)
void SetValue(Value &&value)
Slot & WithShape(const Shape &value)
const Aws::Map< Aws::String, Slot > & GetSubSlots() const
Slot & AddValues(const Slot &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