AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
RecordsIngested.h
1
6#pragma once
7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace TimestreamWrite {
17namespace Model {
18
26 public:
27 AWS_TIMESTREAMWRITE_API RecordsIngested() = default;
28 AWS_TIMESTREAMWRITE_API RecordsIngested(Aws::Utils::Json::JsonView jsonValue);
29 AWS_TIMESTREAMWRITE_API RecordsIngested& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetTotal() const { return m_total; }
37 inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
38 inline void SetTotal(int value) {
39 m_totalHasBeenSet = true;
40 m_total = value;
41 }
42 inline RecordsIngested& WithTotal(int value) {
43 SetTotal(value);
44 return *this;
45 }
47
49
52 inline int GetMemoryStore() const { return m_memoryStore; }
53 inline bool MemoryStoreHasBeenSet() const { return m_memoryStoreHasBeenSet; }
54 inline void SetMemoryStore(int value) {
55 m_memoryStoreHasBeenSet = true;
56 m_memoryStore = value;
57 }
58 inline RecordsIngested& WithMemoryStore(int value) {
59 SetMemoryStore(value);
60 return *this;
61 }
63
65
68 inline int GetMagneticStore() const { return m_magneticStore; }
69 inline bool MagneticStoreHasBeenSet() const { return m_magneticStoreHasBeenSet; }
70 inline void SetMagneticStore(int value) {
71 m_magneticStoreHasBeenSet = true;
72 m_magneticStore = value;
73 }
75 SetMagneticStore(value);
76 return *this;
77 }
79 private:
80 int m_total{0};
81
82 int m_memoryStore{0};
83
84 int m_magneticStore{0};
85 bool m_totalHasBeenSet = false;
86 bool m_memoryStoreHasBeenSet = false;
87 bool m_magneticStoreHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace TimestreamWrite
92} // namespace Aws
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
RecordsIngested & WithMemoryStore(int value)
RecordsIngested & WithMagneticStore(int value)
AWS_TIMESTREAMWRITE_API RecordsIngested()=default
AWS_TIMESTREAMWRITE_API RecordsIngested(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API RecordsIngested & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue