AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
KeyspacesCellValue.h
1
6#pragma once
7#include <aws/core/utils/Array.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>
11#include <aws/keyspacesstreams/KeyspacesStreams_EXPORTS.h>
12#include <aws/keyspacesstreams/model/KeyspacesCell.h>
13#include <aws/keyspacesstreams/model/KeyspacesCellMapDefinition.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace KeyspacesStreams {
25namespace Model {
26class KeyspacesCell;
27class KeyspacesCellMapDefinition;
28
36 public:
37 AWS_KEYSPACESSTREAMS_API KeyspacesCellValue() = default;
38 AWS_KEYSPACESSTREAMS_API KeyspacesCellValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KEYSPACESSTREAMS_API KeyspacesCellValue& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KEYSPACESSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
46 inline const Aws::String& GetAsciiT() const { return m_asciiT; }
47 inline bool AsciiTHasBeenSet() const { return m_asciiTHasBeenSet; }
48 template <typename AsciiTT = Aws::String>
49 void SetAsciiT(AsciiTT&& value) {
50 m_asciiTHasBeenSet = true;
51 m_asciiT = std::forward<AsciiTT>(value);
52 }
53 template <typename AsciiTT = Aws::String>
54 KeyspacesCellValue& WithAsciiT(AsciiTT&& value) {
55 SetAsciiT(std::forward<AsciiTT>(value));
56 return *this;
57 }
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) {
68 m_bigintTHasBeenSet = true;
69 m_bigintT = std::forward<BigintTT>(value);
70 }
71 template <typename BigintTT = Aws::String>
72 KeyspacesCellValue& WithBigintT(BigintTT&& value) {
73 SetBigintT(std::forward<BigintTT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::Utils::ByteBuffer& GetBlobT() const { return m_blobT; }
83 inline bool BlobTHasBeenSet() const { return m_blobTHasBeenSet; }
84 template <typename BlobTT = Aws::Utils::ByteBuffer>
85 void SetBlobT(BlobTT&& value) {
86 m_blobTHasBeenSet = true;
87 m_blobT = std::forward<BlobTT>(value);
88 }
89 template <typename BlobTT = Aws::Utils::ByteBuffer>
90 KeyspacesCellValue& WithBlobT(BlobTT&& value) {
91 SetBlobT(std::forward<BlobTT>(value));
92 return *this;
93 }
95
97
100 inline bool GetBoolT() const { return m_boolT; }
101 inline bool BoolTHasBeenSet() const { return m_boolTHasBeenSet; }
102 inline void SetBoolT(bool value) {
103 m_boolTHasBeenSet = true;
104 m_boolT = value;
105 }
106 inline KeyspacesCellValue& WithBoolT(bool value) {
107 SetBoolT(value);
108 return *this;
109 }
111
113
116 inline const Aws::String& GetCounterT() const { return m_counterT; }
117 inline bool CounterTHasBeenSet() const { return m_counterTHasBeenSet; }
118 template <typename CounterTT = Aws::String>
119 void SetCounterT(CounterTT&& value) {
120 m_counterTHasBeenSet = true;
121 m_counterT = std::forward<CounterTT>(value);
122 }
123 template <typename CounterTT = Aws::String>
124 KeyspacesCellValue& WithCounterT(CounterTT&& value) {
125 SetCounterT(std::forward<CounterTT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetDateT() const { return m_dateT; }
136 inline bool DateTHasBeenSet() const { return m_dateTHasBeenSet; }
137 template <typename DateTT = Aws::String>
138 void SetDateT(DateTT&& value) {
139 m_dateTHasBeenSet = true;
140 m_dateT = std::forward<DateTT>(value);
141 }
142 template <typename DateTT = Aws::String>
143 KeyspacesCellValue& WithDateT(DateTT&& value) {
144 SetDateT(std::forward<DateTT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetDecimalT() const { return m_decimalT; }
154 inline bool DecimalTHasBeenSet() const { return m_decimalTHasBeenSet; }
155 template <typename DecimalTT = Aws::String>
156 void SetDecimalT(DecimalTT&& value) {
157 m_decimalTHasBeenSet = true;
158 m_decimalT = std::forward<DecimalTT>(value);
159 }
160 template <typename DecimalTT = Aws::String>
161 KeyspacesCellValue& WithDecimalT(DecimalTT&& value) {
162 SetDecimalT(std::forward<DecimalTT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetDoubleT() const { return m_doubleT; }
172 inline bool DoubleTHasBeenSet() const { return m_doubleTHasBeenSet; }
173 template <typename DoubleTT = Aws::String>
174 void SetDoubleT(DoubleTT&& value) {
175 m_doubleTHasBeenSet = true;
176 m_doubleT = std::forward<DoubleTT>(value);
177 }
178 template <typename DoubleTT = Aws::String>
179 KeyspacesCellValue& WithDoubleT(DoubleTT&& value) {
180 SetDoubleT(std::forward<DoubleTT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetFloatT() const { return m_floatT; }
190 inline bool FloatTHasBeenSet() const { return m_floatTHasBeenSet; }
191 template <typename FloatTT = Aws::String>
192 void SetFloatT(FloatTT&& value) {
193 m_floatTHasBeenSet = true;
194 m_floatT = std::forward<FloatTT>(value);
195 }
196 template <typename FloatTT = Aws::String>
197 KeyspacesCellValue& WithFloatT(FloatTT&& value) {
198 SetFloatT(std::forward<FloatTT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetInetT() const { return m_inetT; }
208 inline bool InetTHasBeenSet() const { return m_inetTHasBeenSet; }
209 template <typename InetTT = Aws::String>
210 void SetInetT(InetTT&& value) {
211 m_inetTHasBeenSet = true;
212 m_inetT = std::forward<InetTT>(value);
213 }
214 template <typename InetTT = Aws::String>
215 KeyspacesCellValue& WithInetT(InetTT&& value) {
216 SetInetT(std::forward<InetTT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::String& GetIntT() const { return m_intT; }
226 inline bool IntTHasBeenSet() const { return m_intTHasBeenSet; }
227 template <typename IntTT = Aws::String>
228 void SetIntT(IntTT&& value) {
229 m_intTHasBeenSet = true;
230 m_intT = std::forward<IntTT>(value);
231 }
232 template <typename IntTT = Aws::String>
233 KeyspacesCellValue& WithIntT(IntTT&& value) {
234 SetIntT(std::forward<IntTT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::Vector<KeyspacesCell>& GetListT() const { return m_listT; }
244 inline bool ListTHasBeenSet() const { return m_listTHasBeenSet; }
245 template <typename ListTT = Aws::Vector<KeyspacesCell>>
246 void SetListT(ListTT&& value) {
247 m_listTHasBeenSet = true;
248 m_listT = std::forward<ListTT>(value);
249 }
250 template <typename ListTT = Aws::Vector<KeyspacesCell>>
251 KeyspacesCellValue& WithListT(ListTT&& value) {
252 SetListT(std::forward<ListTT>(value));
253 return *this;
254 }
255 template <typename ListTT = KeyspacesCell>
256 KeyspacesCellValue& AddListT(ListTT&& value) {
257 m_listTHasBeenSet = true;
258 m_listT.emplace_back(std::forward<ListTT>(value));
259 return *this;
260 }
262
264
267 inline const Aws::Vector<KeyspacesCellMapDefinition>& GetMapT() const { return m_mapT; }
268 inline bool MapTHasBeenSet() const { return m_mapTHasBeenSet; }
269 template <typename MapTT = Aws::Vector<KeyspacesCellMapDefinition>>
270 void SetMapT(MapTT&& value) {
271 m_mapTHasBeenSet = true;
272 m_mapT = std::forward<MapTT>(value);
273 }
274 template <typename MapTT = Aws::Vector<KeyspacesCellMapDefinition>>
275 KeyspacesCellValue& WithMapT(MapTT&& value) {
276 SetMapT(std::forward<MapTT>(value));
277 return *this;
278 }
279 template <typename MapTT = KeyspacesCellMapDefinition>
280 KeyspacesCellValue& AddMapT(MapTT&& value) {
281 m_mapTHasBeenSet = true;
282 m_mapT.emplace_back(std::forward<MapTT>(value));
283 return *this;
284 }
286
288
291 inline const Aws::Vector<KeyspacesCell>& GetSetT() const { return m_setT; }
292 inline bool SetTHasBeenSet() const { return m_setTHasBeenSet; }
293 template <typename SetTT = Aws::Vector<KeyspacesCell>>
294 void SetSetT(SetTT&& value) {
295 m_setTHasBeenSet = true;
296 m_setT = std::forward<SetTT>(value);
297 }
298 template <typename SetTT = Aws::Vector<KeyspacesCell>>
299 KeyspacesCellValue& WithSetT(SetTT&& value) {
300 SetSetT(std::forward<SetTT>(value));
301 return *this;
302 }
303 template <typename SetTT = KeyspacesCell>
304 KeyspacesCellValue& AddSetT(SetTT&& value) {
305 m_setTHasBeenSet = true;
306 m_setT.emplace_back(std::forward<SetTT>(value));
307 return *this;
308 }
310
312
315 inline const Aws::String& GetSmallintT() const { return m_smallintT; }
316 inline bool SmallintTHasBeenSet() const { return m_smallintTHasBeenSet; }
317 template <typename SmallintTT = Aws::String>
318 void SetSmallintT(SmallintTT&& value) {
319 m_smallintTHasBeenSet = true;
320 m_smallintT = std::forward<SmallintTT>(value);
321 }
322 template <typename SmallintTT = Aws::String>
323 KeyspacesCellValue& WithSmallintT(SmallintTT&& value) {
324 SetSmallintT(std::forward<SmallintTT>(value));
325 return *this;
326 }
328
330
333 inline const Aws::String& GetTextT() const { return m_textT; }
334 inline bool TextTHasBeenSet() const { return m_textTHasBeenSet; }
335 template <typename TextTT = Aws::String>
336 void SetTextT(TextTT&& value) {
337 m_textTHasBeenSet = true;
338 m_textT = std::forward<TextTT>(value);
339 }
340 template <typename TextTT = Aws::String>
341 KeyspacesCellValue& WithTextT(TextTT&& value) {
342 SetTextT(std::forward<TextTT>(value));
343 return *this;
344 }
346
348
351 inline const Aws::String& GetTimeT() const { return m_timeT; }
352 inline bool TimeTHasBeenSet() const { return m_timeTHasBeenSet; }
353 template <typename TimeTT = Aws::String>
354 void SetTimeT(TimeTT&& value) {
355 m_timeTHasBeenSet = true;
356 m_timeT = std::forward<TimeTT>(value);
357 }
358 template <typename TimeTT = Aws::String>
359 KeyspacesCellValue& WithTimeT(TimeTT&& value) {
360 SetTimeT(std::forward<TimeTT>(value));
361 return *this;
362 }
364
366
369 inline const Aws::String& GetTimestampT() const { return m_timestampT; }
370 inline bool TimestampTHasBeenSet() const { return m_timestampTHasBeenSet; }
371 template <typename TimestampTT = Aws::String>
372 void SetTimestampT(TimestampTT&& value) {
373 m_timestampTHasBeenSet = true;
374 m_timestampT = std::forward<TimestampTT>(value);
375 }
376 template <typename TimestampTT = Aws::String>
377 KeyspacesCellValue& WithTimestampT(TimestampTT&& value) {
378 SetTimestampT(std::forward<TimestampTT>(value));
379 return *this;
380 }
382
384
388 inline const Aws::String& GetTimeuuidT() const { return m_timeuuidT; }
389 inline bool TimeuuidTHasBeenSet() const { return m_timeuuidTHasBeenSet; }
390 template <typename TimeuuidTT = Aws::String>
391 void SetTimeuuidT(TimeuuidTT&& value) {
392 m_timeuuidTHasBeenSet = true;
393 m_timeuuidT = std::forward<TimeuuidTT>(value);
394 }
395 template <typename TimeuuidTT = Aws::String>
396 KeyspacesCellValue& WithTimeuuidT(TimeuuidTT&& value) {
397 SetTimeuuidT(std::forward<TimeuuidTT>(value));
398 return *this;
399 }
401
403
406 inline const Aws::String& GetTinyintT() const { return m_tinyintT; }
407 inline bool TinyintTHasBeenSet() const { return m_tinyintTHasBeenSet; }
408 template <typename TinyintTT = Aws::String>
409 void SetTinyintT(TinyintTT&& value) {
410 m_tinyintTHasBeenSet = true;
411 m_tinyintT = std::forward<TinyintTT>(value);
412 }
413 template <typename TinyintTT = Aws::String>
414 KeyspacesCellValue& WithTinyintT(TinyintTT&& value) {
415 SetTinyintT(std::forward<TinyintTT>(value));
416 return *this;
417 }
419
421
425 inline const Aws::Vector<KeyspacesCell>& GetTupleT() const { return m_tupleT; }
426 inline bool TupleTHasBeenSet() const { return m_tupleTHasBeenSet; }
427 template <typename TupleTT = Aws::Vector<KeyspacesCell>>
428 void SetTupleT(TupleTT&& value) {
429 m_tupleTHasBeenSet = true;
430 m_tupleT = std::forward<TupleTT>(value);
431 }
432 template <typename TupleTT = Aws::Vector<KeyspacesCell>>
433 KeyspacesCellValue& WithTupleT(TupleTT&& value) {
434 SetTupleT(std::forward<TupleTT>(value));
435 return *this;
436 }
437 template <typename TupleTT = KeyspacesCell>
438 KeyspacesCellValue& AddTupleT(TupleTT&& value) {
439 m_tupleTHasBeenSet = true;
440 m_tupleT.emplace_back(std::forward<TupleTT>(value));
441 return *this;
442 }
444
446
449 inline const Aws::String& GetUuidT() const { return m_uuidT; }
450 inline bool UuidTHasBeenSet() const { return m_uuidTHasBeenSet; }
451 template <typename UuidTT = Aws::String>
452 void SetUuidT(UuidTT&& value) {
453 m_uuidTHasBeenSet = true;
454 m_uuidT = std::forward<UuidTT>(value);
455 }
456 template <typename UuidTT = Aws::String>
457 KeyspacesCellValue& WithUuidT(UuidTT&& value) {
458 SetUuidT(std::forward<UuidTT>(value));
459 return *this;
460 }
462
464
467 inline const Aws::String& GetVarcharT() const { return m_varcharT; }
468 inline bool VarcharTHasBeenSet() const { return m_varcharTHasBeenSet; }
469 template <typename VarcharTT = Aws::String>
470 void SetVarcharT(VarcharTT&& value) {
471 m_varcharTHasBeenSet = true;
472 m_varcharT = std::forward<VarcharTT>(value);
473 }
474 template <typename VarcharTT = Aws::String>
475 KeyspacesCellValue& WithVarcharT(VarcharTT&& value) {
476 SetVarcharT(std::forward<VarcharTT>(value));
477 return *this;
478 }
480
482
485 inline const Aws::String& GetVarintT() const { return m_varintT; }
486 inline bool VarintTHasBeenSet() const { return m_varintTHasBeenSet; }
487 template <typename VarintTT = Aws::String>
488 void SetVarintT(VarintTT&& value) {
489 m_varintTHasBeenSet = true;
490 m_varintT = std::forward<VarintTT>(value);
491 }
492 template <typename VarintTT = Aws::String>
493 KeyspacesCellValue& WithVarintT(VarintTT&& value) {
494 SetVarintT(std::forward<VarintTT>(value));
495 return *this;
496 }
498
500
504 inline const Aws::Map<Aws::String, KeyspacesCell>& GetUdtT() const { return m_udtT; }
505 inline bool UdtTHasBeenSet() const { return m_udtTHasBeenSet; }
506 template <typename UdtTT = Aws::Map<Aws::String, KeyspacesCell>>
507 void SetUdtT(UdtTT&& value) {
508 m_udtTHasBeenSet = true;
509 m_udtT = std::forward<UdtTT>(value);
510 }
511 template <typename UdtTT = Aws::Map<Aws::String, KeyspacesCell>>
512 KeyspacesCellValue& WithUdtT(UdtTT&& value) {
513 SetUdtT(std::forward<UdtTT>(value));
514 return *this;
515 }
516 template <typename UdtTKeyT = Aws::String, typename UdtTValueT = KeyspacesCell>
517 KeyspacesCellValue& AddUdtT(UdtTKeyT&& key, UdtTValueT&& value) {
518 m_udtTHasBeenSet = true;
519 m_udtT.emplace(std::forward<UdtTKeyT>(key), std::forward<UdtTValueT>(value));
520 return *this;
521 }
523 private:
524 Aws::String m_asciiT;
525
526 Aws::String m_bigintT;
527
528 Aws::Utils::ByteBuffer m_blobT{};
529
530 bool m_boolT{false};
531
532 Aws::String m_counterT;
533
534 Aws::String m_dateT;
535
536 Aws::String m_decimalT;
537
538 Aws::String m_doubleT;
539
540 Aws::String m_floatT;
541
542 Aws::String m_inetT;
543
544 Aws::String m_intT;
545
547
549
551
552 Aws::String m_smallintT;
553
554 Aws::String m_textT;
555
556 Aws::String m_timeT;
557
558 Aws::String m_timestampT;
559
560 Aws::String m_timeuuidT;
561
562 Aws::String m_tinyintT;
563
565
566 Aws::String m_uuidT;
567
568 Aws::String m_varcharT;
569
570 Aws::String m_varintT;
571
573 bool m_asciiTHasBeenSet = false;
574 bool m_bigintTHasBeenSet = false;
575 bool m_blobTHasBeenSet = false;
576 bool m_boolTHasBeenSet = false;
577 bool m_counterTHasBeenSet = false;
578 bool m_dateTHasBeenSet = false;
579 bool m_decimalTHasBeenSet = false;
580 bool m_doubleTHasBeenSet = false;
581 bool m_floatTHasBeenSet = false;
582 bool m_inetTHasBeenSet = false;
583 bool m_intTHasBeenSet = false;
584 bool m_listTHasBeenSet = false;
585 bool m_mapTHasBeenSet = false;
586 bool m_setTHasBeenSet = false;
587 bool m_smallintTHasBeenSet = false;
588 bool m_textTHasBeenSet = false;
589 bool m_timeTHasBeenSet = false;
590 bool m_timestampTHasBeenSet = false;
591 bool m_timeuuidTHasBeenSet = false;
592 bool m_tinyintTHasBeenSet = false;
593 bool m_tupleTHasBeenSet = false;
594 bool m_uuidTHasBeenSet = false;
595 bool m_varcharTHasBeenSet = false;
596 bool m_varintTHasBeenSet = false;
597 bool m_udtTHasBeenSet = false;
598};
599
600} // namespace Model
601} // namespace KeyspacesStreams
602} // 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