AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateReplicationGroupMemberAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/OnDemandThroughputOverride.h>
11#include <aws/dynamodb/model/ProvisionedThroughputOverride.h>
12#include <aws/dynamodb/model/ReplicaGlobalSecondaryIndex.h>
13#include <aws/dynamodb/model/TableClass.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB {
25namespace Model {
26
33 public:
34 AWS_DYNAMODB_API UpdateReplicationGroupMemberAction() = default;
37 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetRegionName() const { return m_regionName; }
44 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
45 template <typename RegionNameT = Aws::String>
46 void SetRegionName(RegionNameT&& value) {
47 m_regionNameHasBeenSet = true;
48 m_regionName = std::forward<RegionNameT>(value);
49 }
50 template <typename RegionNameT = Aws::String>
52 SetRegionName(std::forward<RegionNameT>(value));
53 return *this;
54 }
56
58
64 inline const Aws::String& GetKMSMasterKeyId() const { return m_kMSMasterKeyId; }
65 inline bool KMSMasterKeyIdHasBeenSet() const { return m_kMSMasterKeyIdHasBeenSet; }
66 template <typename KMSMasterKeyIdT = Aws::String>
67 void SetKMSMasterKeyId(KMSMasterKeyIdT&& value) {
68 m_kMSMasterKeyIdHasBeenSet = true;
69 m_kMSMasterKeyId = std::forward<KMSMasterKeyIdT>(value);
70 }
71 template <typename KMSMasterKeyIdT = Aws::String>
73 SetKMSMasterKeyId(std::forward<KMSMasterKeyIdT>(value));
74 return *this;
75 }
77
79
83 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const { return m_provisionedThroughputOverride; }
84 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
85 template <typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
86 void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) {
87 m_provisionedThroughputOverrideHasBeenSet = true;
88 m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value);
89 }
90 template <typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
92 SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value));
93 return *this;
94 }
96
98
101 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const { return m_onDemandThroughputOverride; }
102 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
103 template <typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
104 void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) {
105 m_onDemandThroughputOverrideHasBeenSet = true;
106 m_onDemandThroughputOverride = std::forward<OnDemandThroughputOverrideT>(value);
107 }
108 template <typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
110 SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Vector<ReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const { return m_globalSecondaryIndexes; }
120 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
121 template <typename GlobalSecondaryIndexesT = Aws::Vector<ReplicaGlobalSecondaryIndex>>
122 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
123 m_globalSecondaryIndexesHasBeenSet = true;
124 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
125 }
126 template <typename GlobalSecondaryIndexesT = Aws::Vector<ReplicaGlobalSecondaryIndex>>
128 SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value));
129 return *this;
130 }
131 template <typename GlobalSecondaryIndexesT = ReplicaGlobalSecondaryIndex>
133 m_globalSecondaryIndexesHasBeenSet = true;
134 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
135 return *this;
136 }
138
140
144 inline TableClass GetTableClassOverride() const { return m_tableClassOverride; }
145 inline bool TableClassOverrideHasBeenSet() const { return m_tableClassOverrideHasBeenSet; }
147 m_tableClassOverrideHasBeenSet = true;
148 m_tableClassOverride = value;
149 }
152 return *this;
153 }
155 private:
156 Aws::String m_regionName;
157
158 Aws::String m_kMSMasterKeyId;
159
160 ProvisionedThroughputOverride m_provisionedThroughputOverride;
161
162 OnDemandThroughputOverride m_onDemandThroughputOverride;
163
164 Aws::Vector<ReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
165
166 TableClass m_tableClassOverride{TableClass::NOT_SET};
167 bool m_regionNameHasBeenSet = false;
168 bool m_kMSMasterKeyIdHasBeenSet = false;
169 bool m_provisionedThroughputOverrideHasBeenSet = false;
170 bool m_onDemandThroughputOverrideHasBeenSet = false;
171 bool m_globalSecondaryIndexesHasBeenSet = false;
172 bool m_tableClassOverrideHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace DynamoDB
177} // namespace Aws
const ProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
UpdateReplicationGroupMemberAction & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
UpdateReplicationGroupMemberAction & WithTableClassOverride(TableClass value)
UpdateReplicationGroupMemberAction & WithKMSMasterKeyId(KMSMasterKeyIdT &&value)
UpdateReplicationGroupMemberAction & WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
const Aws::Vector< ReplicaGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
AWS_DYNAMODB_API UpdateReplicationGroupMemberAction(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
AWS_DYNAMODB_API UpdateReplicationGroupMemberAction & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateReplicationGroupMemberAction & WithOnDemandThroughputOverride(OnDemandThroughputOverrideT &&value)
UpdateReplicationGroupMemberAction & WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
UpdateReplicationGroupMemberAction & WithRegionName(RegionNameT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue