AWS SDK for C++

AWS SDK for C++ Version 1.11.758

Loading...
Searching...
No Matches
UpdateGlobalSecondaryIndexAction.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/OnDemandThroughput.h>
10#include <aws/dynamodb/model/ProvisionedThroughput.h>
11#include <aws/dynamodb/model/WarmThroughput.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 UpdateGlobalSecondaryIndexAction() = 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
64 inline const ProvisionedThroughput& GetProvisionedThroughput() const { return m_provisionedThroughput; }
65 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
66 template <typename ProvisionedThroughputT = ProvisionedThroughput>
67 void SetProvisionedThroughput(ProvisionedThroughputT&& value) {
68 m_provisionedThroughputHasBeenSet = true;
69 m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value);
70 }
71 template <typename ProvisionedThroughputT = ProvisionedThroughput>
73 SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value));
74 return *this;
75 }
77
79
85 inline const OnDemandThroughput& GetOnDemandThroughput() const { return m_onDemandThroughput; }
86 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
87 template <typename OnDemandThroughputT = OnDemandThroughput>
88 void SetOnDemandThroughput(OnDemandThroughputT&& value) {
89 m_onDemandThroughputHasBeenSet = true;
90 m_onDemandThroughput = std::forward<OnDemandThroughputT>(value);
91 }
92 template <typename OnDemandThroughputT = OnDemandThroughput>
94 SetOnDemandThroughput(std::forward<OnDemandThroughputT>(value));
95 return *this;
96 }
98
100
104 inline const WarmThroughput& GetWarmThroughput() const { return m_warmThroughput; }
105 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
106 template <typename WarmThroughputT = WarmThroughput>
107 void SetWarmThroughput(WarmThroughputT&& value) {
108 m_warmThroughputHasBeenSet = true;
109 m_warmThroughput = std::forward<WarmThroughputT>(value);
110 }
111 template <typename WarmThroughputT = WarmThroughput>
113 SetWarmThroughput(std::forward<WarmThroughputT>(value));
114 return *this;
115 }
117 private:
118 Aws::String m_indexName;
119
120 ProvisionedThroughput m_provisionedThroughput;
121
122 OnDemandThroughput m_onDemandThroughput;
123
124 WarmThroughput m_warmThroughput;
125 bool m_indexNameHasBeenSet = false;
126 bool m_provisionedThroughputHasBeenSet = false;
127 bool m_onDemandThroughputHasBeenSet = false;
128 bool m_warmThroughputHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace DynamoDB
133} // namespace Aws
AWS_DYNAMODB_API UpdateGlobalSecondaryIndexAction(Aws::Utils::Json::JsonView jsonValue)
UpdateGlobalSecondaryIndexAction & WithProvisionedThroughput(ProvisionedThroughputT &&value)
UpdateGlobalSecondaryIndexAction & WithIndexName(IndexNameT &&value)
UpdateGlobalSecondaryIndexAction & WithOnDemandThroughput(OnDemandThroughputT &&value)
UpdateGlobalSecondaryIndexAction & WithWarmThroughput(WarmThroughputT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API UpdateGlobalSecondaryIndexAction()=default
AWS_DYNAMODB_API UpdateGlobalSecondaryIndexAction & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue