AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
ReplicaGlobalSecondaryIndexDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDB_EXPORTS.h>
9#include <aws/dynamodb/model/GlobalSecondaryIndexWarmThroughputDescription.h>
10#include <aws/dynamodb/model/OnDemandThroughputOverride.h>
11#include <aws/dynamodb/model/ProvisionedThroughputOverride.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB {
23namespace Model {
24
32 public:
33 AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription() = default;
36 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetIndexName() const { return m_indexName; }
43 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
44 template <typename IndexNameT = Aws::String>
45 void SetIndexName(IndexNameT&& value) {
46 m_indexNameHasBeenSet = true;
47 m_indexName = std::forward<IndexNameT>(value);
48 }
49 template <typename IndexNameT = Aws::String>
51 SetIndexName(std::forward<IndexNameT>(value));
52 return *this;
53 }
55
57
60 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const { return m_provisionedThroughputOverride; }
61 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
62 template <typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
63 void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) {
64 m_provisionedThroughputOverrideHasBeenSet = true;
65 m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value);
66 }
67 template <typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
69 SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value));
70 return *this;
71 }
73
75
79 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const { return m_onDemandThroughputOverride; }
80 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
81 template <typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
82 void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) {
83 m_onDemandThroughputOverrideHasBeenSet = true;
84 m_onDemandThroughputOverride = std::forward<OnDemandThroughputOverrideT>(value);
85 }
86 template <typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
88 SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value));
89 return *this;
90 }
92
94
98 inline const GlobalSecondaryIndexWarmThroughputDescription& GetWarmThroughput() const { return m_warmThroughput; }
99 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
100 template <typename WarmThroughputT = GlobalSecondaryIndexWarmThroughputDescription>
101 void SetWarmThroughput(WarmThroughputT&& value) {
102 m_warmThroughputHasBeenSet = true;
103 m_warmThroughput = std::forward<WarmThroughputT>(value);
104 }
105 template <typename WarmThroughputT = GlobalSecondaryIndexWarmThroughputDescription>
107 SetWarmThroughput(std::forward<WarmThroughputT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_indexName;
113
114 ProvisionedThroughputOverride m_provisionedThroughputOverride;
115
116 OnDemandThroughputOverride m_onDemandThroughputOverride;
117
119 bool m_indexNameHasBeenSet = false;
120 bool m_provisionedThroughputOverrideHasBeenSet = false;
121 bool m_onDemandThroughputOverrideHasBeenSet = false;
122 bool m_warmThroughputHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace DynamoDB
127} // namespace Aws
ReplicaGlobalSecondaryIndexDescription & WithWarmThroughput(WarmThroughputT &&value)
ReplicaGlobalSecondaryIndexDescription & WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
const GlobalSecondaryIndexWarmThroughputDescription & GetWarmThroughput() const
ReplicaGlobalSecondaryIndexDescription & WithOnDemandThroughputOverride(OnDemandThroughputOverrideT &&value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription(Aws::Utils::Json::JsonView jsonValue)
ReplicaGlobalSecondaryIndexDescription & WithIndexName(IndexNameT &&value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue