7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename ValueStringT = Aws::String>
46 m_valueStringHasBeenSet =
true;
47 m_valueString = std::forward<ValueStringT>(value);
49 template <
typename ValueStringT = Aws::String>
62 template <
typename ValueMapT = Aws::Map<Aws::String, SegmentAttributeValue>>
64 m_valueMapHasBeenSet =
true;
65 m_valueMap = std::forward<ValueMapT>(value);
67 template <
typename ValueMapT = Aws::Map<Aws::String, SegmentAttributeValue>>
72 template <
typename ValueMapKeyT = Aws::String,
typename ValueMapValueT = SegmentAttributeValue>
74 m_valueMapHasBeenSet =
true;
75 m_valueMap.emplace(std::forward<ValueMapKeyT>(key), std::forward<ValueMapValueT>(value));
87 m_valueIntegerHasBeenSet =
true;
88 m_valueInteger = value;
103 template <
typename ValueListT = Aws::Vector<SegmentAttributeValue>>
105 m_valueListHasBeenSet =
true;
106 m_valueList = std::forward<ValueListT>(value);
108 template <
typename ValueListT = Aws::Vector<SegmentAttributeValue>>
113 template <
typename ValueListT = SegmentAttributeValue>
115 m_valueListHasBeenSet =
true;
116 m_valueList.emplace_back(std::forward<ValueListT>(value));
128 template <
typename ValueArnT = Aws::String>
130 m_valueArnHasBeenSet =
true;
131 m_valueArn = std::forward<ValueArnT>(value);
133 template <
typename ValueArnT = Aws::String>
144 int m_valueInteger{0};
149 bool m_valueStringHasBeenSet =
false;
150 bool m_valueMapHasBeenSet =
false;
151 bool m_valueIntegerHasBeenSet =
false;
152 bool m_valueListHasBeenSet =
false;
153 bool m_valueArnHasBeenSet =
false;
SegmentAttributeValue & WithValueString(ValueStringT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
SegmentAttributeValue & WithValueList(ValueListT &&value)
const Aws::Map< Aws::String, SegmentAttributeValue > & GetValueMap() const
bool ValueStringHasBeenSet() const
const Aws::String & GetValueArn() const
void SetValueList(ValueListT &&value)
void SetValueArn(ValueArnT &&value)
AWS_CONNECT_API SegmentAttributeValue(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API SegmentAttributeValue()=default
int GetValueInteger() const
bool ValueArnHasBeenSet() const
bool ValueIntegerHasBeenSet() const
SegmentAttributeValue & WithValueArn(ValueArnT &&value)
bool ValueMapHasBeenSet() const
AWS_CONNECT_API SegmentAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
SegmentAttributeValue & WithValueMap(ValueMapT &&value)
void SetValueMap(ValueMapT &&value)
SegmentAttributeValue & AddValueMap(ValueMapKeyT &&key, ValueMapValueT &&value)
void SetValueString(ValueStringT &&value)
bool ValueListHasBeenSet() const
void SetValueInteger(int value)
const Aws::String & GetValueString() const
const Aws::Vector< SegmentAttributeValue > & GetValueList() const
SegmentAttributeValue & WithValueInteger(int value)
SegmentAttributeValue & AddValueList(ValueListT &&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