AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DynamoDB
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetIndexName() const{ return m_indexName; }
48 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
49 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
50 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
51 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
52 inline UpdateGlobalSecondaryIndexAction& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
53 inline UpdateGlobalSecondaryIndexAction& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
54 inline UpdateGlobalSecondaryIndexAction& WithIndexName(const char* value) { SetIndexName(value); return *this;}
56
58
65 inline const ProvisionedThroughput& GetProvisionedThroughput() const{ return m_provisionedThroughput; }
66 inline bool ProvisionedThroughputHasBeenSet() const { return m_provisionedThroughputHasBeenSet; }
67 inline void SetProvisionedThroughput(const ProvisionedThroughput& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = value; }
68 inline void SetProvisionedThroughput(ProvisionedThroughput&& value) { m_provisionedThroughputHasBeenSet = true; m_provisionedThroughput = std::move(value); }
72
74
80 inline const OnDemandThroughput& GetOnDemandThroughput() const{ return m_onDemandThroughput; }
81 inline bool OnDemandThroughputHasBeenSet() const { return m_onDemandThroughputHasBeenSet; }
82 inline void SetOnDemandThroughput(const OnDemandThroughput& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = value; }
83 inline void SetOnDemandThroughput(OnDemandThroughput&& value) { m_onDemandThroughputHasBeenSet = true; m_onDemandThroughput = std::move(value); }
87 private:
88
89 Aws::String m_indexName;
90 bool m_indexNameHasBeenSet = false;
91
92 ProvisionedThroughput m_provisionedThroughput;
93 bool m_provisionedThroughputHasBeenSet = false;
94
95 OnDemandThroughput m_onDemandThroughput;
96 bool m_onDemandThroughputHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DynamoDB
101} // namespace Aws
AWS_DYNAMODB_API UpdateGlobalSecondaryIndexAction(Aws::Utils::Json::JsonView jsonValue)
UpdateGlobalSecondaryIndexAction & WithIndexName(const char *value)
UpdateGlobalSecondaryIndexAction & WithOnDemandThroughput(OnDemandThroughput &&value)
UpdateGlobalSecondaryIndexAction & WithIndexName(Aws::String &&value)
UpdateGlobalSecondaryIndexAction & WithOnDemandThroughput(const OnDemandThroughput &value)
UpdateGlobalSecondaryIndexAction & WithIndexName(const Aws::String &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateGlobalSecondaryIndexAction & WithProvisionedThroughput(ProvisionedThroughput &&value)
AWS_DYNAMODB_API UpdateGlobalSecondaryIndexAction & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateGlobalSecondaryIndexAction & WithProvisionedThroughput(const ProvisionedThroughput &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue