AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsDynamoDbTableReplica.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsDynamoDbTableProvisionedThroughputOverride.h>
11#include <aws/securityhub/model/AwsDynamoDbTableReplicaGlobalSecondaryIndex.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SECURITYHUB_API AwsDynamoDbTableReplica();
41 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>& GetGlobalSecondaryIndexes() const{ return m_globalSecondaryIndexes; }
49 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
50 inline void SetGlobalSecondaryIndexes(const Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = value; }
51 inline void SetGlobalSecondaryIndexes(Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::move(value); }
54 inline AwsDynamoDbTableReplica& AddGlobalSecondaryIndexes(const AwsDynamoDbTableReplicaGlobalSecondaryIndex& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; }
55 inline AwsDynamoDbTableReplica& AddGlobalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::String& GetKmsMasterKeyId() const{ return m_kmsMasterKeyId; }
64 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
65 inline void SetKmsMasterKeyId(const Aws::String& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = value; }
66 inline void SetKmsMasterKeyId(Aws::String&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::move(value); }
67 inline void SetKmsMasterKeyId(const char* value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId.assign(value); }
68 inline AwsDynamoDbTableReplica& WithKmsMasterKeyId(const Aws::String& value) { SetKmsMasterKeyId(value); return *this;}
69 inline AwsDynamoDbTableReplica& WithKmsMasterKeyId(Aws::String&& value) { SetKmsMasterKeyId(std::move(value)); return *this;}
70 inline AwsDynamoDbTableReplica& WithKmsMasterKeyId(const char* value) { SetKmsMasterKeyId(value); return *this;}
72
74
77 inline const AwsDynamoDbTableProvisionedThroughputOverride& GetProvisionedThroughputOverride() const{ return m_provisionedThroughputOverride; }
78 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
79 inline void SetProvisionedThroughputOverride(const AwsDynamoDbTableProvisionedThroughputOverride& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = value; }
80 inline void SetProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::move(value); }
84
86
89 inline const Aws::String& GetRegionName() const{ return m_regionName; }
90 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
91 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
92 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
93 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
94 inline AwsDynamoDbTableReplica& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
95 inline AwsDynamoDbTableReplica& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
96 inline AwsDynamoDbTableReplica& WithRegionName(const char* value) { SetRegionName(value); return *this;}
98
100
106 inline const Aws::String& GetReplicaStatus() const{ return m_replicaStatus; }
107 inline bool ReplicaStatusHasBeenSet() const { return m_replicaStatusHasBeenSet; }
108 inline void SetReplicaStatus(const Aws::String& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = value; }
109 inline void SetReplicaStatus(Aws::String&& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = std::move(value); }
110 inline void SetReplicaStatus(const char* value) { m_replicaStatusHasBeenSet = true; m_replicaStatus.assign(value); }
111 inline AwsDynamoDbTableReplica& WithReplicaStatus(const Aws::String& value) { SetReplicaStatus(value); return *this;}
112 inline AwsDynamoDbTableReplica& WithReplicaStatus(Aws::String&& value) { SetReplicaStatus(std::move(value)); return *this;}
113 inline AwsDynamoDbTableReplica& WithReplicaStatus(const char* value) { SetReplicaStatus(value); return *this;}
115
117
120 inline const Aws::String& GetReplicaStatusDescription() const{ return m_replicaStatusDescription; }
121 inline bool ReplicaStatusDescriptionHasBeenSet() const { return m_replicaStatusDescriptionHasBeenSet; }
122 inline void SetReplicaStatusDescription(const Aws::String& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = value; }
123 inline void SetReplicaStatusDescription(Aws::String&& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = std::move(value); }
124 inline void SetReplicaStatusDescription(const char* value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription.assign(value); }
127 inline AwsDynamoDbTableReplica& WithReplicaStatusDescription(const char* value) { SetReplicaStatusDescription(value); return *this;}
129 private:
130
132 bool m_globalSecondaryIndexesHasBeenSet = false;
133
134 Aws::String m_kmsMasterKeyId;
135 bool m_kmsMasterKeyIdHasBeenSet = false;
136
137 AwsDynamoDbTableProvisionedThroughputOverride m_provisionedThroughputOverride;
138 bool m_provisionedThroughputOverrideHasBeenSet = false;
139
140 Aws::String m_regionName;
141 bool m_regionNameHasBeenSet = false;
142
143 Aws::String m_replicaStatus;
144 bool m_replicaStatusHasBeenSet = false;
145
146 Aws::String m_replicaStatusDescription;
147 bool m_replicaStatusDescriptionHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace SecurityHub
152} // namespace Aws
AwsDynamoDbTableReplica & WithReplicaStatusDescription(Aws::String &&value)
AwsDynamoDbTableReplica & WithRegionName(const Aws::String &value)
AWS_SECURITYHUB_API AwsDynamoDbTableReplica & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDynamoDbTableReplica & WithRegionName(const char *value)
const Aws::Vector< AwsDynamoDbTableReplicaGlobalSecondaryIndex > & GetGlobalSecondaryIndexes() const
AwsDynamoDbTableReplica & WithReplicaStatusDescription(const char *value)
AWS_SECURITYHUB_API AwsDynamoDbTableReplica(Aws::Utils::Json::JsonView jsonValue)
void SetGlobalSecondaryIndexes(Aws::Vector< AwsDynamoDbTableReplicaGlobalSecondaryIndex > &&value)
AwsDynamoDbTableReplica & WithReplicaStatus(const Aws::String &value)
AwsDynamoDbTableReplica & WithReplicaStatusDescription(const Aws::String &value)
AwsDynamoDbTableReplica & WithKmsMasterKeyId(const char *value)
AwsDynamoDbTableReplica & WithGlobalSecondaryIndexes(const Aws::Vector< AwsDynamoDbTableReplicaGlobalSecondaryIndex > &value)
AwsDynamoDbTableReplica & WithReplicaStatus(Aws::String &&value)
AwsDynamoDbTableReplica & WithReplicaStatus(const char *value)
AwsDynamoDbTableReplica & WithProvisionedThroughputOverride(const AwsDynamoDbTableProvisionedThroughputOverride &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDynamoDbTableReplica & WithKmsMasterKeyId(Aws::String &&value)
AwsDynamoDbTableReplica & WithKmsMasterKeyId(const Aws::String &value)
AwsDynamoDbTableReplica & AddGlobalSecondaryIndexes(AwsDynamoDbTableReplicaGlobalSecondaryIndex &&value)
AwsDynamoDbTableReplica & WithGlobalSecondaryIndexes(Aws::Vector< AwsDynamoDbTableReplicaGlobalSecondaryIndex > &&value)
AwsDynamoDbTableReplica & WithRegionName(Aws::String &&value)
AwsDynamoDbTableReplica & AddGlobalSecondaryIndexes(const AwsDynamoDbTableReplicaGlobalSecondaryIndex &value)
void SetGlobalSecondaryIndexes(const Aws::Vector< AwsDynamoDbTableReplicaGlobalSecondaryIndex > &value)
void SetProvisionedThroughputOverride(const AwsDynamoDbTableProvisionedThroughputOverride &value)
AwsDynamoDbTableReplica & WithProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride &&value)
void SetProvisionedThroughputOverride(AwsDynamoDbTableProvisionedThroughputOverride &&value)
const AwsDynamoDbTableProvisionedThroughputOverride & GetProvisionedThroughputOverride() 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