AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoScalingSettingsUpdate.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/AutoScalingPolicyUpdate.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:
36 AWS_DYNAMODB_API AutoScalingSettingsUpdate();
39 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline long long GetMinimumUnits() const{ return m_minimumUnits; }
48 inline bool MinimumUnitsHasBeenSet() const { return m_minimumUnitsHasBeenSet; }
49 inline void SetMinimumUnits(long long value) { m_minimumUnitsHasBeenSet = true; m_minimumUnits = value; }
50 inline AutoScalingSettingsUpdate& WithMinimumUnits(long long value) { SetMinimumUnits(value); return *this;}
52
54
58 inline long long GetMaximumUnits() const{ return m_maximumUnits; }
59 inline bool MaximumUnitsHasBeenSet() const { return m_maximumUnitsHasBeenSet; }
60 inline void SetMaximumUnits(long long value) { m_maximumUnitsHasBeenSet = true; m_maximumUnits = value; }
61 inline AutoScalingSettingsUpdate& WithMaximumUnits(long long value) { SetMaximumUnits(value); return *this;}
63
65
68 inline bool GetAutoScalingDisabled() const{ return m_autoScalingDisabled; }
69 inline bool AutoScalingDisabledHasBeenSet() const { return m_autoScalingDisabledHasBeenSet; }
70 inline void SetAutoScalingDisabled(bool value) { m_autoScalingDisabledHasBeenSet = true; m_autoScalingDisabled = value; }
73
75
78 inline const Aws::String& GetAutoScalingRoleArn() const{ return m_autoScalingRoleArn; }
79 inline bool AutoScalingRoleArnHasBeenSet() const { return m_autoScalingRoleArnHasBeenSet; }
80 inline void SetAutoScalingRoleArn(const Aws::String& value) { m_autoScalingRoleArnHasBeenSet = true; m_autoScalingRoleArn = value; }
81 inline void SetAutoScalingRoleArn(Aws::String&& value) { m_autoScalingRoleArnHasBeenSet = true; m_autoScalingRoleArn = std::move(value); }
82 inline void SetAutoScalingRoleArn(const char* value) { m_autoScalingRoleArnHasBeenSet = true; m_autoScalingRoleArn.assign(value); }
84 inline AutoScalingSettingsUpdate& WithAutoScalingRoleArn(Aws::String&& value) { SetAutoScalingRoleArn(std::move(value)); return *this;}
85 inline AutoScalingSettingsUpdate& WithAutoScalingRoleArn(const char* value) { SetAutoScalingRoleArn(value); return *this;}
87
89
93 inline const AutoScalingPolicyUpdate& GetScalingPolicyUpdate() const{ return m_scalingPolicyUpdate; }
94 inline bool ScalingPolicyUpdateHasBeenSet() const { return m_scalingPolicyUpdateHasBeenSet; }
95 inline void SetScalingPolicyUpdate(const AutoScalingPolicyUpdate& value) { m_scalingPolicyUpdateHasBeenSet = true; m_scalingPolicyUpdate = value; }
96 inline void SetScalingPolicyUpdate(AutoScalingPolicyUpdate&& value) { m_scalingPolicyUpdateHasBeenSet = true; m_scalingPolicyUpdate = std::move(value); }
100 private:
101
102 long long m_minimumUnits;
103 bool m_minimumUnitsHasBeenSet = false;
104
105 long long m_maximumUnits;
106 bool m_maximumUnitsHasBeenSet = false;
107
108 bool m_autoScalingDisabled;
109 bool m_autoScalingDisabledHasBeenSet = false;
110
111 Aws::String m_autoScalingRoleArn;
112 bool m_autoScalingRoleArnHasBeenSet = false;
113
114 AutoScalingPolicyUpdate m_scalingPolicyUpdate;
115 bool m_scalingPolicyUpdateHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace DynamoDB
120} // namespace Aws
AutoScalingSettingsUpdate & WithScalingPolicyUpdate(const AutoScalingPolicyUpdate &value)
void SetScalingPolicyUpdate(AutoScalingPolicyUpdate &&value)
AWS_DYNAMODB_API AutoScalingSettingsUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetScalingPolicyUpdate(const AutoScalingPolicyUpdate &value)
AWS_DYNAMODB_API AutoScalingSettingsUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoScalingSettingsUpdate & WithMaximumUnits(long long value)
AutoScalingSettingsUpdate & WithAutoScalingRoleArn(const char *value)
AutoScalingSettingsUpdate & WithAutoScalingRoleArn(const Aws::String &value)
const AutoScalingPolicyUpdate & GetScalingPolicyUpdate() const
AutoScalingSettingsUpdate & WithMinimumUnits(long long value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AutoScalingSettingsUpdate & WithAutoScalingRoleArn(Aws::String &&value)
AutoScalingSettingsUpdate & WithScalingPolicyUpdate(AutoScalingPolicyUpdate &&value)
AutoScalingSettingsUpdate & WithAutoScalingDisabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue