AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
39 AWS_DYNAMODB_API CreateReplicationGroupMemberAction() = default;
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 template<typename RegionNameT = Aws::String>
52 void SetRegionName(RegionNameT&& value) { m_regionNameHasBeenSet = true; m_regionName = std::forward<RegionNameT>(value); }
53 template<typename RegionNameT = Aws::String>
54 CreateReplicationGroupMemberAction& WithRegionName(RegionNameT&& value) { SetRegionName(std::forward<RegionNameT>(value)); return *this;}
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) { m_kMSMasterKeyIdHasBeenSet = true; m_kMSMasterKeyId = std::forward<KMSMasterKeyIdT>(value); }
68 template<typename KMSMasterKeyIdT = Aws::String>
69 CreateReplicationGroupMemberAction& WithKMSMasterKeyId(KMSMasterKeyIdT&& value) { SetKMSMasterKeyId(std::forward<KMSMasterKeyIdT>(value)); return *this;}
71
73
77 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const { return m_provisionedThroughputOverride; }
78 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
79 template<typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
80 void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value); }
81 template<typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
82 CreateReplicationGroupMemberAction& WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) { SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value)); return *this;}
84
86
92 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const { return m_onDemandThroughputOverride; }
93 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
94 template<typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
95 void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::forward<OnDemandThroughputOverrideT>(value); }
96 template<typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
97 CreateReplicationGroupMemberAction& WithOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value)); return *this;}
99
101
104 inline const Aws::Vector<ReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const { return m_globalSecondaryIndexes; }
105 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
106 template<typename GlobalSecondaryIndexesT = Aws::Vector<ReplicaGlobalSecondaryIndex>>
107 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value); }
108 template<typename GlobalSecondaryIndexesT = Aws::Vector<ReplicaGlobalSecondaryIndex>>
109 CreateReplicationGroupMemberAction& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value)); return *this;}
110 template<typename GlobalSecondaryIndexesT = ReplicaGlobalSecondaryIndex>
111 CreateReplicationGroupMemberAction& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value)); return *this; }
113
115
119 inline TableClass GetTableClassOverride() const { return m_tableClassOverride; }
120 inline bool TableClassOverrideHasBeenSet() const { return m_tableClassOverrideHasBeenSet; }
121 inline void SetTableClassOverride(TableClass value) { m_tableClassOverrideHasBeenSet = true; m_tableClassOverride = value; }
124 private:
125
126 Aws::String m_regionName;
127 bool m_regionNameHasBeenSet = false;
128
129 Aws::String m_kMSMasterKeyId;
130 bool m_kMSMasterKeyIdHasBeenSet = false;
131
132 ProvisionedThroughputOverride m_provisionedThroughputOverride;
133 bool m_provisionedThroughputOverrideHasBeenSet = false;
134
135 OnDemandThroughputOverride m_onDemandThroughputOverride;
136 bool m_onDemandThroughputOverrideHasBeenSet = false;
137
138 Aws::Vector<ReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
139 bool m_globalSecondaryIndexesHasBeenSet = false;
140
141 TableClass m_tableClassOverride{TableClass::NOT_SET};
142 bool m_tableClassOverrideHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace DynamoDB
147} // namespace Aws
CreateReplicationGroupMemberAction & WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
CreateReplicationGroupMemberAction & WithRegionName(RegionNameT &&value)
AWS_DYNAMODB_API CreateReplicationGroupMemberAction(Aws::Utils::Json::JsonView jsonValue)
const ProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
CreateReplicationGroupMemberAction & WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
AWS_DYNAMODB_API CreateReplicationGroupMemberAction & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateReplicationGroupMemberAction & WithKMSMasterKeyId(KMSMasterKeyIdT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
const Aws::Vector< ReplicaGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
CreateReplicationGroupMemberAction & WithTableClassOverride(TableClass value)
CreateReplicationGroupMemberAction & WithOnDemandThroughputOverride(OnDemandThroughputOverrideT &&value)
CreateReplicationGroupMemberAction & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&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