AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename GlobalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
51 void SetGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::forward<GlobalSecondaryIndexesT>(value); }
52 template<typename GlobalSecondaryIndexesT = Aws::Vector<AwsDynamoDbTableReplicaGlobalSecondaryIndex>>
53 AwsDynamoDbTableReplica& WithGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { SetGlobalSecondaryIndexes(std::forward<GlobalSecondaryIndexesT>(value)); return *this;}
54 template<typename GlobalSecondaryIndexesT = AwsDynamoDbTableReplicaGlobalSecondaryIndex>
55 AwsDynamoDbTableReplica& AddGlobalSecondaryIndexes(GlobalSecondaryIndexesT&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.emplace_back(std::forward<GlobalSecondaryIndexesT>(value)); return *this; }
57
59
63 inline const Aws::String& GetKmsMasterKeyId() const { return m_kmsMasterKeyId; }
64 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
65 template<typename KmsMasterKeyIdT = Aws::String>
66 void SetKmsMasterKeyId(KmsMasterKeyIdT&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::forward<KmsMasterKeyIdT>(value); }
67 template<typename KmsMasterKeyIdT = Aws::String>
68 AwsDynamoDbTableReplica& WithKmsMasterKeyId(KmsMasterKeyIdT&& value) { SetKmsMasterKeyId(std::forward<KmsMasterKeyIdT>(value)); return *this;}
70
72
75 inline const AwsDynamoDbTableProvisionedThroughputOverride& GetProvisionedThroughputOverride() const { return m_provisionedThroughputOverride; }
76 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
77 template<typename ProvisionedThroughputOverrideT = AwsDynamoDbTableProvisionedThroughputOverride>
78 void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value); }
79 template<typename ProvisionedThroughputOverrideT = AwsDynamoDbTableProvisionedThroughputOverride>
80 AwsDynamoDbTableReplica& WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) { SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value)); return *this;}
82
84
87 inline const Aws::String& GetRegionName() const { return m_regionName; }
88 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
89 template<typename RegionNameT = Aws::String>
90 void SetRegionName(RegionNameT&& value) { m_regionNameHasBeenSet = true; m_regionName = std::forward<RegionNameT>(value); }
91 template<typename RegionNameT = Aws::String>
92 AwsDynamoDbTableReplica& WithRegionName(RegionNameT&& value) { SetRegionName(std::forward<RegionNameT>(value)); return *this;}
94
96
102 inline const Aws::String& GetReplicaStatus() const { return m_replicaStatus; }
103 inline bool ReplicaStatusHasBeenSet() const { return m_replicaStatusHasBeenSet; }
104 template<typename ReplicaStatusT = Aws::String>
105 void SetReplicaStatus(ReplicaStatusT&& value) { m_replicaStatusHasBeenSet = true; m_replicaStatus = std::forward<ReplicaStatusT>(value); }
106 template<typename ReplicaStatusT = Aws::String>
107 AwsDynamoDbTableReplica& WithReplicaStatus(ReplicaStatusT&& value) { SetReplicaStatus(std::forward<ReplicaStatusT>(value)); return *this;}
109
111
114 inline const Aws::String& GetReplicaStatusDescription() const { return m_replicaStatusDescription; }
115 inline bool ReplicaStatusDescriptionHasBeenSet() const { return m_replicaStatusDescriptionHasBeenSet; }
116 template<typename ReplicaStatusDescriptionT = Aws::String>
117 void SetReplicaStatusDescription(ReplicaStatusDescriptionT&& value) { m_replicaStatusDescriptionHasBeenSet = true; m_replicaStatusDescription = std::forward<ReplicaStatusDescriptionT>(value); }
118 template<typename ReplicaStatusDescriptionT = Aws::String>
119 AwsDynamoDbTableReplica& WithReplicaStatusDescription(ReplicaStatusDescriptionT&& value) { SetReplicaStatusDescription(std::forward<ReplicaStatusDescriptionT>(value)); return *this;}
121 private:
122
124 bool m_globalSecondaryIndexesHasBeenSet = false;
125
126 Aws::String m_kmsMasterKeyId;
127 bool m_kmsMasterKeyIdHasBeenSet = false;
128
129 AwsDynamoDbTableProvisionedThroughputOverride m_provisionedThroughputOverride;
130 bool m_provisionedThroughputOverrideHasBeenSet = false;
131
132 Aws::String m_regionName;
133 bool m_regionNameHasBeenSet = false;
134
135 Aws::String m_replicaStatus;
136 bool m_replicaStatusHasBeenSet = false;
137
138 Aws::String m_replicaStatusDescription;
139 bool m_replicaStatusDescriptionHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SecurityHub
144} // 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