AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsDynamoDbTableReplica.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/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsDynamoDbTableProvisionedThroughputOverride.h>
11#include <aws/securityhub/model/AwsDynamoDbTableReplicaGlobalSecondaryIndex.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub {
23namespace Model {
24
32 public:
33 AWS_SECURITYHUB_API AwsDynamoDbTableReplica() = default;
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 return m_globalSecondaryIndexes;
44 }
45 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
46 template <typename GlobalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
47 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
48 m_globalSecondaryIndexesHasBeenSet = true;
49 m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value);
50 }
51 template <typename GlobalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
52 AwsDynamoDbTableReplica& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
53 SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value));
54 return *this;
55 }
56 template <typename GlobalSecondaryIndexesT = AwsDynamoDbTableReplicaGlobalSecondaryIndex>
57 AwsDynamoDbTableReplica& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) {
58 m_globalSecondaryIndexesHasBeenSet = true;
59 m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value));
60 return *this;
61 }
63
65
69 inline const Aws::String& GetKmsMasterKeyId() const { return m_kmsMasterKeyId; }
70 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
71 template <typename KmsMasterKeyIdT = Aws::String>
72 void SetKmsMasterKeyId(KmsMasterKeyIdT&& value) {
73 m_kmsMasterKeyIdHasBeenSet = true;
74 m_kmsMasterKeyId = std::forward<KmsMasterKeyIdT>(value);
75 }
76 template <typename KmsMasterKeyIdT = Aws::String>
77 AwsDynamoDbTableReplica& WithKmsMasterKeyId(KmsMasterKeyIdT&& value) {
78 SetKmsMasterKeyId(std::forward<KmsMasterKeyIdT>(value));
79 return *this;
80 }
82
84
88 return m_provisionedThroughputOverride;
89 }
90 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
91 template <typename ProvisionedThroughputOverrideT = AwsDynamoDbTableProvisionedThroughputOverride>
92 void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) {
93 m_provisionedThroughputOverrideHasBeenSet = true;
94 m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value);
95 }
96 template <typename ProvisionedThroughputOverrideT = AwsDynamoDbTableProvisionedThroughputOverride>
97 AwsDynamoDbTableReplica& WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) {
98 SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetRegionName() const { return m_regionName; }
108 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
109 template <typename RegionNameT = Aws::String>
110 void SetRegionName(RegionNameT&& value) {
111 m_regionNameHasBeenSet = true;
112 m_regionName = std::forward<RegionNameT>(value);
113 }
114 template <typename RegionNameT = Aws::String>
116 SetRegionName(std::forward<RegionNameT>(value));
117 return *this;
118 }
120
122
128 inline const Aws::String& GetReplicaStatus() const { return m_replicaStatus; }
129 inline bool ReplicaStatusHasBeenSet() const { return m_replicaStatusHasBeenSet; }
130 template <typename ReplicaStatusT = Aws::String>
131 void SetReplicaStatus(ReplicaStatusT&& value) {
132 m_replicaStatusHasBeenSet = true;
133 m_replicaStatus = std::forward<ReplicaStatusT>(value);
134 }
135 template <typename ReplicaStatusT = Aws::String>
137 SetReplicaStatus(std::forward<ReplicaStatusT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetReplicaStatusDescription() const { return m_replicaStatusDescription; }
147 inline bool ReplicaStatusDescriptionHasBeenSet() const { return m_replicaStatusDescriptionHasBeenSet; }
148 template <typename ReplicaStatusDescriptionT = Aws::String>
149 void SetReplicaStatusDescription(ReplicaStatusDescriptionT&& value) {
150 m_replicaStatusDescriptionHasBeenSet = true;
151 m_replicaStatusDescription = std::forward<ReplicaStatusDescriptionT>(value);
152 }
153 template <typename ReplicaStatusDescriptionT = Aws::String>
154 AwsDynamoDbTableReplica& WithReplicaStatusDescription(ReplicaStatusDescriptionT&& value) {
155 SetReplicaStatusDescription(std::forward<ReplicaStatusDescriptionT>(value));
156 return *this;
157 }
159 private:
161
162 Aws::String m_kmsMasterKeyId;
163
164 AwsDynamoDbTableProvisionedThroughputOverride m_provisionedThroughputOverride;
165
166 Aws::String m_regionName;
167
168 Aws::String m_replicaStatus;
169
170 Aws::String m_replicaStatusDescription;
171 bool m_globalSecondaryIndexesHasBeenSet = false;
172 bool m_kmsMasterKeyIdHasBeenSet = false;
173 bool m_provisionedThroughputOverrideHasBeenSet = false;
174 bool m_regionNameHasBeenSet = false;
175 bool m_replicaStatusHasBeenSet = false;
176 bool m_replicaStatusDescriptionHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace SecurityHub
181} // namespace Aws
AWS_SECURITYHUB_API AwsDynamoDbTableReplica & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDynamoDbTableReplica & WithReplicaStatus(ReplicaStatusT &&value)
const Aws::Vector< AwsDynamoDbTableReplicaGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
AwsDynamoDbTableReplica & WithRegionName(RegionNameT &&value)
void SetReplicaStatusDescription(ReplicaStatusDescriptionT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableReplica(Aws::Utils::Json::JsonView jsonValue)
void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDynamoDbTableReplica & AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT &&value)
AwsDynamoDbTableReplica & WithKmsMasterKeyId(KmsMasterKeyIdT &&value)
AwsDynamoDbTableReplica & WithReplicaStatusDescription(ReplicaStatusDescriptionT &&value)
AwsDynamoDbTableReplica & WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
AWS_SECURITYHUB_API AwsDynamoDbTableReplica()=default
void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
const AwsDynamoDbTableProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
AwsDynamoDbTableReplica & WithGlobalSecondaryIndexes(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