AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaSettingsDescription.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/BillingModeSummary.h>
11#include <aws/dynamodb/model/AutoScalingSettingsDescription.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/dynamodb/model/TableClassSummary.h>
14#include <aws/dynamodb/model/ReplicaGlobalSecondaryIndexSettingsDescription.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
38 {
39 public:
40 AWS_DYNAMODB_API ReplicaSettingsDescription();
43 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetRegionName() const{ return m_regionName; }
51 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
52 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
53 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
54 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
55 inline ReplicaSettingsDescription& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
56 inline ReplicaSettingsDescription& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
57 inline ReplicaSettingsDescription& WithRegionName(const char* value) { SetRegionName(value); return *this;}
59
61
68 inline const ReplicaStatus& GetReplicaStatus() const{ return m_replicaStatus; }
69 inline bool ReplicaStatusHasBeenSet() const { return m_replicaStatusHasBeenSet; }
70 inline void SetReplicaStatus(const ReplicaStatus& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = value; }
71 inline void SetReplicaStatus(ReplicaStatus&& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = std::move(value); }
72 inline ReplicaSettingsDescription& WithReplicaStatus(const ReplicaStatus& value) { SetReplicaStatus(value); return *this;}
73 inline ReplicaSettingsDescription& WithReplicaStatus(ReplicaStatus&& value) { SetReplicaStatus(std::move(value)); return *this;}
75
77
80 inline const BillingModeSummary& GetReplicaBillingModeSummary() const{ return m_replicaBillingModeSummary; }
81 inline bool ReplicaBillingModeSummaryHasBeenSet() const { return m_replicaBillingModeSummaryHasBeenSet; }
82 inline void SetReplicaBillingModeSummary(const BillingModeSummary& value) { m_replicaBillingModeSummaryHasBeenSet = true; m_replicaBillingModeSummary = value; }
83 inline void SetReplicaBillingModeSummary(BillingModeSummary&& value) { m_replicaBillingModeSummaryHasBeenSet = true; m_replicaBillingModeSummary = std::move(value); }
87
89
97 inline long long GetReplicaProvisionedReadCapacityUnits() const{ return m_replicaProvisionedReadCapacityUnits; }
98 inline bool ReplicaProvisionedReadCapacityUnitsHasBeenSet() const { return m_replicaProvisionedReadCapacityUnitsHasBeenSet; }
99 inline void SetReplicaProvisionedReadCapacityUnits(long long value) { m_replicaProvisionedReadCapacityUnitsHasBeenSet = true; m_replicaProvisionedReadCapacityUnits = value; }
102
104
107 inline const AutoScalingSettingsDescription& GetReplicaProvisionedReadCapacityAutoScalingSettings() const{ return m_replicaProvisionedReadCapacityAutoScalingSettings; }
108 inline bool ReplicaProvisionedReadCapacityAutoScalingSettingsHasBeenSet() const { return m_replicaProvisionedReadCapacityAutoScalingSettingsHasBeenSet; }
109 inline void SetReplicaProvisionedReadCapacityAutoScalingSettings(const AutoScalingSettingsDescription& value) { m_replicaProvisionedReadCapacityAutoScalingSettingsHasBeenSet = true; m_replicaProvisionedReadCapacityAutoScalingSettings = value; }
110 inline void SetReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription&& value) { m_replicaProvisionedReadCapacityAutoScalingSettingsHasBeenSet = true; m_replicaProvisionedReadCapacityAutoScalingSettings = std::move(value); }
114
116
123 inline long long GetReplicaProvisionedWriteCapacityUnits() const{ return m_replicaProvisionedWriteCapacityUnits; }
124 inline bool ReplicaProvisionedWriteCapacityUnitsHasBeenSet() const { return m_replicaProvisionedWriteCapacityUnitsHasBeenSet; }
125 inline void SetReplicaProvisionedWriteCapacityUnits(long long value) { m_replicaProvisionedWriteCapacityUnitsHasBeenSet = true; m_replicaProvisionedWriteCapacityUnits = value; }
128
130
133 inline const AutoScalingSettingsDescription& GetReplicaProvisionedWriteCapacityAutoScalingSettings() const{ return m_replicaProvisionedWriteCapacityAutoScalingSettings; }
134 inline bool ReplicaProvisionedWriteCapacityAutoScalingSettingsHasBeenSet() const { return m_replicaProvisionedWriteCapacityAutoScalingSettingsHasBeenSet; }
135 inline void SetReplicaProvisionedWriteCapacityAutoScalingSettings(const AutoScalingSettingsDescription& value) { m_replicaProvisionedWriteCapacityAutoScalingSettingsHasBeenSet = true; m_replicaProvisionedWriteCapacityAutoScalingSettings = value; }
136 inline void SetReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription&& value) { m_replicaProvisionedWriteCapacityAutoScalingSettingsHasBeenSet = true; m_replicaProvisionedWriteCapacityAutoScalingSettings = std::move(value); }
140
142
145 inline const Aws::Vector<ReplicaGlobalSecondaryIndexSettingsDescription>& GetReplicaGlobalSecondaryIndexSettings() const{ return m_replicaGlobalSecondaryIndexSettings; }
146 inline bool ReplicaGlobalSecondaryIndexSettingsHasBeenSet() const { return m_replicaGlobalSecondaryIndexSettingsHasBeenSet; }
147 inline void SetReplicaGlobalSecondaryIndexSettings(const Aws::Vector<ReplicaGlobalSecondaryIndexSettingsDescription>& value) { m_replicaGlobalSecondaryIndexSettingsHasBeenSet = true; m_replicaGlobalSecondaryIndexSettings = value; }
148 inline void SetReplicaGlobalSecondaryIndexSettings(Aws::Vector<ReplicaGlobalSecondaryIndexSettingsDescription>&& value) { m_replicaGlobalSecondaryIndexSettingsHasBeenSet = true; m_replicaGlobalSecondaryIndexSettings = std::move(value); }
151 inline ReplicaSettingsDescription& AddReplicaGlobalSecondaryIndexSettings(const ReplicaGlobalSecondaryIndexSettingsDescription& value) { m_replicaGlobalSecondaryIndexSettingsHasBeenSet = true; m_replicaGlobalSecondaryIndexSettings.push_back(value); return *this; }
152 inline ReplicaSettingsDescription& AddReplicaGlobalSecondaryIndexSettings(ReplicaGlobalSecondaryIndexSettingsDescription&& value) { m_replicaGlobalSecondaryIndexSettingsHasBeenSet = true; m_replicaGlobalSecondaryIndexSettings.push_back(std::move(value)); return *this; }
154
156
157 inline const TableClassSummary& GetReplicaTableClassSummary() const{ return m_replicaTableClassSummary; }
158 inline bool ReplicaTableClassSummaryHasBeenSet() const { return m_replicaTableClassSummaryHasBeenSet; }
159 inline void SetReplicaTableClassSummary(const TableClassSummary& value) { m_replicaTableClassSummaryHasBeenSet = true; m_replicaTableClassSummary = value; }
160 inline void SetReplicaTableClassSummary(TableClassSummary&& value) { m_replicaTableClassSummaryHasBeenSet = true; m_replicaTableClassSummary = std::move(value); }
164 private:
165
166 Aws::String m_regionName;
167 bool m_regionNameHasBeenSet = false;
168
169 ReplicaStatus m_replicaStatus;
170 bool m_replicaStatusHasBeenSet = false;
171
172 BillingModeSummary m_replicaBillingModeSummary;
173 bool m_replicaBillingModeSummaryHasBeenSet = false;
174
175 long long m_replicaProvisionedReadCapacityUnits;
176 bool m_replicaProvisionedReadCapacityUnitsHasBeenSet = false;
177
178 AutoScalingSettingsDescription m_replicaProvisionedReadCapacityAutoScalingSettings;
179 bool m_replicaProvisionedReadCapacityAutoScalingSettingsHasBeenSet = false;
180
181 long long m_replicaProvisionedWriteCapacityUnits;
182 bool m_replicaProvisionedWriteCapacityUnitsHasBeenSet = false;
183
184 AutoScalingSettingsDescription m_replicaProvisionedWriteCapacityAutoScalingSettings;
185 bool m_replicaProvisionedWriteCapacityAutoScalingSettingsHasBeenSet = false;
186
187 Aws::Vector<ReplicaGlobalSecondaryIndexSettingsDescription> m_replicaGlobalSecondaryIndexSettings;
188 bool m_replicaGlobalSecondaryIndexSettingsHasBeenSet = false;
189
190 TableClassSummary m_replicaTableClassSummary;
191 bool m_replicaTableClassSummaryHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace DynamoDB
196} // namespace Aws
void SetReplicaProvisionedReadCapacityAutoScalingSettings(const AutoScalingSettingsDescription &value)
ReplicaSettingsDescription & WithReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription &&value)
void SetReplicaGlobalSecondaryIndexSettings(Aws::Vector< ReplicaGlobalSecondaryIndexSettingsDescription > &&value)
const BillingModeSummary & GetReplicaBillingModeSummary() const
ReplicaSettingsDescription & WithReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription &&value)
ReplicaSettingsDescription & WithReplicaBillingModeSummary(const BillingModeSummary &value)
const Aws::Vector< ReplicaGlobalSecondaryIndexSettingsDescription > & GetReplicaGlobalSecondaryIndexSettings() const
ReplicaSettingsDescription & WithReplicaTableClassSummary(TableClassSummary &&value)
const AutoScalingSettingsDescription & GetReplicaProvisionedReadCapacityAutoScalingSettings() const
AWS_DYNAMODB_API ReplicaSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicaSettingsDescription & WithReplicaGlobalSecondaryIndexSettings(Aws::Vector< ReplicaGlobalSecondaryIndexSettingsDescription > &&value)
ReplicaSettingsDescription & WithRegionName(Aws::String &&value)
void SetReplicaProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription &&value)
const AutoScalingSettingsDescription & GetReplicaProvisionedWriteCapacityAutoScalingSettings() const
ReplicaSettingsDescription & AddReplicaGlobalSecondaryIndexSettings(ReplicaGlobalSecondaryIndexSettingsDescription &&value)
ReplicaSettingsDescription & WithReplicaProvisionedReadCapacityAutoScalingSettings(const AutoScalingSettingsDescription &value)
ReplicaSettingsDescription & WithRegionName(const Aws::String &value)
ReplicaSettingsDescription & WithReplicaStatus(ReplicaStatus &&value)
ReplicaSettingsDescription & WithReplicaBillingModeSummary(BillingModeSummary &&value)
void SetReplicaTableClassSummary(const TableClassSummary &value)
ReplicaSettingsDescription & AddReplicaGlobalSecondaryIndexSettings(const ReplicaGlobalSecondaryIndexSettingsDescription &value)
ReplicaSettingsDescription & WithReplicaProvisionedWriteCapacityAutoScalingSettings(const AutoScalingSettingsDescription &value)
ReplicaSettingsDescription & WithReplicaGlobalSecondaryIndexSettings(const Aws::Vector< ReplicaGlobalSecondaryIndexSettingsDescription > &value)
ReplicaSettingsDescription & WithReplicaProvisionedWriteCapacityUnits(long long value)
void SetReplicaGlobalSecondaryIndexSettings(const Aws::Vector< ReplicaGlobalSecondaryIndexSettingsDescription > &value)
ReplicaSettingsDescription & WithRegionName(const char *value)
ReplicaSettingsDescription & WithReplicaTableClassSummary(const TableClassSummary &value)
ReplicaSettingsDescription & WithReplicaProvisionedReadCapacityUnits(long long value)
void SetReplicaProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription &&value)
void SetReplicaProvisionedWriteCapacityAutoScalingSettings(const AutoScalingSettingsDescription &value)
AWS_DYNAMODB_API ReplicaSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
ReplicaSettingsDescription & WithReplicaStatus(const ReplicaStatus &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicaBillingModeSummary(const BillingModeSummary &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