AWS SDK for C++  1.9.161
AWS SDK for C++
AutoScalingGroupProviderUpdate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ECS
23 {
24 namespace 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 
70  inline AutoScalingGroupProviderUpdate& WithManagedScaling(const ManagedScaling& value) { SetManagedScaling(value); return *this;}
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 
162  inline AutoScalingGroupProviderUpdate& WithManagedTerminationProtection(const ManagedTerminationProtection& value) { SetManagedTerminationProtection(value); return *this;}
163 
179  inline AutoScalingGroupProviderUpdate& WithManagedTerminationProtection(ManagedTerminationProtection&& value) { SetManagedTerminationProtection(std::move(value)); return *this;}
180 
181  private:
182 
183  ManagedScaling m_managedScaling;
184  bool m_managedScalingHasBeenSet;
185 
186  ManagedTerminationProtection m_managedTerminationProtection;
187  bool m_managedTerminationProtectionHasBeenSet;
188  };
189 
190 } // namespace Model
191 } // namespace ECS
192 } // namespace Aws
Aws::ECS::Model::AutoScalingGroupProviderUpdate::SetManagedScaling
void SetManagedScaling(const ManagedScaling &value)
Definition: AutoScalingGroupProviderUpdate.h:58
Aws::ECS::Model::AutoScalingGroupProviderUpdate::AutoScalingGroupProviderUpdate
AutoScalingGroupProviderUpdate()
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::AutoScalingGroupProviderUpdate::ManagedTerminationProtectionHasBeenSet
bool ManagedTerminationProtectionHasBeenSet() const
Definition: AutoScalingGroupProviderUpdate.h:111
Aws::ECS::Model::AutoScalingGroupProviderUpdate::GetManagedScaling
const ManagedScaling & GetManagedScaling() const
Definition: AutoScalingGroupProviderUpdate.h:46
Aws::ECS::Model::AutoScalingGroupProviderUpdate::SetManagedTerminationProtection
void SetManagedTerminationProtection(const ManagedTerminationProtection &value)
Definition: AutoScalingGroupProviderUpdate.h:128
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::AutoScalingGroupProviderUpdate::SetManagedScaling
void SetManagedScaling(ManagedScaling &&value)
Definition: AutoScalingGroupProviderUpdate.h:64
Aws::ECS::Model::AutoScalingGroupProviderUpdate
Definition: AutoScalingGroupProviderUpdate.h:34
ManagedTerminationProtection.h
Aws::ECS::Model::AutoScalingGroupProviderUpdate::SetManagedTerminationProtection
void SetManagedTerminationProtection(ManagedTerminationProtection &&value)
Definition: AutoScalingGroupProviderUpdate.h:145
Aws::ECS::Model::AutoScalingGroupProviderUpdate::WithManagedTerminationProtection
AutoScalingGroupProviderUpdate & WithManagedTerminationProtection(const ManagedTerminationProtection &value)
Definition: AutoScalingGroupProviderUpdate.h:162
Aws::ECS::Model::AutoScalingGroupProviderUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::AutoScalingGroupProviderUpdate::ManagedScalingHasBeenSet
bool ManagedScalingHasBeenSet() const
Definition: AutoScalingGroupProviderUpdate.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::AutoScalingGroupProviderUpdate::WithManagedScaling
AutoScalingGroupProviderUpdate & WithManagedScaling(ManagedScaling &&value)
Definition: AutoScalingGroupProviderUpdate.h:76
ManagedScaling.h
Aws::ECS::Model::AutoScalingGroupProviderUpdate::AutoScalingGroupProviderUpdate
AutoScalingGroupProviderUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::AutoScalingGroupProviderUpdate::operator=
AutoScalingGroupProviderUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::AutoScalingGroupProviderUpdate::GetManagedTerminationProtection
const ManagedTerminationProtection & GetManagedTerminationProtection() const
Definition: AutoScalingGroupProviderUpdate.h:94
Aws::ECS::Model::AutoScalingGroupProviderUpdate::WithManagedScaling
AutoScalingGroupProviderUpdate & WithManagedScaling(const ManagedScaling &value)
Definition: AutoScalingGroupProviderUpdate.h:70
Aws::ECS::Model::ManagedScaling
Definition: ManagedScaling.h:41
Aws::ECS::Model::ManagedTerminationProtection
ManagedTerminationProtection
Definition: ManagedTerminationProtection.h:17
ECS_EXPORTS.h
Aws::ECS::Model::AutoScalingGroupProviderUpdate::WithManagedTerminationProtection
AutoScalingGroupProviderUpdate & WithManagedTerminationProtection(ManagedTerminationProtection &&value)
Definition: AutoScalingGroupProviderUpdate.h:179