AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaGlobalSecondaryIndexSettingsDescription.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/IndexStatus.h>
10#include <aws/dynamodb/model/AutoScalingSettingsDescription.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
48 inline const Aws::String& GetIndexName() const{ return m_indexName; }
49 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
50 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
51 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
52 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
54 inline ReplicaGlobalSecondaryIndexSettingsDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
55 inline ReplicaGlobalSecondaryIndexSettingsDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;}
57
59
67 inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; }
68 inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; }
69 inline void SetIndexStatus(const IndexStatus& value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; }
70 inline void SetIndexStatus(IndexStatus&& value) { m_indexStatusHasBeenSet = true; m_indexStatus = std::move(value); }
74
76
80 inline long long GetProvisionedReadCapacityUnits() const{ return m_provisionedReadCapacityUnits; }
81 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
82 inline void SetProvisionedReadCapacityUnits(long long value) { m_provisionedReadCapacityUnitsHasBeenSet = true; m_provisionedReadCapacityUnits = value; }
85
87
91 inline const AutoScalingSettingsDescription& GetProvisionedReadCapacityAutoScalingSettings() const{ return m_provisionedReadCapacityAutoScalingSettings; }
92 inline bool ProvisionedReadCapacityAutoScalingSettingsHasBeenSet() const { return m_provisionedReadCapacityAutoScalingSettingsHasBeenSet; }
93 inline void SetProvisionedReadCapacityAutoScalingSettings(const AutoScalingSettingsDescription& value) { m_provisionedReadCapacityAutoScalingSettingsHasBeenSet = true; m_provisionedReadCapacityAutoScalingSettings = value; }
94 inline void SetProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription&& value) { m_provisionedReadCapacityAutoScalingSettingsHasBeenSet = true; m_provisionedReadCapacityAutoScalingSettings = std::move(value); }
98
100
104 inline long long GetProvisionedWriteCapacityUnits() const{ return m_provisionedWriteCapacityUnits; }
105 inline bool ProvisionedWriteCapacityUnitsHasBeenSet() const { return m_provisionedWriteCapacityUnitsHasBeenSet; }
106 inline void SetProvisionedWriteCapacityUnits(long long value) { m_provisionedWriteCapacityUnitsHasBeenSet = true; m_provisionedWriteCapacityUnits = value; }
109
111
115 inline const AutoScalingSettingsDescription& GetProvisionedWriteCapacityAutoScalingSettings() const{ return m_provisionedWriteCapacityAutoScalingSettings; }
116 inline bool ProvisionedWriteCapacityAutoScalingSettingsHasBeenSet() const { return m_provisionedWriteCapacityAutoScalingSettingsHasBeenSet; }
117 inline void SetProvisionedWriteCapacityAutoScalingSettings(const AutoScalingSettingsDescription& value) { m_provisionedWriteCapacityAutoScalingSettingsHasBeenSet = true; m_provisionedWriteCapacityAutoScalingSettings = value; }
118 inline void SetProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription&& value) { m_provisionedWriteCapacityAutoScalingSettingsHasBeenSet = true; m_provisionedWriteCapacityAutoScalingSettings = std::move(value); }
122 private:
123
124 Aws::String m_indexName;
125 bool m_indexNameHasBeenSet = false;
126
127 IndexStatus m_indexStatus;
128 bool m_indexStatusHasBeenSet = false;
129
130 long long m_provisionedReadCapacityUnits;
131 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
132
133 AutoScalingSettingsDescription m_provisionedReadCapacityAutoScalingSettings;
134 bool m_provisionedReadCapacityAutoScalingSettingsHasBeenSet = false;
135
136 long long m_provisionedWriteCapacityUnits;
137 bool m_provisionedWriteCapacityUnitsHasBeenSet = false;
138
139 AutoScalingSettingsDescription m_provisionedWriteCapacityAutoScalingSettings;
140 bool m_provisionedWriteCapacityAutoScalingSettingsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace DynamoDB
145} // namespace Aws
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexSettingsDescription(Aws::Utils::Json::JsonView jsonValue)
ReplicaGlobalSecondaryIndexSettingsDescription & WithProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription &&value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithIndexName(const char *value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithIndexName(Aws::String &&value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithProvisionedReadCapacityUnits(long long value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithProvisionedWriteCapacityAutoScalingSettings(const AutoScalingSettingsDescription &value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithProvisionedWriteCapacityUnits(long long value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexSettingsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicaGlobalSecondaryIndexSettingsDescription & WithProvisionedReadCapacityAutoScalingSettings(const AutoScalingSettingsDescription &value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithIndexStatus(const IndexStatus &value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithIndexStatus(IndexStatus &&value)
ReplicaGlobalSecondaryIndexSettingsDescription & WithIndexName(const Aws::String &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicaGlobalSecondaryIndexSettingsDescription & WithProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue