AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaGlobalSecondaryIndexSettingsUpdate.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/AutoScalingSettingsUpdate.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DynamoDB
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
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); }
53 inline ReplicaGlobalSecondaryIndexSettingsUpdate& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
54 inline ReplicaGlobalSecondaryIndexSettingsUpdate& WithIndexName(const char* value) { SetIndexName(value); return *this;}
56
58
62 inline long long GetProvisionedReadCapacityUnits() const{ return m_provisionedReadCapacityUnits; }
63 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
64 inline void SetProvisionedReadCapacityUnits(long long value) { m_provisionedReadCapacityUnitsHasBeenSet = true; m_provisionedReadCapacityUnits = value; }
67
69
73 inline const AutoScalingSettingsUpdate& GetProvisionedReadCapacityAutoScalingSettingsUpdate() const{ return m_provisionedReadCapacityAutoScalingSettingsUpdate; }
74 inline bool ProvisionedReadCapacityAutoScalingSettingsUpdateHasBeenSet() const { return m_provisionedReadCapacityAutoScalingSettingsUpdateHasBeenSet; }
75 inline void SetProvisionedReadCapacityAutoScalingSettingsUpdate(const AutoScalingSettingsUpdate& value) { m_provisionedReadCapacityAutoScalingSettingsUpdateHasBeenSet = true; m_provisionedReadCapacityAutoScalingSettingsUpdate = value; }
76 inline void SetProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate&& value) { m_provisionedReadCapacityAutoScalingSettingsUpdateHasBeenSet = true; m_provisionedReadCapacityAutoScalingSettingsUpdate = std::move(value); }
80 private:
81
82 Aws::String m_indexName;
83 bool m_indexNameHasBeenSet = false;
84
85 long long m_provisionedReadCapacityUnits;
86 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
87
88 AutoScalingSettingsUpdate m_provisionedReadCapacityAutoScalingSettingsUpdate;
89 bool m_provisionedReadCapacityAutoScalingSettingsUpdateHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DynamoDB
94} // namespace Aws
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexSettingsUpdate(Aws::Utils::Json::JsonView jsonValue)
ReplicaGlobalSecondaryIndexSettingsUpdate & WithProvisionedReadCapacityUnits(long long value)
ReplicaGlobalSecondaryIndexSettingsUpdate & WithProvisionedReadCapacityAutoScalingSettingsUpdate(const AutoScalingSettingsUpdate &value)
ReplicaGlobalSecondaryIndexSettingsUpdate & WithIndexName(const Aws::String &value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexSettingsUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicaGlobalSecondaryIndexSettingsUpdate & WithIndexName(Aws::String &&value)
ReplicaGlobalSecondaryIndexSettingsUpdate & WithIndexName(const char *value)
ReplicaGlobalSecondaryIndexSettingsUpdate & WithProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue