AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaAutoScalingUpdate.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dynamodb/model/AutoScalingSettingsUpdate.h>
11#include <aws/dynamodb/model/ReplicaGlobalSecondaryIndexAutoScalingUpdate.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 ReplicaAutoScalingUpdate();
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetRegionName() const{ return m_regionName; }
49 inline bool RegionNameHasBeenSet() const { return m_regionNameHasBeenSet; }
50 inline void SetRegionName(const Aws::String& value) { m_regionNameHasBeenSet = true; m_regionName = value; }
51 inline void SetRegionName(Aws::String&& value) { m_regionNameHasBeenSet = true; m_regionName = std::move(value); }
52 inline void SetRegionName(const char* value) { m_regionNameHasBeenSet = true; m_regionName.assign(value); }
53 inline ReplicaAutoScalingUpdate& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;}
54 inline ReplicaAutoScalingUpdate& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;}
55 inline ReplicaAutoScalingUpdate& WithRegionName(const char* value) { SetRegionName(value); return *this;}
57
59
63 inline const Aws::Vector<ReplicaGlobalSecondaryIndexAutoScalingUpdate>& GetReplicaGlobalSecondaryIndexUpdates() const{ return m_replicaGlobalSecondaryIndexUpdates; }
64 inline bool ReplicaGlobalSecondaryIndexUpdatesHasBeenSet() const { return m_replicaGlobalSecondaryIndexUpdatesHasBeenSet; }
65 inline void SetReplicaGlobalSecondaryIndexUpdates(const Aws::Vector<ReplicaGlobalSecondaryIndexAutoScalingUpdate>& value) { m_replicaGlobalSecondaryIndexUpdatesHasBeenSet = true; m_replicaGlobalSecondaryIndexUpdates = value; }
66 inline void SetReplicaGlobalSecondaryIndexUpdates(Aws::Vector<ReplicaGlobalSecondaryIndexAutoScalingUpdate>&& value) { m_replicaGlobalSecondaryIndexUpdatesHasBeenSet = true; m_replicaGlobalSecondaryIndexUpdates = std::move(value); }
69 inline ReplicaAutoScalingUpdate& AddReplicaGlobalSecondaryIndexUpdates(const ReplicaGlobalSecondaryIndexAutoScalingUpdate& value) { m_replicaGlobalSecondaryIndexUpdatesHasBeenSet = true; m_replicaGlobalSecondaryIndexUpdates.push_back(value); return *this; }
70 inline ReplicaAutoScalingUpdate& AddReplicaGlobalSecondaryIndexUpdates(ReplicaGlobalSecondaryIndexAutoScalingUpdate&& value) { m_replicaGlobalSecondaryIndexUpdatesHasBeenSet = true; m_replicaGlobalSecondaryIndexUpdates.push_back(std::move(value)); return *this; }
72
74
75 inline const AutoScalingSettingsUpdate& GetReplicaProvisionedReadCapacityAutoScalingUpdate() const{ return m_replicaProvisionedReadCapacityAutoScalingUpdate; }
76 inline bool ReplicaProvisionedReadCapacityAutoScalingUpdateHasBeenSet() const { return m_replicaProvisionedReadCapacityAutoScalingUpdateHasBeenSet; }
77 inline void SetReplicaProvisionedReadCapacityAutoScalingUpdate(const AutoScalingSettingsUpdate& value) { m_replicaProvisionedReadCapacityAutoScalingUpdateHasBeenSet = true; m_replicaProvisionedReadCapacityAutoScalingUpdate = value; }
78 inline void SetReplicaProvisionedReadCapacityAutoScalingUpdate(AutoScalingSettingsUpdate&& value) { m_replicaProvisionedReadCapacityAutoScalingUpdateHasBeenSet = true; m_replicaProvisionedReadCapacityAutoScalingUpdate = std::move(value); }
82 private:
83
84 Aws::String m_regionName;
85 bool m_regionNameHasBeenSet = false;
86
87 Aws::Vector<ReplicaGlobalSecondaryIndexAutoScalingUpdate> m_replicaGlobalSecondaryIndexUpdates;
88 bool m_replicaGlobalSecondaryIndexUpdatesHasBeenSet = false;
89
90 AutoScalingSettingsUpdate m_replicaProvisionedReadCapacityAutoScalingUpdate;
91 bool m_replicaProvisionedReadCapacityAutoScalingUpdateHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DynamoDB
96} // namespace Aws
ReplicaAutoScalingUpdate & WithRegionName(const char *value)
void SetReplicaGlobalSecondaryIndexUpdates(Aws::Vector< ReplicaGlobalSecondaryIndexAutoScalingUpdate > &&value)
ReplicaAutoScalingUpdate & WithReplicaGlobalSecondaryIndexUpdates(const Aws::Vector< ReplicaGlobalSecondaryIndexAutoScalingUpdate > &value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicaAutoScalingUpdate & WithReplicaProvisionedReadCapacityAutoScalingUpdate(const AutoScalingSettingsUpdate &value)
ReplicaAutoScalingUpdate & WithReplicaProvisionedReadCapacityAutoScalingUpdate(AutoScalingSettingsUpdate &&value)
void SetReplicaProvisionedReadCapacityAutoScalingUpdate(AutoScalingSettingsUpdate &&value)
ReplicaAutoScalingUpdate & AddReplicaGlobalSecondaryIndexUpdates(ReplicaGlobalSecondaryIndexAutoScalingUpdate &&value)
AWS_DYNAMODB_API ReplicaAutoScalingUpdate(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ReplicaGlobalSecondaryIndexAutoScalingUpdate > & GetReplicaGlobalSecondaryIndexUpdates() const
ReplicaAutoScalingUpdate & WithRegionName(Aws::String &&value)
void SetReplicaProvisionedReadCapacityAutoScalingUpdate(const AutoScalingSettingsUpdate &value)
const AutoScalingSettingsUpdate & GetReplicaProvisionedReadCapacityAutoScalingUpdate() const
ReplicaAutoScalingUpdate & WithRegionName(const Aws::String &value)
void SetReplicaGlobalSecondaryIndexUpdates(const Aws::Vector< ReplicaGlobalSecondaryIndexAutoScalingUpdate > &value)
ReplicaAutoScalingUpdate & WithReplicaGlobalSecondaryIndexUpdates(Aws::Vector< ReplicaGlobalSecondaryIndexAutoScalingUpdate > &&value)
ReplicaAutoScalingUpdate & AddReplicaGlobalSecondaryIndexUpdates(const ReplicaGlobalSecondaryIndexAutoScalingUpdate &value)
AWS_DYNAMODB_API ReplicaAutoScalingUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue