AWS SDK for C++  1.9.106
AWS SDK for C++
AwsAutoScalingAutoScalingGroupDetails.h
Go to the documentation of this file.
1 
6 #pragma once
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 SecurityHub
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetLaunchConfigurationName() const{ return m_launchConfigurationName; }
45 
49  inline bool LaunchConfigurationNameHasBeenSet() const { return m_launchConfigurationNameHasBeenSet; }
50 
54  inline void SetLaunchConfigurationName(const Aws::String& value) { m_launchConfigurationNameHasBeenSet = true; m_launchConfigurationName = value; }
55 
59  inline void SetLaunchConfigurationName(Aws::String&& value) { m_launchConfigurationNameHasBeenSet = true; m_launchConfigurationName = std::move(value); }
60 
64  inline void SetLaunchConfigurationName(const char* value) { m_launchConfigurationNameHasBeenSet = true; m_launchConfigurationName.assign(value); }
65 
69  inline AwsAutoScalingAutoScalingGroupDetails& WithLaunchConfigurationName(const Aws::String& value) { SetLaunchConfigurationName(value); return *this;}
70 
74  inline AwsAutoScalingAutoScalingGroupDetails& WithLaunchConfigurationName(Aws::String&& value) { SetLaunchConfigurationName(std::move(value)); return *this;}
75 
79  inline AwsAutoScalingAutoScalingGroupDetails& WithLaunchConfigurationName(const char* value) { SetLaunchConfigurationName(value); return *this;}
80 
81 
85  inline const Aws::Vector<Aws::String>& GetLoadBalancerNames() const{ return m_loadBalancerNames; }
86 
90  inline bool LoadBalancerNamesHasBeenSet() const { return m_loadBalancerNamesHasBeenSet; }
91 
95  inline void SetLoadBalancerNames(const Aws::Vector<Aws::String>& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = value; }
96 
100  inline void SetLoadBalancerNames(Aws::Vector<Aws::String>&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames = std::move(value); }
101 
105  inline AwsAutoScalingAutoScalingGroupDetails& WithLoadBalancerNames(const Aws::Vector<Aws::String>& value) { SetLoadBalancerNames(value); return *this;}
106 
110  inline AwsAutoScalingAutoScalingGroupDetails& WithLoadBalancerNames(Aws::Vector<Aws::String>&& value) { SetLoadBalancerNames(std::move(value)); return *this;}
111 
115  inline AwsAutoScalingAutoScalingGroupDetails& AddLoadBalancerNames(const Aws::String& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
116 
120  inline AwsAutoScalingAutoScalingGroupDetails& AddLoadBalancerNames(Aws::String&& value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(std::move(value)); return *this; }
121 
125  inline AwsAutoScalingAutoScalingGroupDetails& AddLoadBalancerNames(const char* value) { m_loadBalancerNamesHasBeenSet = true; m_loadBalancerNames.push_back(value); return *this; }
126 
127 
131  inline const Aws::String& GetHealthCheckType() const{ return m_healthCheckType; }
132 
136  inline bool HealthCheckTypeHasBeenSet() const { return m_healthCheckTypeHasBeenSet; }
137 
141  inline void SetHealthCheckType(const Aws::String& value) { m_healthCheckTypeHasBeenSet = true; m_healthCheckType = value; }
142 
146  inline void SetHealthCheckType(Aws::String&& value) { m_healthCheckTypeHasBeenSet = true; m_healthCheckType = std::move(value); }
147 
151  inline void SetHealthCheckType(const char* value) { m_healthCheckTypeHasBeenSet = true; m_healthCheckType.assign(value); }
152 
156  inline AwsAutoScalingAutoScalingGroupDetails& WithHealthCheckType(const Aws::String& value) { SetHealthCheckType(value); return *this;}
157 
161  inline AwsAutoScalingAutoScalingGroupDetails& WithHealthCheckType(Aws::String&& value) { SetHealthCheckType(std::move(value)); return *this;}
162 
166  inline AwsAutoScalingAutoScalingGroupDetails& WithHealthCheckType(const char* value) { SetHealthCheckType(value); return *this;}
167 
168 
173  inline int GetHealthCheckGracePeriod() const{ return m_healthCheckGracePeriod; }
174 
179  inline bool HealthCheckGracePeriodHasBeenSet() const { return m_healthCheckGracePeriodHasBeenSet; }
180 
185  inline void SetHealthCheckGracePeriod(int value) { m_healthCheckGracePeriodHasBeenSet = true; m_healthCheckGracePeriod = value; }
186 
191  inline AwsAutoScalingAutoScalingGroupDetails& WithHealthCheckGracePeriod(int value) { SetHealthCheckGracePeriod(value); return *this;}
192 
193 
201  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
202 
210  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
211 
219  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
220 
228  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
229 
237  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
238 
246  inline AwsAutoScalingAutoScalingGroupDetails& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
247 
255  inline AwsAutoScalingAutoScalingGroupDetails& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
256 
264  inline AwsAutoScalingAutoScalingGroupDetails& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
265 
266  private:
267 
268  Aws::String m_launchConfigurationName;
269  bool m_launchConfigurationNameHasBeenSet;
270 
271  Aws::Vector<Aws::String> m_loadBalancerNames;
272  bool m_loadBalancerNamesHasBeenSet;
273 
274  Aws::String m_healthCheckType;
275  bool m_healthCheckTypeHasBeenSet;
276 
277  int m_healthCheckGracePeriod;
278  bool m_healthCheckGracePeriodHasBeenSet;
279 
280  Aws::String m_createdTime;
281  bool m_createdTimeHasBeenSet;
282  };
283 
284 } // namespace Model
285 } // namespace SecurityHub
286 } // namespace Aws
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::AddLoadBalancerNames
AwsAutoScalingAutoScalingGroupDetails & AddLoadBalancerNames(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:115
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetLaunchConfigurationName
void SetLaunchConfigurationName(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:54
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:219
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetLaunchConfigurationName
void SetLaunchConfigurationName(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:59
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithLaunchConfigurationName
AwsAutoScalingAutoScalingGroupDetails & WithLaunchConfigurationName(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:74
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:228
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetHealthCheckType
void SetHealthCheckType(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:146
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:237
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::LoadBalancerNamesHasBeenSet
bool LoadBalancerNamesHasBeenSet() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:90
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::GetLoadBalancerNames
const Aws::Vector< Aws::String > & GetLoadBalancerNames() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:85
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::GetHealthCheckGracePeriod
int GetHealthCheckGracePeriod() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:173
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::AddLoadBalancerNames
AwsAutoScalingAutoScalingGroupDetails & AddLoadBalancerNames(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:125
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::HealthCheckTypeHasBeenSet
bool HealthCheckTypeHasBeenSet() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:136
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:210
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetHealthCheckGracePeriod
void SetHealthCheckGracePeriod(int value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:185
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithLoadBalancerNames
AwsAutoScalingAutoScalingGroupDetails & WithLoadBalancerNames(const Aws::Vector< Aws::String > &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:105
AWSVector.h
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithCreatedTime
AwsAutoScalingAutoScalingGroupDetails & WithCreatedTime(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:255
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetLaunchConfigurationName
void SetLaunchConfigurationName(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:64
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::HealthCheckGracePeriodHasBeenSet
bool HealthCheckGracePeriodHasBeenSet() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:179
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithHealthCheckType
AwsAutoScalingAutoScalingGroupDetails & WithHealthCheckType(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:166
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithHealthCheckType
AwsAutoScalingAutoScalingGroupDetails & WithHealthCheckType(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:161
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithLoadBalancerNames
AwsAutoScalingAutoScalingGroupDetails & WithLoadBalancerNames(Aws::Vector< Aws::String > &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:110
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithHealthCheckType
AwsAutoScalingAutoScalingGroupDetails & WithHealthCheckType(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:156
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::AddLoadBalancerNames
AwsAutoScalingAutoScalingGroupDetails & AddLoadBalancerNames(Aws::String &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:120
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithLaunchConfigurationName
AwsAutoScalingAutoScalingGroupDetails & WithLaunchConfigurationName(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:79
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithHealthCheckGracePeriod
AwsAutoScalingAutoScalingGroupDetails & WithHealthCheckGracePeriod(int value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:191
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:201
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithCreatedTime
AwsAutoScalingAutoScalingGroupDetails & WithCreatedTime(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:246
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::operator=
AwsAutoScalingAutoScalingGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::AwsAutoScalingAutoScalingGroupDetails
AwsAutoScalingAutoScalingGroupDetails()
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetLoadBalancerNames
void SetLoadBalancerNames(Aws::Vector< Aws::String > &&value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:100
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails
Definition: AwsAutoScalingAutoScalingGroupDetails.h:33
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::AwsAutoScalingAutoScalingGroupDetails
AwsAutoScalingAutoScalingGroupDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithLaunchConfigurationName
AwsAutoScalingAutoScalingGroupDetails & WithLaunchConfigurationName(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::WithCreatedTime
AwsAutoScalingAutoScalingGroupDetails & WithCreatedTime(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:264
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::GetHealthCheckType
const Aws::String & GetHealthCheckType() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:131
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetHealthCheckType
void SetHealthCheckType(const char *value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:151
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetHealthCheckType
void SetHealthCheckType(const Aws::String &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:141
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::SetLoadBalancerNames
void SetLoadBalancerNames(const Aws::Vector< Aws::String > &value)
Definition: AwsAutoScalingAutoScalingGroupDetails.h:95
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::GetLaunchConfigurationName
const Aws::String & GetLaunchConfigurationName() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:44
Aws::SecurityHub::Model::AwsAutoScalingAutoScalingGroupDetails::LaunchConfigurationNameHasBeenSet
bool LaunchConfigurationNameHasBeenSet() const
Definition: AwsAutoScalingAutoScalingGroupDetails.h:49