AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
KeyspacesCellValue.h
1
6#pragma once
7#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/keyspacesstreams/model/KeyspacesCell.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/keyspacesstreams/model/KeyspacesCellMapDefinition.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace KeyspacesStreams
27{
28namespace Model
29{
30 class KeyspacesCell;
31 class KeyspacesCellMapDefinition;
32
40 {
41 public:
42 AWS_KEYSPACESSTREAMS_API KeyspacesCellValue() = default;
43 AWS_KEYSPACESSTREAMS_API KeyspacesCellValue(Aws::Utils::Json::JsonView jsonValue);
44 AWS_KEYSPACESSTREAMS_API KeyspacesCellValue& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_KEYSPACESSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetAsciiT() const { return m_asciiT; }
53 inline bool AsciiTHasBeenSet() const { return m_asciiTHasBeenSet; }
54 template<typename AsciiTT = Aws::String>
55 void SetAsciiT(AsciiTT&& value) { m_asciiTHasBeenSet = true; m_asciiT = std::forward<AsciiTT>(value); }
56 template<typename AsciiTT = Aws::String>
57 KeyspacesCellValue& WithAsciiT(AsciiTT&& value) { SetAsciiT(std::forward<AsciiTT>(value)); return *this;}
59
61
64 inline const Aws::String& GetBigintT() const { return m_bigintT; }
65 inline bool BigintTHasBeenSet() const { return m_bigintTHasBeenSet; }
66 template<typename BigintTT = Aws::String>
67 void SetBigintT(BigintTT&& value) { m_bigintTHasBeenSet = true; m_bigintT = std::forward<BigintTT>(value); }
68 template<typename BigintTT = Aws::String>
69 KeyspacesCellValue& WithBigintT(BigintTT&& value) { SetBigintT(std::forward<BigintTT>(value)); return *this;}
71
73
76 inline const Aws::Utils::ByteBuffer& GetBlobT() const { return m_blobT; }
77 inline bool BlobTHasBeenSet() const { return m_blobTHasBeenSet; }
78 template<typename BlobTT = Aws::Utils::ByteBuffer>
79 void SetBlobT(BlobTT&& value) { m_blobTHasBeenSet = true; m_blobT = std::forward<BlobTT>(value); }
80 template<typename BlobTT = Aws::Utils::ByteBuffer>
81 KeyspacesCellValue& WithBlobT(BlobTT&& value) { SetBlobT(std::forward<BlobTT>(value)); return *this;}
83
85
88 inline bool GetBoolT() const { return m_boolT; }
89 inline bool BoolTHasBeenSet() const { return m_boolTHasBeenSet; }
90 inline void SetBoolT(bool value) { m_boolTHasBeenSet = true; m_boolT = value; }
91 inline KeyspacesCellValue& WithBoolT(bool value) { SetBoolT(value); return *this;}
93
95
98 inline const Aws::String& GetCounterT() const { return m_counterT; }
99 inline bool CounterTHasBeenSet() const { return m_counterTHasBeenSet; }
100 template<typename CounterTT = Aws::String>
101 void SetCounterT(CounterTT&& value) { m_counterTHasBeenSet = true; m_counterT = std::forward<CounterTT>(value); }
102 template<typename CounterTT = Aws::String>
103 KeyspacesCellValue& WithCounterT(CounterTT&& value) { SetCounterT(std::forward<CounterTT>(value)); return *this;}
105
107
111 inline const Aws::String& GetDateT() const { return m_dateT; }
112 inline bool DateTHasBeenSet() const { return m_dateTHasBeenSet; }
113 template<typename DateTT = Aws::String>
114 void SetDateT(DateTT&& value) { m_dateTHasBeenSet = true; m_dateT = std::forward<DateTT>(value); }
115 template<typename DateTT = Aws::String>
116 KeyspacesCellValue& WithDateT(DateTT&& value) { SetDateT(std::forward<DateTT>(value)); return *this;}
118
120
123 inline const Aws::String& GetDecimalT() const { return m_decimalT; }
124 inline bool DecimalTHasBeenSet() const { return m_decimalTHasBeenSet; }
125 template<typename DecimalTT = Aws::String>
126 void SetDecimalT(DecimalTT&& value) { m_decimalTHasBeenSet = true; m_decimalT = std::forward<DecimalTT>(value); }
127 template<typename DecimalTT = Aws::String>
128 KeyspacesCellValue& WithDecimalT(DecimalTT&& value) { SetDecimalT(std::forward<DecimalTT>(value)); return *this;}
130
132
135 inline const Aws::String& GetDoubleT() const { return m_doubleT; }
136 inline bool DoubleTHasBeenSet() const { return m_doubleTHasBeenSet; }
137 template<typename DoubleTT = Aws::String>
138 void SetDoubleT(DoubleTT&& value) { m_doubleTHasBeenSet = true; m_doubleT = std::forward<DoubleTT>(value); }
139 template<typename DoubleTT = Aws::String>
140 KeyspacesCellValue& WithDoubleT(DoubleTT&& value) { SetDoubleT(std::forward<DoubleTT>(value)); return *this;}
142
144
147 inline const Aws::String& GetFloatT() const { return m_floatT; }
148 inline bool FloatTHasBeenSet() const { return m_floatTHasBeenSet; }
149 template<typename FloatTT = Aws::String>
150 void SetFloatT(FloatTT&& value) { m_floatTHasBeenSet = true; m_floatT = std::forward<FloatTT>(value); }
151 template<typename FloatTT = Aws::String>
152 KeyspacesCellValue& WithFloatT(FloatTT&& value) { SetFloatT(std::forward<FloatTT>(value)); return *this;}
154
156
159 inline const Aws::String& GetInetT() const { return m_inetT; }
160 inline bool InetTHasBeenSet() const { return m_inetTHasBeenSet; }
161 template<typename InetTT = Aws::String>
162 void SetInetT(InetTT&& value) { m_inetTHasBeenSet = true; m_inetT = std::forward<InetTT>(value); }
163 template<typename InetTT = Aws::String>
164 KeyspacesCellValue& WithInetT(InetTT&& value) { SetInetT(std::forward<InetTT>(value)); return *this;}
166
168
171 inline const Aws::String& GetIntT() const { return m_intT; }
172 inline bool IntTHasBeenSet() const { return m_intTHasBeenSet; }
173 template<typename IntTT = Aws::String>
174 void SetIntT(IntTT&& value) { m_intTHasBeenSet = true; m_intT = std::forward<IntTT>(value); }
175 template<typename IntTT = Aws::String>
176 KeyspacesCellValue& WithIntT(IntTT&& value) { SetIntT(std::forward<IntTT>(value)); return *this;}
178
180
183 inline const Aws::Vector<KeyspacesCell>& GetListT() const { return m_listT; }
184 inline bool ListTHasBeenSet() const { return m_listTHasBeenSet; }
185 template<typename ListTT = Aws::Vector<KeyspacesCell>>
186 void SetListT(ListTT&& value) { m_listTHasBeenSet = true; m_listT = std::forward<ListTT>(value); }
187 template<typename ListTT = Aws::Vector<KeyspacesCell>>
188 KeyspacesCellValue& WithListT(ListTT&& value) { SetListT(std::forward<ListTT>(value)); return *this;}
189 template<typename ListTT = KeyspacesCell>
190 KeyspacesCellValue& AddListT(ListTT&& value) { m_listTHasBeenSet = true; m_listT.emplace_back(std::forward<ListTT>(value)); return *this; }
192
194
197 inline const Aws::Vector<KeyspacesCellMapDefinition>& GetMapT() const { return m_mapT; }
198 inline bool MapTHasBeenSet() const { return m_mapTHasBeenSet; }
199 template<typename MapTT = Aws::Vector<KeyspacesCellMapDefinition>>
200 void SetMapT(MapTT&& value) { m_mapTHasBeenSet = true; m_mapT = std::forward<MapTT>(value); }
201 template<typename MapTT = Aws::Vector<KeyspacesCellMapDefinition>>
202 KeyspacesCellValue& WithMapT(MapTT&& value) { SetMapT(std::forward<MapTT>(value)); return *this;}
203 template<typename MapTT = KeyspacesCellMapDefinition>
204 KeyspacesCellValue& AddMapT(MapTT&& value) { m_mapTHasBeenSet = true; m_mapT.emplace_back(std::forward<MapTT>(value)); return *this; }
206
208
211 inline const Aws::Vector<KeyspacesCell>& GetSetT() const { return m_setT; }
212 inline bool SetTHasBeenSet() const { return m_setTHasBeenSet; }
213 template<typename SetTT = Aws::Vector<KeyspacesCell>>
214 void SetSetT(SetTT&& value) { m_setTHasBeenSet = true; m_setT = std::forward<SetTT>(value); }
215 template<typename SetTT = Aws::Vector<KeyspacesCell>>
216 KeyspacesCellValue& WithSetT(SetTT&& value) { SetSetT(std::forward<SetTT>(value)); return *this;}
217 template<typename SetTT = KeyspacesCell>
218 KeyspacesCellValue& AddSetT(SetTT&& value) { m_setTHasBeenSet = true; m_setT.emplace_back(std::forward<SetTT>(value)); return *this; }
220
222
225 inline const Aws::String& GetSmallintT() const { return m_smallintT; }
226 inline bool SmallintTHasBeenSet() const { return m_smallintTHasBeenSet; }
227 template<typename SmallintTT = Aws::String>
228 void SetSmallintT(SmallintTT&& value) { m_smallintTHasBeenSet = true; m_smallintT = std::forward<SmallintTT>(value); }
229 template<typename SmallintTT = Aws::String>
230 KeyspacesCellValue& WithSmallintT(SmallintTT&& value) { SetSmallintT(std::forward<SmallintTT>(value)); return *this;}
232
234
237 inline const Aws::String& GetTextT() const { return m_textT; }
238 inline bool TextTHasBeenSet() const { return m_textTHasBeenSet; }
239 template<typename TextTT = Aws::String>
240 void SetTextT(TextTT&& value) { m_textTHasBeenSet = true; m_textT = std::forward<TextTT>(value); }
241 template<typename TextTT = Aws::String>
242 KeyspacesCellValue& WithTextT(TextTT&& value) { SetTextT(std::forward<TextTT>(value)); return *this;}
244
246
249 inline const Aws::String& GetTimeT() const { return m_timeT; }
250 inline bool TimeTHasBeenSet() const { return m_timeTHasBeenSet; }
251 template<typename TimeTT = Aws::String>
252 void SetTimeT(TimeTT&& value) { m_timeTHasBeenSet = true; m_timeT = std::forward<TimeTT>(value); }
253 template<typename TimeTT = Aws::String>
254 KeyspacesCellValue& WithTimeT(TimeTT&& value) { SetTimeT(std::forward<TimeTT>(value)); return *this;}
256
258
261 inline const Aws::String& GetTimestampT() const { return m_timestampT; }
262 inline bool TimestampTHasBeenSet() const { return m_timestampTHasBeenSet; }
263 template<typename TimestampTT = Aws::String>
264 void SetTimestampT(TimestampTT&& value) { m_timestampTHasBeenSet = true; m_timestampT = std::forward<TimestampTT>(value); }
265 template<typename TimestampTT = Aws::String>
266 KeyspacesCellValue& WithTimestampT(TimestampTT&& value) { SetTimestampT(std::forward<TimestampTT>(value)); return *this;}
268
270
274 inline const Aws::String& GetTimeuuidT() const { return m_timeuuidT; }
275 inline bool TimeuuidTHasBeenSet() const { return m_timeuuidTHasBeenSet; }
276 template<typename TimeuuidTT = Aws::String>
277 void SetTimeuuidT(TimeuuidTT&& value) { m_timeuuidTHasBeenSet = true; m_timeuuidT = std::forward<TimeuuidTT>(value); }
278 template<typename TimeuuidTT = Aws::String>
279 KeyspacesCellValue& WithTimeuuidT(TimeuuidTT&& value) { SetTimeuuidT(std::forward<TimeuuidTT>(value)); return *this;}
281
283
286 inline const Aws::String& GetTinyintT() const { return m_tinyintT; }
287 inline bool TinyintTHasBeenSet() const { return m_tinyintTHasBeenSet; }
288 template<typename TinyintTT = Aws::String>
289 void SetTinyintT(TinyintTT&& value) { m_tinyintTHasBeenSet = true; m_tinyintT = std::forward<TinyintTT>(value); }
290 template<typename TinyintTT = Aws::String>
291 KeyspacesCellValue& WithTinyintT(TinyintTT&& value) { SetTinyintT(std::forward<TinyintTT>(value)); return *this;}
293
295
299 inline const Aws::Vector<KeyspacesCell>& GetTupleT() const { return m_tupleT; }
300 inline bool TupleTHasBeenSet() const { return m_tupleTHasBeenSet; }
301 template<typename TupleTT = Aws::Vector<KeyspacesCell>>
302 void SetTupleT(TupleTT&& value) { m_tupleTHasBeenSet = true; m_tupleT = std::forward<TupleTT>(value); }
303 template<typename TupleTT = Aws::Vector<KeyspacesCell>>
304 KeyspacesCellValue& WithTupleT(TupleTT&& value) { SetTupleT(std::forward<TupleTT>(value)); return *this;}
305 template<typename TupleTT = KeyspacesCell>
306 KeyspacesCellValue& AddTupleT(TupleTT&& value) { m_tupleTHasBeenSet = true; m_tupleT.emplace_back(std::forward<TupleTT>(value)); return *this; }
308
310
313 inline const Aws::String& GetUuidT() const { return m_uuidT; }
314 inline bool UuidTHasBeenSet() const { return m_uuidTHasBeenSet; }
315 template<typename UuidTT = Aws::String>
316 void SetUuidT(UuidTT&& value) { m_uuidTHasBeenSet = true; m_uuidT = std::forward<UuidTT>(value); }
317 template<typename UuidTT = Aws::String>
318 KeyspacesCellValue& WithUuidT(UuidTT&& value) { SetUuidT(std::forward<UuidTT>(value)); return *this;}
320
322
325 inline const Aws::String& GetVarcharT() const { return m_varcharT; }
326 inline bool VarcharTHasBeenSet() const { return m_varcharTHasBeenSet; }
327 template<typename VarcharTT = Aws::String>
328 void SetVarcharT(VarcharTT&& value) { m_varcharTHasBeenSet = true; m_varcharT = std::forward<VarcharTT>(value); }
329 template<typename VarcharTT = Aws::String>
330 KeyspacesCellValue& WithVarcharT(VarcharTT&& value) { SetVarcharT(std::forward<VarcharTT>(value)); return *this;}
332
334
337 inline const Aws::String& GetVarintT() const { return m_varintT; }
338 inline bool VarintTHasBeenSet() const { return m_varintTHasBeenSet; }
339 template<typename VarintTT = Aws::String>
340 void SetVarintT(VarintTT&& value) { m_varintTHasBeenSet = true; m_varintT = std::forward<VarintTT>(value); }
341 template<typename VarintTT = Aws::String>
342 KeyspacesCellValue& WithVarintT(VarintTT&& value) { SetVarintT(std::forward<VarintTT>(value)); return *this;}
344
346
350 inline const Aws::Map<Aws::String, KeyspacesCell>& GetUdtT() const { return m_udtT; }
351 inline bool UdtTHasBeenSet() const { return m_udtTHasBeenSet; }
352 template<typename UdtTT = Aws::Map<Aws::String, KeyspacesCell>>
353 void SetUdtT(UdtTT&& value) { m_udtTHasBeenSet = true; m_udtT = std::forward<UdtTT>(value); }
354 template<typename UdtTT = Aws::Map<Aws::String, KeyspacesCell>>
355 KeyspacesCellValue& WithUdtT(UdtTT&& value) { SetUdtT(std::forward<UdtTT>(value)); return *this;}
356 template<typename UdtTKeyT = Aws::String, typename UdtTValueT = KeyspacesCell>
357 KeyspacesCellValue& AddUdtT(UdtTKeyT&& key, UdtTValueT&& value) {
358 m_udtTHasBeenSet = true; m_udtT.emplace(std::forward<UdtTKeyT>(key), std::forward<UdtTValueT>(value)); return *this;
359 }
361 private:
362
363 Aws::String m_asciiT;
364 bool m_asciiTHasBeenSet = false;
365
366 Aws::String m_bigintT;
367 bool m_bigintTHasBeenSet = false;
368
369 Aws::Utils::ByteBuffer m_blobT{};
370 bool m_blobTHasBeenSet = false;
371
372 bool m_boolT{false};
373 bool m_boolTHasBeenSet = false;
374
375 Aws::String m_counterT;
376 bool m_counterTHasBeenSet = false;
377
378 Aws::String m_dateT;
379 bool m_dateTHasBeenSet = false;
380
381 Aws::String m_decimalT;
382 bool m_decimalTHasBeenSet = false;
383
384 Aws::String m_doubleT;
385 bool m_doubleTHasBeenSet = false;
386
387 Aws::String m_floatT;
388 bool m_floatTHasBeenSet = false;
389
390 Aws::String m_inetT;
391 bool m_inetTHasBeenSet = false;
392
393 Aws::String m_intT;
394 bool m_intTHasBeenSet = false;
395
397 bool m_listTHasBeenSet = false;
398
400 bool m_mapTHasBeenSet = false;
401
403 bool m_setTHasBeenSet = false;
404
405 Aws::String m_smallintT;
406 bool m_smallintTHasBeenSet = false;
407
408 Aws::String m_textT;
409 bool m_textTHasBeenSet = false;
410
411 Aws::String m_timeT;
412 bool m_timeTHasBeenSet = false;
413
414 Aws::String m_timestampT;
415 bool m_timestampTHasBeenSet = false;
416
417 Aws::String m_timeuuidT;
418 bool m_timeuuidTHasBeenSet = false;
419
420 Aws::String m_tinyintT;
421 bool m_tinyintTHasBeenSet = false;
422
424 bool m_tupleTHasBeenSet = false;
425
426 Aws::String m_uuidT;
427 bool m_uuidTHasBeenSet = false;
428
429 Aws::String m_varcharT;
430 bool m_varcharTHasBeenSet = false;
431
432 Aws::String m_varintT;
433 bool m_varintTHasBeenSet = false;
434
436 bool m_udtTHasBeenSet = false;
437 };
438
439} // namespace Model
440} // namespace KeyspacesStreams
441} // namespace Aws
KeyspacesCellValue & AddMapT(MapTT &&value)
const Aws::Utils::ByteBuffer & GetBlobT() const
KeyspacesCellValue & WithVarcharT(VarcharTT &&value)
KeyspacesCellValue & AddUdtT(UdtTKeyT &&key, UdtTValueT &&value)
const Aws::Map< Aws::String, KeyspacesCell > & GetUdtT() const
KeyspacesCellValue & AddTupleT(TupleTT &&value)
KeyspacesCellValue & WithDateT(DateTT &&value)
KeyspacesCellValue & WithUuidT(UuidTT &&value)
const Aws::Vector< KeyspacesCell > & GetListT() const
KeyspacesCellValue & WithCounterT(CounterTT &&value)
KeyspacesCellValue & WithUdtT(UdtTT &&value)
KeyspacesCellValue & WithFloatT(FloatTT &&value)
KeyspacesCellValue & WithBlobT(BlobTT &&value)
KeyspacesCellValue & WithAsciiT(AsciiTT &&value)
const Aws::Vector< KeyspacesCell > & GetSetT() const
KeyspacesCellValue & WithIntT(IntTT &&value)
KeyspacesCellValue & WithTimestampT(TimestampTT &&value)
KeyspacesCellValue & WithDecimalT(DecimalTT &&value)
KeyspacesCellValue & WithVarintT(VarintTT &&value)
KeyspacesCellValue & WithTinyintT(TinyintTT &&value)
KeyspacesCellValue & WithSetT(SetTT &&value)
KeyspacesCellValue & WithTupleT(TupleTT &&value)
const Aws::Vector< KeyspacesCellMapDefinition > & GetMapT() const
AWS_KEYSPACESSTREAMS_API KeyspacesCellValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< KeyspacesCell > & GetTupleT() const
KeyspacesCellValue & WithDoubleT(DoubleTT &&value)
KeyspacesCellValue & WithTimeT(TimeTT &&value)
KeyspacesCellValue & WithTimeuuidT(TimeuuidTT &&value)
KeyspacesCellValue & WithBigintT(BigintTT &&value)
AWS_KEYSPACESSTREAMS_API KeyspacesCellValue()=default
AWS_KEYSPACESSTREAMS_API KeyspacesCellValue(Aws::Utils::Json::JsonView jsonValue)
KeyspacesCellValue & AddListT(ListTT &&value)
KeyspacesCellValue & WithListT(ListTT &&value)
KeyspacesCellValue & WithSmallintT(SmallintTT &&value)
KeyspacesCellValue & AddSetT(SetTT &&value)
KeyspacesCellValue & WithMapT(MapTT &&value)
KeyspacesCellValue & WithInetT(InetTT &&value)
KeyspacesCellValue & WithTextT(TextTT &&value)
AWS_KEYSPACESSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
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