7#include <aws/context/Context_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
32 AWS_CONTEXT_API
SqlValue(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CONTEXT_API
SqlValue&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CONTEXT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 m_nullValueHasBeenSet =
true;
60 m_booleanValueHasBeenSet =
true;
61 m_booleanValue = value;
76 m_longValueHasBeenSet =
true;
94 m_doubleValueHasBeenSet =
true;
95 m_doubleValue = value;
114 template <
typename StringValueT = Aws::String>
116 m_stringValueHasBeenSet =
true;
117 m_stringValue = std::forward<StringValueT>(value);
119 template <
typename StringValueT = Aws::String>
132 template <
typename BlobValueT = Aws::Utils::ByteBuffer>
134 m_blobValueHasBeenSet =
true;
135 m_blobValue = std::forward<BlobValueT>(value);
137 template <
typename BlobValueT = Aws::Utils::ByteBuffer>
152 template <
typename JsonValueT = Aws::String>
154 m_jsonValueHasBeenSet =
true;
155 m_jsonValue = std::forward<JsonValueT>(value);
157 template <
typename JsonValueT = Aws::String>
164 bool m_nullValue{
false};
166 bool m_booleanValue{
false};
168 long long m_longValue{0};
170 double m_doubleValue{0.0};
177 bool m_nullValueHasBeenSet =
false;
178 bool m_booleanValueHasBeenSet =
false;
179 bool m_longValueHasBeenSet =
false;
180 bool m_doubleValueHasBeenSet =
false;
181 bool m_stringValueHasBeenSet =
false;
182 bool m_blobValueHasBeenSet =
false;
183 bool m_jsonValueHasBeenSet =
false;
const Aws::String & GetStringValue() const
const Aws::String & GetJsonValue() const
SqlValue & WithNullValue(bool value)
long long GetLongValue() const
bool GetNullValue() const
bool BlobValueHasBeenSet() const
AWS_CONTEXT_API SqlValue & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
SqlValue & WithJsonValue(JsonValueT &&value)
double GetDoubleValue() const
void SetLongValue(long long value)
const Aws::Utils::ByteBuffer & GetBlobValue() const
SqlValue & WithStringValue(StringValueT &&value)
bool GetBooleanValue() const
bool NullValueHasBeenSet() const
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool LongValueHasBeenSet() const
bool DoubleValueHasBeenSet() const
bool BooleanValueHasBeenSet() const
AWS_CONTEXT_API SqlValue()=default
SqlValue & WithBlobValue(BlobValueT &&value)
void SetNullValue(bool value)
SqlValue & WithDoubleValue(double value)
bool StringValueHasBeenSet() const
void SetDoubleValue(double value)
AWS_CONTEXT_API SqlValue(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool JsonValueHasBeenSet() const
SqlValue & WithBooleanValue(bool value)
void SetJsonValue(JsonValueT &&value)
void SetStringValue(StringValueT &&value)
SqlValue & WithLongValue(long long value)
void SetBlobValue(BlobValueT &&value)
void SetBooleanValue(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String