AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReplicationGroupMemberAction.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/ProvisionedThroughputOverride.h>
10#include <aws/dynamodb/model/OnDemandThroughputOverride.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/dynamodb/model/TableClass.h>
13#include <aws/dynamodb/model/ReplicaGlobalSecondaryIndex.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DynamoDB
27{
28namespace Model
29{
30
37 {
38 public:
42 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetRegionName() const{ return m_regionName; }
50 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
51 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
52 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
53 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
54 inline UpdateReplicationGroupMemberAction& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
55 inline UpdateReplicationGroupMemberAction& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
56 inline UpdateReplicationGroupMemberAction& WithRegionName(const char* value) { SetRegionName(value); return *this;}
58
60
66 inline const Aws::String& GetKMSMasterKeyId() const{ return m_kMSMasterKeyId; }
67 inline bool KMSMasterKeyIdHasBeenSet() const { return m_kMSMasterKeyIdHasBeenSet; }
68 inline void SetKMSMasterKeyId(const Aws::String& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = value; }
69 inline void SetKMSMasterKeyId(Aws::String&& value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = std::move(value); }
70 inline void SetKMSMasterKeyId(const char* value) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId.assign(value); }
72 inline UpdateReplicationGroupMemberAction& WithKMSMasterKeyId(Aws::String&& value) { SetKMSMasterKeyId(std::move(value)); return *this;}
73 inline UpdateReplicationGroupMemberAction& WithKMSMasterKeyId(const char* value) { SetKMSMasterKeyId(value); return *this;}
75
77
81 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const{ return m_provisionedThroughputOverride; }
82 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
83 inline void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = value; }
84 inline void SetProvisionedThroughputOverride(ProvisionedThroughputOverride&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::move(value); }
88
90
93 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const{ return m_onDemandThroughputOverride; }
94 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
95 inline void SetOnDemandThroughputOverride(const OnDemandThroughputOverride& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = value; }
96 inline void SetOnDemandThroughputOverride(OnDemandThroughputOverride&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::move(value); }
100
102
105 inline const Aws::Vector<ReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const{ return m_globalSecondaryIndexes; }
106 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
107 inline void SetGlobalSecondaryIndexes(const Aws::Vector<ReplicaGlobalSecondaryIndex>& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = value; }
108 inline void SetGlobalSecondaryIndexes(Aws::Vector<ReplicaGlobalSecondaryIndex>&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::move(value); }
111 inline UpdateReplicationGroupMemberAction& AddGlobalSecondaryIndexes(const ReplicaGlobalSecondaryIndex& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; }
112 inline UpdateReplicationGroupMemberAction& AddGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndex&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; }
114
116
120 inline const TableClass& GetTableClassOverride() const{ return m_tableClassOverride; }
121 inline bool TableClassOverrideHasBeenSet() const { return m_tableClassOverrideHasBeenSet; }
122 inline void SetTableClassOverride(const TableClass& value) { m_tableClassOverrideHasBeenSet = true; m_tableClassOverride = value; }
123 inline void SetTableClassOverride(TableClass&& value) { m_tableClassOverrideHasBeenSet = true; m_tableClassOverride = std::move(value); }
127 private:
128
129 Aws::String m_regionName;
130 bool m_regionNameHasBeenSet = false;
131
132 Aws::String m_kMSMasterKeyId;
133 bool m_kMSMasterKeyIdHasBeenSet = false;
134
135 ProvisionedThroughputOverride m_provisionedThroughputOverride;
136 bool m_provisionedThroughputOverrideHasBeenSet = false;
137
138 OnDemandThroughputOverride m_onDemandThroughputOverride;
139 bool m_onDemandThroughputOverrideHasBeenSet = false;
140
141 Aws::Vector<ReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
142 bool m_globalSecondaryIndexesHasBeenSet = false;
143
144 TableClass m_tableClassOverride;
145 bool m_tableClassOverrideHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace DynamoDB
150} // namespace Aws
UpdateReplicationGroupMemberAction & WithRegionName(Aws::String &&value)
const ProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
void SetOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
void SetGlobalSecondaryIndexes(const Aws::Vector< ReplicaGlobalSecondaryIndex > &value)
UpdateReplicationGroupMemberAction & WithRegionName(const Aws::String &value)
UpdateReplicationGroupMemberAction & WithOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
UpdateReplicationGroupMemberAction & WithKMSMasterKeyId(const Aws::String &value)
UpdateReplicationGroupMemberAction & WithRegionName(const char *value)
void SetProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
UpdateReplicationGroupMemberAction & AddGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndex &&value)
UpdateReplicationGroupMemberAction & WithProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
const Aws::Vector< ReplicaGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
UpdateReplicationGroupMemberAction & WithKMSMasterKeyId(const char *value)
UpdateReplicationGroupMemberAction & WithGlobalSecondaryIndexes(Aws::Vector< ReplicaGlobalSecondaryIndex > &&value)
UpdateReplicationGroupMemberAction & WithGlobalSecondaryIndexes(const Aws::Vector< ReplicaGlobalSecondaryIndex > &value)
UpdateReplicationGroupMemberAction & WithOnDemandThroughputOverride(OnDemandThroughputOverride &&value)
AWS_DYNAMODB_API UpdateReplicationGroupMemberAction(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API UpdateReplicationGroupMemberAction & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateReplicationGroupMemberAction & WithKMSMasterKeyId(Aws::String &&value)
UpdateReplicationGroupMemberAction & WithProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
UpdateReplicationGroupMemberAction & WithTableClassOverride(const TableClass &value)
UpdateReplicationGroupMemberAction & AddGlobalSecondaryIndexes(const ReplicaGlobalSecondaryIndex &value)
void SetGlobalSecondaryIndexes(Aws::Vector< ReplicaGlobalSecondaryIndex > &&value)
UpdateReplicationGroupMemberAction & WithTableClassOverride(TableClass &&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