AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
190 inline const Aws::String& GetDurationT() const { return m_durationT; }
191 inline bool DurationTHasBeenSet() const { return m_durationTHasBeenSet; }
192 template <typename DurationTT = Aws::String>
193 void SetDurationT(DurationTT&& value) {
194 m_durationTHasBeenSet = true;
195 m_durationT = std::forward<DurationTT>(value);
196 }
197 template <typename DurationTT = Aws::String>
198 KeyspacesCellValue& WithDurationT(DurationTT&& value) {
199 SetDurationT(std::forward<DurationTT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetFloatT() const { return m_floatT; }
209 inline bool FloatTHasBeenSet() const { return m_floatTHasBeenSet; }
210 template <typename FloatTT = Aws::String>
211 void SetFloatT(FloatTT&& value) {
212 m_floatTHasBeenSet = true;
213 m_floatT = std::forward<FloatTT>(value);
214 }
215 template <typename FloatTT = Aws::String>
216 KeyspacesCellValue& WithFloatT(FloatTT&& value) {
217 SetFloatT(std::forward<FloatTT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::String& GetInetT() const { return m_inetT; }
227 inline bool InetTHasBeenSet() const { return m_inetTHasBeenSet; }
228 template <typename InetTT = Aws::String>
229 void SetInetT(InetTT&& value) {
230 m_inetTHasBeenSet = true;
231 m_inetT = std::forward<InetTT>(value);
232 }
233 template <typename InetTT = Aws::String>
234 KeyspacesCellValue& WithInetT(InetTT&& value) {
235 SetInetT(std::forward<InetTT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::String& GetIntT() const { return m_intT; }
245 inline bool IntTHasBeenSet() const { return m_intTHasBeenSet; }
246 template <typename IntTT = Aws::String>
247 void SetIntT(IntTT&& value) {
248 m_intTHasBeenSet = true;
249 m_intT = std::forward<IntTT>(value);
250 }
251 template <typename IntTT = Aws::String>
252 KeyspacesCellValue& WithIntT(IntTT&& value) {
253 SetIntT(std::forward<IntTT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::Vector<KeyspacesCell>& GetListT() const { return m_listT; }
263 inline bool ListTHasBeenSet() const { return m_listTHasBeenSet; }
264 template <typename ListTT = Aws::Vector<KeyspacesCell>>
265 void SetListT(ListTT&& value) {
266 m_listTHasBeenSet = true;
267 m_listT = std::forward<ListTT>(value);
268 }
269 template <typename ListTT = Aws::Vector<KeyspacesCell>>
270 KeyspacesCellValue& WithListT(ListTT&& value) {
271 SetListT(std::forward<ListTT>(value));
272 return *this;
273 }
274 template <typename ListTT = KeyspacesCell>
275 KeyspacesCellValue& AddListT(ListTT&& value) {
276 m_listTHasBeenSet = true;
277 m_listT.emplace_back(std::forward<ListTT>(value));
278 return *this;
279 }
281
283
286 inline const Aws::Vector<KeyspacesCellMapDefinition>& GetMapT() const { return m_mapT; }
287 inline bool MapTHasBeenSet() const { return m_mapTHasBeenSet; }
288 template <typename MapTT = Aws::Vector<KeyspacesCellMapDefinition>>
289 void SetMapT(MapTT&& value) {
290 m_mapTHasBeenSet = true;
291 m_mapT = std::forward<MapTT>(value);
292 }
293 template <typename MapTT = Aws::Vector<KeyspacesCellMapDefinition>>
294 KeyspacesCellValue& WithMapT(MapTT&& value) {
295 SetMapT(std::forward<MapTT>(value));
296 return *this;
297 }
298 template <typename MapTT = KeyspacesCellMapDefinition>
299 KeyspacesCellValue& AddMapT(MapTT&& value) {
300 m_mapTHasBeenSet = true;
301 m_mapT.emplace_back(std::forward<MapTT>(value));
302 return *this;
303 }
305
307
310 inline const Aws::Vector<KeyspacesCell>& GetSetT() const { return m_setT; }
311 inline bool SetTHasBeenSet() const { return m_setTHasBeenSet; }
312 template <typename SetTT = Aws::Vector<KeyspacesCell>>
313 void SetSetT(SetTT&& value) {
314 m_setTHasBeenSet = true;
315 m_setT = std::forward<SetTT>(value);
316 }
317 template <typename SetTT = Aws::Vector<KeyspacesCell>>
318 KeyspacesCellValue& WithSetT(SetTT&& value) {
319 SetSetT(std::forward<SetTT>(value));
320 return *this;
321 }
322 template <typename SetTT = KeyspacesCell>
323 KeyspacesCellValue& AddSetT(SetTT&& value) {
324 m_setTHasBeenSet = true;
325 m_setT.emplace_back(std::forward<SetTT>(value));
326 return *this;
327 }
329
331
334 inline const Aws::String& GetSmallintT() const { return m_smallintT; }
335 inline bool SmallintTHasBeenSet() const { return m_smallintTHasBeenSet; }
336 template <typename SmallintTT = Aws::String>
337 void SetSmallintT(SmallintTT&& value) {
338 m_smallintTHasBeenSet = true;
339 m_smallintT = std::forward<SmallintTT>(value);
340 }
341 template <typename SmallintTT = Aws::String>
342 KeyspacesCellValue& WithSmallintT(SmallintTT&& value) {
343 SetSmallintT(std::forward<SmallintTT>(value));
344 return *this;
345 }
347
349
352 inline const Aws::String& GetTextT() const { return m_textT; }
353 inline bool TextTHasBeenSet() const { return m_textTHasBeenSet; }
354 template <typename TextTT = Aws::String>
355 void SetTextT(TextTT&& value) {
356 m_textTHasBeenSet = true;
357 m_textT = std::forward<TextTT>(value);
358 }
359 template <typename TextTT = Aws::String>
360 KeyspacesCellValue& WithTextT(TextTT&& value) {
361 SetTextT(std::forward<TextTT>(value));
362 return *this;
363 }
365
367
370 inline const Aws::String& GetTimeT() const { return m_timeT; }
371 inline bool TimeTHasBeenSet() const { return m_timeTHasBeenSet; }
372 template <typename TimeTT = Aws::String>
373 void SetTimeT(TimeTT&& value) {
374 m_timeTHasBeenSet = true;
375 m_timeT = std::forward<TimeTT>(value);
376 }
377 template <typename TimeTT = Aws::String>
378 KeyspacesCellValue& WithTimeT(TimeTT&& value) {
379 SetTimeT(std::forward<TimeTT>(value));
380 return *this;
381 }
383
385
388 inline const Aws::String& GetTimestampT() const { return m_timestampT; }
389 inline bool TimestampTHasBeenSet() const { return m_timestampTHasBeenSet; }
390 template <typename TimestampTT = Aws::String>
391 void SetTimestampT(TimestampTT&& value) {
392 m_timestampTHasBeenSet = true;
393 m_timestampT = std::forward<TimestampTT>(value);
394 }
395 template <typename TimestampTT = Aws::String>
396 KeyspacesCellValue& WithTimestampT(TimestampTT&& value) {
397 SetTimestampT(std::forward<TimestampTT>(value));
398 return *this;
399 }
401
403
407 inline const Aws::String& GetTimeuuidT() const { return m_timeuuidT; }
408 inline bool TimeuuidTHasBeenSet() const { return m_timeuuidTHasBeenSet; }
409 template <typename TimeuuidTT = Aws::String>
410 void SetTimeuuidT(TimeuuidTT&& value) {
411 m_timeuuidTHasBeenSet = true;
412 m_timeuuidT = std::forward<TimeuuidTT>(value);
413 }
414 template <typename TimeuuidTT = Aws::String>
415 KeyspacesCellValue& WithTimeuuidT(TimeuuidTT&& value) {
416 SetTimeuuidT(std::forward<TimeuuidTT>(value));
417 return *this;
418 }
420
422
425 inline const Aws::String& GetTinyintT() const { return m_tinyintT; }
426 inline bool TinyintTHasBeenSet() const { return m_tinyintTHasBeenSet; }
427 template <typename TinyintTT = Aws::String>
428 void SetTinyintT(TinyintTT&& value) {
429 m_tinyintTHasBeenSet = true;
430 m_tinyintT = std::forward<TinyintTT>(value);
431 }
432 template <typename TinyintTT = Aws::String>
433 KeyspacesCellValue& WithTinyintT(TinyintTT&& value) {
434 SetTinyintT(std::forward<TinyintTT>(value));
435 return *this;
436 }
438
440
444 inline const Aws::Vector<KeyspacesCell>& GetTupleT() const { return m_tupleT; }
445 inline bool TupleTHasBeenSet() const { return m_tupleTHasBeenSet; }
446 template <typename TupleTT = Aws::Vector<KeyspacesCell>>
447 void SetTupleT(TupleTT&& value) {
448 m_tupleTHasBeenSet = true;
449 m_tupleT = std::forward<TupleTT>(value);
450 }
451 template <typename TupleTT = Aws::Vector<KeyspacesCell>>
452 KeyspacesCellValue& WithTupleT(TupleTT&& value) {
453 SetTupleT(std::forward<TupleTT>(value));
454 return *this;
455 }
456 template <typename TupleTT = KeyspacesCell>
457 KeyspacesCellValue& AddTupleT(TupleTT&& value) {
458 m_tupleTHasBeenSet = true;
459 m_tupleT.emplace_back(std::forward<TupleTT>(value));
460 return *this;
461 }
463
465
468 inline const Aws::String& GetUuidT() const { return m_uuidT; }
469 inline bool UuidTHasBeenSet() const { return m_uuidTHasBeenSet; }
470 template <typename UuidTT = Aws::String>
471 void SetUuidT(UuidTT&& value) {
472 m_uuidTHasBeenSet = true;
473 m_uuidT = std::forward<UuidTT>(value);
474 }
475 template <typename UuidTT = Aws::String>
476 KeyspacesCellValue& WithUuidT(UuidTT&& value) {
477 SetUuidT(std::forward<UuidTT>(value));
478 return *this;
479 }
481
483
486 inline const Aws::String& GetVarcharT() const { return m_varcharT; }
487 inline bool VarcharTHasBeenSet() const { return m_varcharTHasBeenSet; }
488 template <typename VarcharTT = Aws::String>
489 void SetVarcharT(VarcharTT&& value) {
490 m_varcharTHasBeenSet = true;
491 m_varcharT = std::forward<VarcharTT>(value);
492 }
493 template <typename VarcharTT = Aws::String>
494 KeyspacesCellValue& WithVarcharT(VarcharTT&& value) {
495 SetVarcharT(std::forward<VarcharTT>(value));
496 return *this;
497 }
499
501
504 inline const Aws::String& GetVarintT() const { return m_varintT; }
505 inline bool VarintTHasBeenSet() const { return m_varintTHasBeenSet; }
506 template <typename VarintTT = Aws::String>
507 void SetVarintT(VarintTT&& value) {
508 m_varintTHasBeenSet = true;
509 m_varintT = std::forward<VarintTT>(value);
510 }
511 template <typename VarintTT = Aws::String>
512 KeyspacesCellValue& WithVarintT(VarintTT&& value) {
513 SetVarintT(std::forward<VarintTT>(value));
514 return *this;
515 }
517
519
523 inline const Aws::Map<Aws::String, KeyspacesCell>& GetUdtT() const { return m_udtT; }
524 inline bool UdtTHasBeenSet() const { return m_udtTHasBeenSet; }
525 template <typename UdtTT = Aws::Map<Aws::String, KeyspacesCell>>
526 void SetUdtT(UdtTT&& value) {
527 m_udtTHasBeenSet = true;
528 m_udtT = std::forward<UdtTT>(value);
529 }
530 template <typename UdtTT = Aws::Map<Aws::String, KeyspacesCell>>
531 KeyspacesCellValue& WithUdtT(UdtTT&& value) {
532 SetUdtT(std::forward<UdtTT>(value));
533 return *this;
534 }
535 template <typename UdtTKeyT = Aws::String, typename UdtTValueT = KeyspacesCell>
536 KeyspacesCellValue& AddUdtT(UdtTKeyT&& key, UdtTValueT&& value) {
537 m_udtTHasBeenSet = true;
538 m_udtT.emplace(std::forward<UdtTKeyT>(key), std::forward<UdtTValueT>(value));
539 return *this;
540 }
542 private:
543 Aws::String m_asciiT;
544
545 Aws::String m_bigintT;
546
547 Aws::Utils::ByteBuffer m_blobT{};
548
549 bool m_boolT{false};
550
551 Aws::String m_counterT;
552
553 Aws::String m_dateT;
554
555 Aws::String m_decimalT;
556
557 Aws::String m_doubleT;
558
559 Aws::String m_durationT;
560
561 Aws::String m_floatT;
562
563 Aws::String m_inetT;
564
565 Aws::String m_intT;
566
568
570
572
573 Aws::String m_smallintT;
574
575 Aws::String m_textT;
576
577 Aws::String m_timeT;
578
579 Aws::String m_timestampT;
580
581 Aws::String m_timeuuidT;
582
583 Aws::String m_tinyintT;
584
586
587 Aws::String m_uuidT;
588
589 Aws::String m_varcharT;
590
591 Aws::String m_varintT;
592
594 bool m_asciiTHasBeenSet = false;
595 bool m_bigintTHasBeenSet = false;
596 bool m_blobTHasBeenSet = false;
597 bool m_boolTHasBeenSet = false;
598 bool m_counterTHasBeenSet = false;
599 bool m_dateTHasBeenSet = false;
600 bool m_decimalTHasBeenSet = false;
601 bool m_doubleTHasBeenSet = false;
602 bool m_durationTHasBeenSet = false;
603 bool m_floatTHasBeenSet = false;
604 bool m_inetTHasBeenSet = false;
605 bool m_intTHasBeenSet = false;
606 bool m_listTHasBeenSet = false;
607 bool m_mapTHasBeenSet = false;
608 bool m_setTHasBeenSet = false;
609 bool m_smallintTHasBeenSet = false;
610 bool m_textTHasBeenSet = false;
611 bool m_timeTHasBeenSet = false;
612 bool m_timestampTHasBeenSet = false;
613 bool m_timeuuidTHasBeenSet = false;
614 bool m_tinyintTHasBeenSet = false;
615 bool m_tupleTHasBeenSet = false;
616 bool m_uuidTHasBeenSet = false;
617 bool m_varcharTHasBeenSet = false;
618 bool m_varintTHasBeenSet = false;
619 bool m_udtTHasBeenSet = false;
620};
621
622} // namespace Model
623} // namespace KeyspacesStreams
624} // 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)
KeyspacesCellValue & WithDurationT(DurationTT &&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