AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationGroupMemberAction.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 CreateReplicationGroupMemberAction& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
55 inline CreateReplicationGroupMemberAction& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
56 inline CreateReplicationGroupMemberAction& 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 CreateReplicationGroupMemberAction& WithKMSMasterKeyId(Aws::String&& value) { SetKMSMasterKeyId(std::move(value)); return *this;}
73 inline CreateReplicationGroupMemberAction& 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
96 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const{ return m_onDemandThroughputOverride; }
97 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
98 inline void SetOnDemandThroughputOverride(const OnDemandThroughputOverride& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = value; }
99 inline void SetOnDemandThroughputOverride(OnDemandThroughputOverride&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::move(value); }
103
105
108 inline const Aws::Vector<ReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const{ return m_globalSecondaryIndexes; }
109 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
110 inline void SetGlobalSecondaryIndexes(const Aws::Vector<ReplicaGlobalSecondaryIndex>& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = value; }
111 inline void SetGlobalSecondaryIndexes(Aws::Vector<ReplicaGlobalSecondaryIndex>&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::move(value); }
114 inline CreateReplicationGroupMemberAction& AddGlobalSecondaryIndexes(const ReplicaGlobalSecondaryIndex& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; }
115 inline CreateReplicationGroupMemberAction& AddGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndex&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; }
117
119
123 inline const TableClass& GetTableClassOverride() const{ return m_tableClassOverride; }
124 inline bool TableClassOverrideHasBeenSet() const { return m_tableClassOverrideHasBeenSet; }
125 inline void SetTableClassOverride(const TableClass& value) { m_tableClassOverrideHasBeenSet = true; m_tableClassOverride = value; }
126 inline void SetTableClassOverride(TableClass&& value) { m_tableClassOverrideHasBeenSet = true; m_tableClassOverride = std::move(value); }
130 private:
131
132 Aws::String m_regionName;
133 bool m_regionNameHasBeenSet = false;
134
135 Aws::String m_kMSMasterKeyId;
136 bool m_kMSMasterKeyIdHasBeenSet = false;
137
138 ProvisionedThroughputOverride m_provisionedThroughputOverride;
139 bool m_provisionedThroughputOverrideHasBeenSet = false;
140
141 OnDemandThroughputOverride m_onDemandThroughputOverride;
142 bool m_onDemandThroughputOverrideHasBeenSet = false;
143
144 Aws::Vector<ReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
145 bool m_globalSecondaryIndexesHasBeenSet = false;
146
147 TableClass m_tableClassOverride;
148 bool m_tableClassOverrideHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace DynamoDB
153} // namespace Aws
CreateReplicationGroupMemberAction & WithKMSMasterKeyId(const Aws::String &value)
CreateReplicationGroupMemberAction & AddGlobalSecondaryIndexes(ReplicaGlobalSecondaryIndex &&value)
CreateReplicationGroupMemberAction & WithTableClassOverride(TableClass &&value)
CreateReplicationGroupMemberAction & WithProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
AWS_DYNAMODB_API CreateReplicationGroupMemberAction(Aws::Utils::Json::JsonView jsonValue)
CreateReplicationGroupMemberAction & WithRegionName(const Aws::String &value)
CreateReplicationGroupMemberAction & WithKMSMasterKeyId(const char *value)
const ProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
AWS_DYNAMODB_API CreateReplicationGroupMemberAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGlobalSecondaryIndexes(Aws::Vector< ReplicaGlobalSecondaryIndex > &&value)
CreateReplicationGroupMemberAction & WithTableClassOverride(const TableClass &value)
CreateReplicationGroupMemberAction & WithKMSMasterKeyId(Aws::String &&value)
CreateReplicationGroupMemberAction & WithRegionName(const char *value)
void SetProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
void SetGlobalSecondaryIndexes(const Aws::Vector< ReplicaGlobalSecondaryIndex > &value)
void SetOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
CreateReplicationGroupMemberAction & WithOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
CreateReplicationGroupMemberAction & WithOnDemandThroughputOverride(OnDemandThroughputOverride &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ReplicaGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
CreateReplicationGroupMemberAction & WithGlobalSecondaryIndexes(Aws::Vector< ReplicaGlobalSecondaryIndex > &&value)
CreateReplicationGroupMemberAction & WithRegionName(Aws::String &&value)
CreateReplicationGroupMemberAction & AddGlobalSecondaryIndexes(const ReplicaGlobalSecondaryIndex &value)
CreateReplicationGroupMemberAction & WithProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
CreateReplicationGroupMemberAction & WithGlobalSecondaryIndexes(const Aws::Vector< ReplicaGlobalSecondaryIndex > &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