AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateGlobalSecondaryIndexAction.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/ProvisionedThroughput.h>
10#include <aws/dynamodb/model/OnDemandThroughput.h>
11#include <aws/dynamodb/model/WarmThroughput.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 DynamoDB
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DYNAMODB_API UpdateGlobalSecondaryIndexAction() = default;
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetIndexName() const { return m_indexName; }
49 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
50 template<typename IndexNameT = Aws::String>
51 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
52 template<typename IndexNameT = Aws::String>
53 UpdateGlobalSecondaryIndexAction& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
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) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::forward<ProvisionedThroughputT>(value); }
68 template<typename ProvisionedThroughputT = ProvisionedThroughput>
69 UpdateGlobalSecondaryIndexAction& WithProvisionedThroughput(ProvisionedThroughputT&& value) { SetProvisionedThroughput(std::forward<ProvisionedThroughputT>(value)); return *this;}
71
73
79 inline const OnDemandThroughput& GetOnDemandThroughput() const { return m_onDemandThroughput; }
80 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
81 template<typename OnDemandThroughputT = OnDemandThroughput>
82 void SetOnDemandThroughput(OnDemandThroughputT&& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = std::forward<OnDemandThroughputT>(value); }
83 template<typename OnDemandThroughputT = OnDemandThroughput>
84 UpdateGlobalSecondaryIndexAction& WithOnDemandThroughput(OnDemandThroughputT&& value) { SetOnDemandThroughput(std::forward<OnDemandThroughputT>(value)); return *this;}
86
88
92 inline const WarmThroughput& GetWarmThroughput() const { return m_warmThroughput; }
93 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
94 template<typename WarmThroughputT = WarmThroughput>
95 void SetWarmThroughput(WarmThroughputT&& value) { m_warmThroughputHasBeenSet = true; m_warmThroughput = std::forward<WarmThroughputT>(value); }
96 template<typename WarmThroughputT = WarmThroughput>
97 UpdateGlobalSecondaryIndexAction& WithWarmThroughput(WarmThroughputT&& value) { SetWarmThroughput(std::forward<WarmThroughputT>(value)); return *this;}
99 private:
100
101 Aws::String m_indexName;
102 bool m_indexNameHasBeenSet = false;
103
104 ProvisionedThroughput m_provisionedThroughput;
105 bool m_provisionedThroughputHasBeenSet = false;
106
107 OnDemandThroughput m_onDemandThroughput;
108 bool m_onDemandThroughputHasBeenSet = false;
109
110 WarmThroughput m_warmThroughput;
111 bool m_warmThroughputHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DynamoDB
116} // 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