AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AutoScalingGroupProviderUpdate.h
Go to the documentation of this file.
1
6#pragma once
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 ECS
23{
24namespace Model
25{
26
34 {
35 public:
40
41
46 inline const ManagedScaling& GetManagedScaling() const{ return m_managedScaling; }
47
52 inline bool ManagedScalingHasBeenSet() const { return m_managedScalingHasBeenSet; }
53
58 inline void SetManagedScaling(const ManagedScaling& value) { m_managedScalingHasBeenSet = true; m_managedScaling = value; }
59
64 inline void SetManagedScaling(ManagedScaling&& value) { m_managedScalingHasBeenSet = true; m_managedScaling = std::move(value); }
65
71
76 inline AutoScalingGroupProviderUpdate& WithManagedScaling(ManagedScaling&& value) { SetManagedScaling(std::move(value)); return *this;}
77
78
94 inline const ManagedTerminationProtection& GetManagedTerminationProtection() const{ return m_managedTerminationProtection; }
95
111 inline bool ManagedTerminationProtectionHasBeenSet() const { return m_managedTerminationProtectionHasBeenSet; }
112
128 inline void SetManagedTerminationProtection(const ManagedTerminationProtection& value) { m_managedTerminationProtectionHasBeenSet = true; m_managedTerminationProtection = value; }
129
145 inline void SetManagedTerminationProtection(ManagedTerminationProtection&& value) { m_managedTerminationProtectionHasBeenSet = true; m_managedTerminationProtection = std::move(value); }
146
163
180
181 private:
182
183 ManagedScaling m_managedScaling;
184 bool m_managedScalingHasBeenSet = false;
185
186 ManagedTerminationProtection m_managedTerminationProtection;
187 bool m_managedTerminationProtectionHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace ECS
192} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API AutoScalingGroupProviderUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoScalingGroupProviderUpdate & WithManagedScaling(ManagedScaling &&value)
AutoScalingGroupProviderUpdate & WithManagedTerminationProtection(ManagedTerminationProtection &&value)
AutoScalingGroupProviderUpdate & WithManagedTerminationProtection(const ManagedTerminationProtection &value)
AutoScalingGroupProviderUpdate & WithManagedScaling(const ManagedScaling &value)
const ManagedTerminationProtection & GetManagedTerminationProtection() const
void SetManagedTerminationProtection(const ManagedTerminationProtection &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API AutoScalingGroupProviderUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetManagedTerminationProtection(ManagedTerminationProtection &&value)