AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceTableDetails.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dynamodb/model/ProvisionedThroughput.h>
12#include <aws/dynamodb/model/OnDemandThroughput.h>
13#include <aws/dynamodb/model/BillingMode.h>
14#include <aws/dynamodb/model/KeySchemaElement.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DynamoDB
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_DYNAMODB_API SourceTableDetails();
44 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetTableName() const{ return m_tableName; }
52 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
53 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
54 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
55 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
56 inline SourceTableDetails& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
57 inline SourceTableDetails& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
58 inline SourceTableDetails& WithTableName(const char* value) { SetTableName(value); return *this;}
60
62
65 inline const Aws::String& GetTableId() const{ return m_tableId; }
66 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
67 inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; }
68 inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); }
69 inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); }
70 inline SourceTableDetails& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
71 inline SourceTableDetails& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
72 inline SourceTableDetails& WithTableId(const char* value) { SetTableId(value); return *this;}
74
76
79 inline const Aws::String& GetTableArn() const{ return m_tableArn; }
80 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
81 inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; }
82 inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); }
83 inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); }
84 inline SourceTableDetails& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;}
85 inline SourceTableDetails& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;}
86 inline SourceTableDetails& WithTableArn(const char* value) { SetTableArn(value); return *this;}
88
90
93 inline long long GetTableSizeBytes() const{ return m_tableSizeBytes; }
94 inline bool TableSizeBytesHasBeenSet() const { return m_tableSizeBytesHasBeenSet; }
95 inline void SetTableSizeBytes(long long value) { m_tableSizeBytesHasBeenSet = true; m_tableSizeBytes = value; }
96 inline SourceTableDetails& WithTableSizeBytes(long long value) { SetTableSizeBytes(value); return *this;}
98
100
103 inline const Aws::Vector<KeySchemaElement>& GetKeySchema() const{ return m_keySchema; }
104 inline bool KeySchemaHasBeenSet() const { return m_keySchemaHasBeenSet; }
105 inline void SetKeySchema(const Aws::Vector<KeySchemaElement>& value) { m_keySchemaHasBeenSet = true; m_keySchema = value; }
106 inline void SetKeySchema(Aws::Vector<KeySchemaElement>&& value) { m_keySchemaHasBeenSet = true; m_keySchema = std::move(value); }
107 inline SourceTableDetails& WithKeySchema(const Aws::Vector<KeySchemaElement>& value) { SetKeySchema(value); return *this;}
108 inline SourceTableDetails& WithKeySchema(Aws::Vector<KeySchemaElement>&& value) { SetKeySchema(std::move(value)); return *this;}
109 inline SourceTableDetails& AddKeySchema(const KeySchemaElement& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(value); return *this; }
110 inline SourceTableDetails& AddKeySchema(KeySchemaElement&& value) { m_keySchemaHasBeenSet = true; m_keySchema.push_back(std::move(value)); return *this; }
112
114
117 inline const Aws::Utils::DateTime& GetTableCreationDateTime() const{ return m_tableCreationDateTime; }
118 inline bool TableCreationDateTimeHasBeenSet() const { return m_tableCreationDateTimeHasBeenSet; }
119 inline void SetTableCreationDateTime(const Aws::Utils::DateTime& value) { m_tableCreationDateTimeHasBeenSet = true; m_tableCreationDateTime = value; }
120 inline void SetTableCreationDateTime(Aws::Utils::DateTime&& value) { m_tableCreationDateTimeHasBeenSet = true; m_tableCreationDateTime = std::move(value); }
124
126
129 inline const ProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; }
130 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
131 inline void SetProvisionedThroughput(const ProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; }
132 inline void SetProvisionedThroughput(ProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); }
136
138
139 inline const OnDemandThroughput& GetOnDemandThroughput() const{ return m_onDemandThroughput; }
140 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
141 inline void SetOnDemandThroughput(const OnDemandThroughput& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = value; }
142 inline void SetOnDemandThroughput(OnDemandThroughput&& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = std::move(value); }
144 inline SourceTableDetails& WithOnDemandThroughput(OnDemandThroughput&& value) { SetOnDemandThroughput(std::move(value)); return *this;}
146
148
151 inline long long GetItemCount() const{ return m_itemCount; }
152 inline bool ItemCountHasBeenSet() const { return m_itemCountHasBeenSet; }
153 inline void SetItemCount(long long value) { m_itemCountHasBeenSet = true; m_itemCount = value; }
154 inline SourceTableDetails& WithItemCount(long long value) { SetItemCount(value); return *this;}
156
158
167 inline const BillingMode& GetBillingMode() const{ return m_billingMode; }
168 inline bool BillingModeHasBeenSet() const { return m_billingModeHasBeenSet; }
169 inline void SetBillingMode(const BillingMode& value) { m_billingModeHasBeenSet = true; m_billingMode = value; }
170 inline void SetBillingMode(BillingMode&& value) { m_billingModeHasBeenSet = true; m_billingMode = std::move(value); }
171 inline SourceTableDetails& WithBillingMode(const BillingMode& value) { SetBillingMode(value); return *this;}
172 inline SourceTableDetails& WithBillingMode(BillingMode&& value) { SetBillingMode(std::move(value)); return *this;}
174 private:
175
176 Aws::String m_tableName;
177 bool m_tableNameHasBeenSet = false;
178
179 Aws::String m_tableId;
180 bool m_tableIdHasBeenSet = false;
181
182 Aws::String m_tableArn;
183 bool m_tableArnHasBeenSet = false;
184
185 long long m_tableSizeBytes;
186 bool m_tableSizeBytesHasBeenSet = false;
187
189 bool m_keySchemaHasBeenSet = false;
190
191 Aws::Utils::DateTime m_tableCreationDateTime;
192 bool m_tableCreationDateTimeHasBeenSet = false;
193
194 ProvisionedThroughput m_provisionedThroughput;
195 bool m_provisionedThroughputHasBeenSet = false;
196
197 OnDemandThroughput m_onDemandThroughput;
198 bool m_onDemandThroughputHasBeenSet = false;
199
200 long long m_itemCount;
201 bool m_itemCountHasBeenSet = false;
202
203 BillingMode m_billingMode;
204 bool m_billingModeHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace DynamoDB
209} // namespace Aws
SourceTableDetails & WithTableCreationDateTime(const Aws::Utils::DateTime &value)
SourceTableDetails & WithProvisionedThroughput(ProvisionedThroughput &&value)
SourceTableDetails & WithTableId(const char *value)
const Aws::Utils::DateTime & GetTableCreationDateTime() const
const ProvisionedThroughput & GetProvisionedThroughput() const
SourceTableDetails & WithBillingMode(const BillingMode &value)
SourceTableDetails & WithTableSizeBytes(long long value)
SourceTableDetails & WithTableId(const Aws::String &value)
void SetTableCreationDateTime(Aws::Utils::DateTime &&value)
SourceTableDetails & WithTableId(Aws::String &&value)
SourceTableDetails & WithTableArn(const Aws::String &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTableName(const Aws::String &value)
void SetProvisionedThroughput(const ProvisionedThroughput &value)
SourceTableDetails & AddKeySchema(const KeySchemaElement &value)
SourceTableDetails & WithOnDemandThroughput(OnDemandThroughput &&value)
SourceTableDetails & WithOnDemandThroughput(const OnDemandThroughput &value)
SourceTableDetails & WithKeySchema(const Aws::Vector< KeySchemaElement > &value)
SourceTableDetails & WithItemCount(long long value)
SourceTableDetails & WithTableArn(const char *value)
SourceTableDetails & WithTableName(Aws::String &&value)
void SetProvisionedThroughput(ProvisionedThroughput &&value)
void SetOnDemandThroughput(const OnDemandThroughput &value)
void SetBillingMode(const BillingMode &value)
const OnDemandThroughput & GetOnDemandThroughput() const
SourceTableDetails & WithTableCreationDateTime(Aws::Utils::DateTime &&value)
void SetKeySchema(const Aws::Vector< KeySchemaElement > &value)
SourceTableDetails & WithTableName(const Aws::String &value)
AWS_DYNAMODB_API SourceTableDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTableCreationDateTime(const Aws::Utils::DateTime &value)
void SetTableArn(const Aws::String &value)
SourceTableDetails & AddKeySchema(KeySchemaElement &&value)
void SetOnDemandThroughput(OnDemandThroughput &&value)
SourceTableDetails & WithProvisionedThroughput(const ProvisionedThroughput &value)
AWS_DYNAMODB_API SourceTableDetails(Aws::Utils::Json::JsonView jsonValue)
SourceTableDetails & WithKeySchema(Aws::Vector< KeySchemaElement > &&value)
void SetTableId(const Aws::String &value)
void SetKeySchema(Aws::Vector< KeySchemaElement > &&value)
const Aws::Vector< KeySchemaElement > & GetKeySchema() const
SourceTableDetails & WithTableArn(Aws::String &&value)
SourceTableDetails & WithBillingMode(BillingMode &&value)
SourceTableDetails & WithTableName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue