AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoScalingGroupProviderUpdate.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ManagedScaling.h>
9#include <aws/ecs/model/ManagedTerminationProtection.h>
10#include <aws/ecs/model/ManagedDraining.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ECS
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
48 inline const ManagedScaling& GetManagedScaling() const{ return m_managedScaling; }
49 inline bool ManagedScalingHasBeenSet() const { return m_managedScalingHasBeenSet; }
50 inline void SetManagedScaling(const ManagedScaling& value) { m_managedScalingHasBeenSet = true; m_managedScaling = value; }
51 inline void SetManagedScaling(ManagedScaling&& value) { m_managedScalingHasBeenSet = true; m_managedScaling = std::move(value); }
53 inline AutoScalingGroupProviderUpdate& WithManagedScaling(ManagedScaling&& value) { SetManagedScaling(std::move(value)); return *this;}
55
57
72 inline const ManagedTerminationProtection& GetManagedTerminationProtection() const{ return m_managedTerminationProtection; }
73 inline bool ManagedTerminationProtectionHasBeenSet() const { return m_managedTerminationProtectionHasBeenSet; }
74 inline void SetManagedTerminationProtection(const ManagedTerminationProtection& value) { m_managedTerminationProtectionHasBeenSet = true; m_managedTerminationProtection = value; }
75 inline void SetManagedTerminationProtection(ManagedTerminationProtection&& value) { m_managedTerminationProtectionHasBeenSet = true; m_managedTerminationProtection = std::move(value); }
79
81
86 inline const ManagedDraining& GetManagedDraining() const{ return m_managedDraining; }
87 inline bool ManagedDrainingHasBeenSet() const { return m_managedDrainingHasBeenSet; }
88 inline void SetManagedDraining(const ManagedDraining& value) { m_managedDrainingHasBeenSet = true; m_managedDraining = value; }
89 inline void SetManagedDraining(ManagedDraining&& value) { m_managedDrainingHasBeenSet = true; m_managedDraining = std::move(value); }
91 inline AutoScalingGroupProviderUpdate& WithManagedDraining(ManagedDraining&& value) { SetManagedDraining(std::move(value)); return *this;}
93 private:
94
95 ManagedScaling m_managedScaling;
96 bool m_managedScalingHasBeenSet = false;
97
98 ManagedTerminationProtection m_managedTerminationProtection;
99 bool m_managedTerminationProtectionHasBeenSet = false;
100
101 ManagedDraining m_managedDraining;
102 bool m_managedDrainingHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ECS
107} // namespace Aws
AWS_ECS_API AutoScalingGroupProviderUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoScalingGroupProviderUpdate & WithManagedScaling(ManagedScaling &&value)
AutoScalingGroupProviderUpdate & WithManagedTerminationProtection(ManagedTerminationProtection &&value)
AutoScalingGroupProviderUpdate & WithManagedTerminationProtection(const ManagedTerminationProtection &value)
AutoScalingGroupProviderUpdate & WithManagedDraining(ManagedDraining &&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)
AutoScalingGroupProviderUpdate & WithManagedDraining(const ManagedDraining &value)
Aws::Utils::Json::JsonValue JsonValue