7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSAllocator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds-data/RDSDataService_EXPORTS.h>
22namespace RDSDataService {
36 AWS_RDSDATASERVICE_API
Value() =
default;
48 m_isNullHasBeenSet =
true;
64 m_bitValueHasBeenSet =
true;
80 m_bigIntValueHasBeenSet =
true;
81 m_bigIntValue = value;
96 m_intValueHasBeenSet =
true;
112 m_doubleValueHasBeenSet =
true;
113 m_doubleValue = value;
128 m_realValueHasBeenSet =
true;
143 template <
typename StringValueT = Aws::String>
145 m_stringValueHasBeenSet =
true;
146 m_stringValue = std::forward<StringValueT>(value);
148 template <
typename StringValueT = Aws::String>
161 template <
typename BlobValueT = Aws::Utils::ByteBuffer>
163 m_blobValueHasBeenSet =
true;
164 m_blobValue = std::forward<BlobValueT>(value);
166 template <
typename BlobValueT = Aws::Utils::ByteBuffer>
179 template <
typename ArrayValuesT = Aws::Vector<Value>>
181 m_arrayValuesHasBeenSet =
true;
182 m_arrayValues = std::forward<ArrayValuesT>(value);
184 template <
typename ArrayValuesT = Aws::Vector<Value>>
189 template <
typename ArrayValuesT = Value>
191 m_arrayValuesHasBeenSet =
true;
192 m_arrayValues.emplace_back(std::forward<ArrayValuesT>(value));
203 template <
typename StructValueT = StructValue>
205 m_structValueHasBeenSet =
true;
208 template <
typename StructValueT = StructValue>
215 bool m_isNull{
false};
217 bool m_bitValue{
false};
219 long long m_bigIntValue{0};
223 double m_doubleValue{0.0};
225 double m_realValue{0.0};
233 std::shared_ptr<StructValue> m_structValue;
234 bool m_isNullHasBeenSet =
false;
235 bool m_bitValueHasBeenSet =
false;
236 bool m_bigIntValueHasBeenSet =
false;
237 bool m_intValueHasBeenSet =
false;
238 bool m_doubleValueHasBeenSet =
false;
239 bool m_realValueHasBeenSet =
false;
240 bool m_stringValueHasBeenSet =
false;
241 bool m_blobValueHasBeenSet =
false;
242 bool m_arrayValuesHasBeenSet =
false;
243 bool m_structValueHasBeenSet =
false;
bool BlobValueHasBeenSet() const
AWS_RDSDATASERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
double GetDoubleValue() const
bool BigIntValueHasBeenSet() const
bool BitValueHasBeenSet() const
void SetBigIntValue(long long value)
Value & WithStringValue(StringValueT &&value)
void SetArrayValues(ArrayValuesT &&value)
void SetDoubleValue(double value)
Value & WithDoubleValue(double value)
void SetIsNull(bool value)
bool IntValueHasBeenSet() const
Value & WithArrayValues(ArrayValuesT &&value)
void SetIntValue(int value)
void SetStringValue(StringValueT &&value)
Value & WithIntValue(int value)
const Aws::String & GetStringValue() const
AWS_RDSDATASERVICE_API Value()=default
Value & AddArrayValues(ArrayValuesT &&value)
const Aws::Utils::ByteBuffer & GetBlobValue() const
bool StructValueHasBeenSet() const
void SetBitValue(bool value)
bool ArrayValuesHasBeenSet() const
Value & WithRealValue(double value)
void SetStructValue(StructValueT &&value)
bool IsNullHasBeenSet() const
long long GetBigIntValue() const
Value & WithStructValue(StructValueT &&value)
const StructValue & GetStructValue() const
void SetBlobValue(BlobValueT &&value)
Value & WithBigIntValue(long long value)
Value & WithIsNull(bool value)
Value & WithBlobValue(BlobValueT &&value)
const Aws::Vector< Value > & GetArrayValues() const
void SetRealValue(double value)
Value & WithBitValue(bool value)
AWS_RDSDATASERVICE_API Value(Aws::Utils::Json::JsonView jsonValue)
bool StringValueHasBeenSet() const
bool DoubleValueHasBeenSet() const
AWS_RDSDATASERVICE_API Value & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetRealValue() const
bool RealValueHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue