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/iottwinmaker/IoTTwinMaker_EXPORTS.h>
11#include <aws/iottwinmaker/model/RelationshipValue.h>
22namespace IoTTwinMaker {
45 m_booleanValueHasBeenSet =
true;
46 m_booleanValue = value;
61 m_doubleValueHasBeenSet =
true;
62 m_doubleValue = value;
77 m_integerValueHasBeenSet =
true;
78 m_integerValue = value;
93 m_longValueHasBeenSet =
true;
108 template <
typename StringValueT = Aws::String>
110 m_stringValueHasBeenSet =
true;
111 m_stringValue = std::forward<StringValueT>(value);
113 template <
typename StringValueT = Aws::String>
126 template <
typename ListValueT = Aws::Vector<DataValue>>
128 m_listValueHasBeenSet =
true;
129 m_listValue = std::forward<ListValueT>(value);
131 template <
typename ListValueT = Aws::Vector<DataValue>>
136 template <
typename ListValueT = DataValue>
138 m_listValueHasBeenSet =
true;
139 m_listValue.emplace_back(std::forward<ListValueT>(value));
150 template <
typename MapValueT = Aws::Map<Aws::String, DataValue>>
152 m_mapValueHasBeenSet =
true;
153 m_mapValue = std::forward<MapValueT>(value);
155 template <
typename MapValueT = Aws::Map<Aws::String, DataValue>>
160 template <
typename MapValueKeyT = Aws::String,
typename MapValueValueT = DataValue>
162 m_mapValueHasBeenSet =
true;
163 m_mapValue.emplace(std::forward<MapValueKeyT>(key), std::forward<MapValueValueT>(value));
174 template <
typename RelationshipValueT = RelationshipValue>
176 m_relationshipValueHasBeenSet =
true;
177 m_relationshipValue = std::forward<RelationshipValueT>(value);
179 template <
typename RelationshipValueT = RelationshipValue>
192 template <
typename ExpressionT = Aws::String>
194 m_expressionHasBeenSet =
true;
195 m_expression = std::forward<ExpressionT>(value);
197 template <
typename ExpressionT = Aws::String>
204 bool m_booleanValue{
false};
206 double m_doubleValue{0.0};
208 int m_integerValue{0};
210 long long m_longValue{0};
218 RelationshipValue m_relationshipValue;
221 bool m_booleanValueHasBeenSet =
false;
222 bool m_doubleValueHasBeenSet =
false;
223 bool m_integerValueHasBeenSet =
false;
224 bool m_longValueHasBeenSet =
false;
225 bool m_stringValueHasBeenSet =
false;
226 bool m_listValueHasBeenSet =
false;
227 bool m_mapValueHasBeenSet =
false;
228 bool m_relationshipValueHasBeenSet =
false;
229 bool m_expressionHasBeenSet =
false;
void SetBooleanValue(bool value)
const Aws::Map< Aws::String, DataValue > & GetMapValue() const
int GetIntegerValue() const
bool IntegerValueHasBeenSet() const
bool DoubleValueHasBeenSet() const
void SetExpression(ExpressionT &&value)
bool GetBooleanValue() const
void SetMapValue(MapValueT &&value)
bool RelationshipValueHasBeenSet() const
DataValue & WithLongValue(long long value)
bool LongValueHasBeenSet() const
DataValue & WithIntegerValue(int value)
void SetIntegerValue(int value)
bool ListValueHasBeenSet() const
long long GetLongValue() const
double GetDoubleValue() const
DataValue & WithStringValue(StringValueT &&value)
void SetListValue(ListValueT &&value)
DataValue & WithListValue(ListValueT &&value)
void SetRelationshipValue(RelationshipValueT &&value)
const Aws::String & GetStringValue() const
bool StringValueHasBeenSet() const
bool BooleanValueHasBeenSet() const
void SetStringValue(StringValueT &&value)
DataValue & WithBooleanValue(bool value)
DataValue & WithExpression(ExpressionT &&value)
AWS_IOTTWINMAKER_API DataValue(Aws::Utils::Json::JsonView jsonValue)
DataValue & WithRelationshipValue(RelationshipValueT &&value)
DataValue & AddListValue(ListValueT &&value)
const Aws::String & GetExpression() const
void SetLongValue(long long value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExpressionHasBeenSet() const
DataValue & WithDoubleValue(double value)
DataValue & AddMapValue(MapValueKeyT &&key, MapValueValueT &&value)
bool MapValueHasBeenSet() const
void SetDoubleValue(double value)
AWS_IOTTWINMAKER_API DataValue()=default
AWS_IOTTWINMAKER_API DataValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< DataValue > & GetListValue() const
const RelationshipValue & GetRelationshipValue() const
DataValue & WithMapValue(MapValueT &&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