AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
39 AWS_DYNAMODB_API UpdateReplicationGroupMemberAction() = 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 UpdateReplicationGroupMemberAction& 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 UpdateReplicationGroupMemberAction& 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 UpdateReplicationGroupMemberAction& WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) { SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value)); return *this;}
84
86
89 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const { return m_onDemandThroughputOverride; }
90 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
91 template<typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
92 void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::forward<OnDemandThroughputOverrideT>(value); }
93 template<typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
94 UpdateReplicationGroupMemberAction& WithOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value)); return *this;}
96
98
101 inline const Aws::Vector<ReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const { return m_globalSecondaryIndexes; }
102 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
103 template<typename GlobalSecondaryIndexesT = Aws::Vector<ReplicaGlobalSecondaryIndex>>
104 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value); }
105 template<typename GlobalSecondaryIndexesT = Aws::Vector<ReplicaGlobalSecondaryIndex>>
106 UpdateReplicationGroupMemberAction& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value)); return *this;}
107 template<typename GlobalSecondaryIndexesT = ReplicaGlobalSecondaryIndex>
108 UpdateReplicationGroupMemberAction& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value)); return *this; }
110
112
116 inline TableClass GetTableClassOverride() const { return m_tableClassOverride; }
117 inline bool TableClassOverrideHasBeenSet() const { return m_tableClassOverrideHasBeenSet; }
118 inline void SetTableClassOverride(TableClass value) { m_tableClassOverrideHasBeenSet = true; m_tableClassOverride = value; }
121 private:
122
123 Aws::String m_regionName;
124 bool m_regionNameHasBeenSet = false;
125
126 Aws::String m_kMSMasterKeyId;
127 bool m_kMSMasterKeyIdHasBeenSet = false;
128
129 ProvisionedThroughputOverride m_provisionedThroughputOverride;
130 bool m_provisionedThroughputOverrideHasBeenSet = false;
131
132 OnDemandThroughputOverride m_onDemandThroughputOverride;
133 bool m_onDemandThroughputOverrideHasBeenSet = false;
134
135 Aws::Vector<ReplicaGlobalSecondaryIndex> m_globalSecondaryIndexes;
136 bool m_globalSecondaryIndexesHasBeenSet = false;
137
138 TableClass m_tableClassOverride{TableClass::NOT_SET};
139 bool m_tableClassOverrideHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace DynamoDB
144} // 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