AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlobalSecondaryIndexAutoScalingUpdate.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
46 inline const Aws::String& GetIndexName() const{ return m_indexName; }
47 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
48 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
49 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
50 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
51 inline GlobalSecondaryIndexAutoScalingUpdate& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;}
52 inline GlobalSecondaryIndexAutoScalingUpdate& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
53 inline GlobalSecondaryIndexAutoScalingUpdate& WithIndexName(const char* value) { SetIndexName(value); return *this;}
55
57
58 inline const AutoScalingSettingsUpdate& GetProvisionedWriteCapacityAutoScalingUpdate() const{ return m_provisionedWriteCapacityAutoScalingUpdate; }
59 inline bool ProvisionedWriteCapacityAutoScalingUpdateHasBeenSet() const { return m_provisionedWriteCapacityAutoScalingUpdateHasBeenSet; }
60 inline void SetProvisionedWriteCapacityAutoScalingUpdate(const AutoScalingSettingsUpdate& value) { m_provisionedWriteCapacityAutoScalingUpdateHasBeenSet = true; m_provisionedWriteCapacityAutoScalingUpdate = value; }
61 inline void SetProvisionedWriteCapacityAutoScalingUpdate(AutoScalingSettingsUpdate&& value) { m_provisionedWriteCapacityAutoScalingUpdateHasBeenSet = true; m_provisionedWriteCapacityAutoScalingUpdate = std::move(value); }
65 private:
66
67 Aws::String m_indexName;
68 bool m_indexNameHasBeenSet = false;
69
70 AutoScalingSettingsUpdate m_provisionedWriteCapacityAutoScalingUpdate;
71 bool m_provisionedWriteCapacityAutoScalingUpdateHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DynamoDB
76} // namespace Aws
GlobalSecondaryIndexAutoScalingUpdate & WithIndexName(const char *value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProvisionedWriteCapacityAutoScalingUpdate(const AutoScalingSettingsUpdate &value)
AWS_DYNAMODB_API GlobalSecondaryIndexAutoScalingUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API GlobalSecondaryIndexAutoScalingUpdate(Aws::Utils::Json::JsonView jsonValue)
GlobalSecondaryIndexAutoScalingUpdate & WithIndexName(Aws::String &&value)
GlobalSecondaryIndexAutoScalingUpdate & WithIndexName(const Aws::String &value)
GlobalSecondaryIndexAutoScalingUpdate & WithProvisionedWriteCapacityAutoScalingUpdate(AutoScalingSettingsUpdate &&value)
GlobalSecondaryIndexAutoScalingUpdate & WithProvisionedWriteCapacityAutoScalingUpdate(const AutoScalingSettingsUpdate &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue