AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/ReplicaStatus.h>
10#include <aws/dynamodb/model/ProvisionedThroughputOverride.h>
11#include <aws/dynamodb/model/OnDemandThroughputOverride.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/dynamodb/model/TableClassSummary.h>
15#include <aws/dynamodb/model/ReplicaGlobalSecondaryIndexDescription.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace DynamoDB
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_DYNAMODB_API ReplicaDescription();
44 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetRegionName() const{ return m_regionName; }
52 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
53 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
54 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
55 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
56 inline ReplicaDescription& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
57 inline ReplicaDescription& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
58 inline ReplicaDescription& WithRegionName(const char* value) { SetRegionName(value); return *this;}
60
62
78 inline const ReplicaStatus& GetReplicaStatus() const{ return m_replicaStatus; }
79 inline bool ReplicaStatusHasBeenSet() const { return m_replicaStatusHasBeenSet; }
80 inline void SetReplicaStatus(const ReplicaStatus& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = value; }
81 inline void SetReplicaStatus(ReplicaStatus&& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = std::move(value); }
82 inline ReplicaDescription& WithReplicaStatus(const ReplicaStatus& value) { SetReplicaStatus(value); return *this;}
83 inline ReplicaDescription& WithReplicaStatus(ReplicaStatus&& value) { SetReplicaStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetReplicaStatusDescription() const{ return m_replicaStatusDescription; }
91 inline bool ReplicaStatusDescriptionHasBeenSet() const { return m_replicaStatusDescriptionHasBeenSet; }
92 inline void SetReplicaStatusDescription(const Aws::String& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = value; }
93 inline void SetReplicaStatusDescription(Aws::String&& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = std::move(value); }
94 inline void SetReplicaStatusDescription(const char* value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription.assign(value); }
97 inline ReplicaDescription& WithReplicaStatusDescription(const char* value) { SetReplicaStatusDescription(value); return *this;}
99
101
105 inline const Aws::String& GetReplicaStatusPercentProgress() const{ return m_replicaStatusPercentProgress; }
106 inline bool ReplicaStatusPercentProgressHasBeenSet() const { return m_replicaStatusPercentProgressHasBeenSet; }
107 inline void SetReplicaStatusPercentProgress(const Aws::String& value) { m_replicaStatusPercentProgressHasBeenSet = true; m_replicaStatusPercentProgress = value; }
108 inline void SetReplicaStatusPercentProgress(Aws::String&& value) { m_replicaStatusPercentProgressHasBeenSet = true; m_replicaStatusPercentProgress = std::move(value); }
109 inline void SetReplicaStatusPercentProgress(const char* value) { m_replicaStatusPercentProgressHasBeenSet = true; m_replicaStatusPercentProgress.assign(value); }
114
116
119 inline const Aws::String& GetKMSMasterKeyId() const{ return m_kMSMasterKeyId; }
120 inline bool KMSMasterKeyIdHasBeenSet() const { return m_kMSMasterKeyIdHasBeenSet; }
121 inline void SetKMSMasterKeyId(const Aws::String& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = value; }
122 inline void SetKMSMasterKeyId(Aws::String&& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = std::move(value); }
123 inline void SetKMSMasterKeyId(const char* value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId.assign(value); }
124 inline ReplicaDescription& WithKMSMasterKeyId(const Aws::String& value) { SetKMSMasterKeyId(value); return *this;}
125 inline ReplicaDescription& WithKMSMasterKeyId(Aws::String&& value) { SetKMSMasterKeyId(std::move(value)); return *this;}
126 inline ReplicaDescription& WithKMSMasterKeyId(const char* value) { SetKMSMasterKeyId(value); return *this;}
128
130
134 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const{ return m_provisionedThroughputOverride; }
135 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
136 inline void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = value; }
137 inline void SetProvisionedThroughputOverride(ProvisionedThroughputOverride&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::move(value); }
141
143
147 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const{ return m_onDemandThroughputOverride; }
148 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
149 inline void SetOnDemandThroughputOverride(const OnDemandThroughputOverride& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = value; }
150 inline void SetOnDemandThroughputOverride(OnDemandThroughputOverride&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::move(value); }
154
156
159 inline const Aws::Vector<ReplicaGlobalSecondaryIndexDescription>& GetGlobalSecondaryIndexes() const{ return m_globalSecondaryIndexes; }
160 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
161 inline void SetGlobalSecondaryIndexes(const Aws::Vector<ReplicaGlobalSecondaryIndexDescription>& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = value; }
162 inline void SetGlobalSecondaryIndexes(Aws::Vector<ReplicaGlobalSecondaryIndexDescription>&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::move(value); }
165 inline ReplicaDescription& AddGlobalSecondaryIndexes(const ReplicaGlobalSecondaryIndexDescription& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; }
166 inline ReplicaDescription& AddGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndexDescription&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; }
168
170
175 inline const Aws::Utils::DateTime& GetReplicaInaccessibleDateTime() const{ return m_replicaInaccessibleDateTime; }
176 inline bool ReplicaInaccessibleDateTimeHasBeenSet() const { return m_replicaInaccessibleDateTimeHasBeenSet; }
177 inline void SetReplicaInaccessibleDateTime(const Aws::Utils::DateTime& value) { m_replicaInaccessibleDateTimeHasBeenSet = true; m_replicaInaccessibleDateTime = value; }
178 inline void SetReplicaInaccessibleDateTime(Aws::Utils::DateTime&& value) { m_replicaInaccessibleDateTimeHasBeenSet = true; m_replicaInaccessibleDateTime = std::move(value); }
182
184
185 inline const TableClassSummary& GetReplicaTableClassSummary() const{ return m_replicaTableClassSummary; }
186 inline bool ReplicaTableClassSummaryHasBeenSet() const { return m_replicaTableClassSummaryHasBeenSet; }
187 inline void SetReplicaTableClassSummary(const TableClassSummary& value) { m_replicaTableClassSummaryHasBeenSet = true; m_replicaTableClassSummary = value; }
188 inline void SetReplicaTableClassSummary(TableClassSummary&& value) { m_replicaTableClassSummaryHasBeenSet = true; m_replicaTableClassSummary = std::move(value); }
192 private:
193
194 Aws::String m_regionName;
195 bool m_regionNameHasBeenSet = false;
196
197 ReplicaStatus m_replicaStatus;
198 bool m_replicaStatusHasBeenSet = false;
199
200 Aws::String m_replicaStatusDescription;
201 bool m_replicaStatusDescriptionHasBeenSet = false;
202
203 Aws::String m_replicaStatusPercentProgress;
204 bool m_replicaStatusPercentProgressHasBeenSet = false;
205
206 Aws::String m_kMSMasterKeyId;
207 bool m_kMSMasterKeyIdHasBeenSet = false;
208
209 ProvisionedThroughputOverride m_provisionedThroughputOverride;
210 bool m_provisionedThroughputOverrideHasBeenSet = false;
211
212 OnDemandThroughputOverride m_onDemandThroughputOverride;
213 bool m_onDemandThroughputOverrideHasBeenSet = false;
214
216 bool m_globalSecondaryIndexesHasBeenSet = false;
217
218 Aws::Utils::DateTime m_replicaInaccessibleDateTime;
219 bool m_replicaInaccessibleDateTimeHasBeenSet = false;
220
221 TableClassSummary m_replicaTableClassSummary;
222 bool m_replicaTableClassSummaryHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace DynamoDB
227} // namespace Aws
const Aws::Vector< ReplicaGlobalSecondaryIndexDescription > & GetGlobalSecondaryIndexes() const
void SetReplicaInaccessibleDateTime(const Aws::Utils::DateTime &value)
ReplicaDescription & WithReplicaStatusPercentProgress(const Aws::String &value)
const TableClassSummary & GetReplicaTableClassSummary() const
void SetReplicaTableClassSummary(TableClassSummary &&value)
void SetReplicaStatusPercentProgress(const Aws::String &value)
const Aws::String & GetReplicaStatusPercentProgress() const
ReplicaDescription & WithGlobalSecondaryIndexes(const Aws::Vector< ReplicaGlobalSecondaryIndexDescription > &value)
const Aws::String & GetKMSMasterKeyId() const
ReplicaDescription & WithGlobalSecondaryIndexes(Aws::Vector< ReplicaGlobalSecondaryIndexDescription > &&value)
ReplicaDescription & WithReplicaStatus(ReplicaStatus &&value)
void SetReplicaStatusDescription(Aws::String &&value)
const OnDemandThroughputOverride & GetOnDemandThroughputOverride() const
ReplicaDescription & WithReplicaStatusDescription(const Aws::String &value)
const Aws::String & GetRegionName() const
ReplicaDescription & WithRegionName(Aws::String &&value)
void SetReplicaStatusDescription(const Aws::String &value)
void SetOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
ReplicaDescription & WithRegionName(const Aws::String &value)
ReplicaDescription & WithProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
ReplicaDescription & WithOnDemandThroughputOverride(OnDemandThroughputOverride &&value)
void SetReplicaInaccessibleDateTime(Aws::Utils::DateTime &&value)
void SetProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
ReplicaDescription & WithReplicaTableClassSummary(const TableClassSummary &value)
ReplicaDescription & WithReplicaInaccessibleDateTime(Aws::Utils::DateTime &&value)
void SetReplicaStatusDescription(const char *value)
void SetKMSMasterKeyId(const Aws::String &value)
void SetRegionName(const Aws::String &value)
ReplicaDescription & WithReplicaStatusDescription(const char *value)
ReplicaDescription & WithKMSMasterKeyId(const Aws::String &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ReplicaDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicaDescription & WithKMSMasterKeyId(const char *value)
ReplicaDescription & WithReplicaStatusDescription(Aws::String &&value)
void SetOnDemandThroughputOverride(OnDemandThroughputOverride &&value)
const Aws::Utils::DateTime & GetReplicaInaccessibleDateTime() const
ReplicaDescription & AddGlobalSecondaryIndexes(const ReplicaGlobalSecondaryIndexDescription &value)
ReplicaDescription & WithReplicaInaccessibleDateTime(const Aws::Utils::DateTime &value)
ReplicaDescription & WithReplicaStatusPercentProgress(const char *value)
AWS_DYNAMODB_API ReplicaDescription(Aws::Utils::Json::JsonView jsonValue)
void SetReplicaStatusPercentProgress(Aws::String &&value)
void SetReplicaStatus(const ReplicaStatus &value)
ReplicaDescription & WithReplicaTableClassSummary(TableClassSummary &&value)
ReplicaDescription & WithOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
void SetGlobalSecondaryIndexes(Aws::Vector< ReplicaGlobalSecondaryIndexDescription > &&value)
const Aws::String & GetReplicaStatusDescription() const
void SetReplicaStatus(ReplicaStatus &&value)
void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
const ReplicaStatus & GetReplicaStatus() const
ReplicaDescription & WithKMSMasterKeyId(Aws::String &&value)
ReplicaDescription & WithProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
const ProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
ReplicaDescription & WithReplicaStatusPercentProgress(Aws::String &&value)
ReplicaDescription & WithReplicaStatus(const ReplicaStatus &value)
void SetGlobalSecondaryIndexes(const Aws::Vector< ReplicaGlobalSecondaryIndexDescription > &value)
ReplicaDescription & AddGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndexDescription &&value)
void SetReplicaTableClassSummary(const TableClassSummary &value)
ReplicaDescription & WithRegionName(const char *value)
void SetReplicaStatusPercentProgress(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