AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsServiceDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsEcsServiceDeploymentConfigurationDetails.h>
11#include <aws/securityhub/model/AwsEcsServiceDeploymentControllerDetails.h>
12#include <aws/securityhub/model/AwsEcsServiceNetworkConfigurationDetails.h>
13#include <aws/securityhub/model/AwsEcsServiceCapacityProviderStrategyDetails.h>
14#include <aws/securityhub/model/AwsEcsServiceLoadBalancersDetails.h>
15#include <aws/securityhub/model/AwsEcsServicePlacementConstraintsDetails.h>
16#include <aws/securityhub/model/AwsEcsServicePlacementStrategiesDetails.h>
17#include <aws/securityhub/model/AwsEcsServiceServiceRegistriesDetails.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace SecurityHub
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_SECURITYHUB_API AwsEcsServiceDetails();
45 AWS_SECURITYHUB_API AwsEcsServiceDetails(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::Vector<AwsEcsServiceCapacityProviderStrategyDetails>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
55 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
56 inline void SetCapacityProviderStrategy(const Aws::Vector<AwsEcsServiceCapacityProviderStrategyDetails>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
57 inline void SetCapacityProviderStrategy(Aws::Vector<AwsEcsServiceCapacityProviderStrategyDetails>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
60 inline AwsEcsServiceDetails& AddCapacityProviderStrategy(const AwsEcsServiceCapacityProviderStrategyDetails& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
61 inline AwsEcsServiceDetails& AddCapacityProviderStrategy(AwsEcsServiceCapacityProviderStrategyDetails&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
63
65
68 inline const Aws::String& GetCluster() const{ return m_cluster; }
69 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
70 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
71 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
72 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
73 inline AwsEcsServiceDetails& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
74 inline AwsEcsServiceDetails& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
75 inline AwsEcsServiceDetails& WithCluster(const char* value) { SetCluster(value); return *this;}
77
79
83 inline const AwsEcsServiceDeploymentConfigurationDetails& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
84 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
85 inline void SetDeploymentConfiguration(const AwsEcsServiceDeploymentConfigurationDetails& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
86 inline void SetDeploymentConfiguration(AwsEcsServiceDeploymentConfigurationDetails&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
90
92
95 inline const AwsEcsServiceDeploymentControllerDetails& GetDeploymentController() const{ return m_deploymentController; }
96 inline bool DeploymentControllerHasBeenSet() const { return m_deploymentControllerHasBeenSet; }
97 inline void SetDeploymentController(const AwsEcsServiceDeploymentControllerDetails& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = value; }
98 inline void SetDeploymentController(AwsEcsServiceDeploymentControllerDetails&& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = std::move(value); }
102
104
108 inline int GetDesiredCount() const{ return m_desiredCount; }
109 inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; }
110 inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; }
111 inline AwsEcsServiceDetails& WithDesiredCount(int value) { SetDesiredCount(value); return *this;}
113
115
118 inline bool GetEnableEcsManagedTags() const{ return m_enableEcsManagedTags; }
119 inline bool EnableEcsManagedTagsHasBeenSet() const { return m_enableEcsManagedTagsHasBeenSet; }
120 inline void SetEnableEcsManagedTags(bool value) { m_enableEcsManagedTagsHasBeenSet = true; m_enableEcsManagedTags = value; }
121 inline AwsEcsServiceDetails& WithEnableEcsManagedTags(bool value) { SetEnableEcsManagedTags(value); return *this;}
123
125
128 inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
129 inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
130 inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
131 inline AwsEcsServiceDetails& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
133
135
140 inline int GetHealthCheckGracePeriodSeconds() const{ return m_healthCheckGracePeriodSeconds; }
141 inline bool HealthCheckGracePeriodSecondsHasBeenSet() const { return m_healthCheckGracePeriodSecondsHasBeenSet; }
142 inline void SetHealthCheckGracePeriodSeconds(int value) { m_healthCheckGracePeriodSecondsHasBeenSet = true; m_healthCheckGracePeriodSeconds = value; }
145
147
151 inline const Aws::String& GetLaunchType() const{ return m_launchType; }
152 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
153 inline void SetLaunchType(const Aws::String& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
154 inline void SetLaunchType(Aws::String&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
155 inline void SetLaunchType(const char* value) { m_launchTypeHasBeenSet = true; m_launchType.assign(value); }
156 inline AwsEcsServiceDetails& WithLaunchType(const Aws::String& value) { SetLaunchType(value); return *this;}
157 inline AwsEcsServiceDetails& WithLaunchType(Aws::String&& value) { SetLaunchType(std::move(value)); return *this;}
158 inline AwsEcsServiceDetails& WithLaunchType(const char* value) { SetLaunchType(value); return *this;}
160
162
165 inline const Aws::Vector<AwsEcsServiceLoadBalancersDetails>& GetLoadBalancers() const{ return m_loadBalancers; }
166 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
167 inline void SetLoadBalancers(const Aws::Vector<AwsEcsServiceLoadBalancersDetails>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
168 inline void SetLoadBalancers(Aws::Vector<AwsEcsServiceLoadBalancersDetails>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
171 inline AwsEcsServiceDetails& AddLoadBalancers(const AwsEcsServiceLoadBalancersDetails& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
172 inline AwsEcsServiceDetails& AddLoadBalancers(AwsEcsServiceLoadBalancersDetails&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
174
176
179 inline const Aws::String& GetName() const{ return m_name; }
180 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
181 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
182 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
183 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
184 inline AwsEcsServiceDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
185 inline AwsEcsServiceDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
186 inline AwsEcsServiceDetails& WithName(const char* value) { SetName(value); return *this;}
188
190
194 inline const AwsEcsServiceNetworkConfigurationDetails& GetNetworkConfiguration() const{ return m_networkConfiguration; }
195 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
196 inline void SetNetworkConfiguration(const AwsEcsServiceNetworkConfigurationDetails& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
197 inline void SetNetworkConfiguration(AwsEcsServiceNetworkConfigurationDetails&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
201
203
206 inline const Aws::Vector<AwsEcsServicePlacementConstraintsDetails>& GetPlacementConstraints() const{ return m_placementConstraints; }
207 inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
208 inline void SetPlacementConstraints(const Aws::Vector<AwsEcsServicePlacementConstraintsDetails>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
209 inline void SetPlacementConstraints(Aws::Vector<AwsEcsServicePlacementConstraintsDetails>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
212 inline AwsEcsServiceDetails& AddPlacementConstraints(const AwsEcsServicePlacementConstraintsDetails& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
213 inline AwsEcsServiceDetails& AddPlacementConstraints(AwsEcsServicePlacementConstraintsDetails&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
215
217
220 inline const Aws::Vector<AwsEcsServicePlacementStrategiesDetails>& GetPlacementStrategies() const{ return m_placementStrategies; }
221 inline bool PlacementStrategiesHasBeenSet() const { return m_placementStrategiesHasBeenSet; }
222 inline void SetPlacementStrategies(const Aws::Vector<AwsEcsServicePlacementStrategiesDetails>& value) { m_placementStrategiesHasBeenSet = true; m_placementStrategies = value; }
223 inline void SetPlacementStrategies(Aws::Vector<AwsEcsServicePlacementStrategiesDetails>&& value) { m_placementStrategiesHasBeenSet = true; m_placementStrategies = std::move(value); }
226 inline AwsEcsServiceDetails& AddPlacementStrategies(const AwsEcsServicePlacementStrategiesDetails& value) { m_placementStrategiesHasBeenSet = true; m_placementStrategies.push_back(value); return *this; }
227 inline AwsEcsServiceDetails& AddPlacementStrategies(AwsEcsServicePlacementStrategiesDetails&& value) { m_placementStrategiesHasBeenSet = true; m_placementStrategies.push_back(std::move(value)); return *this; }
229
231
236 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
237 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
238 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
239 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
240 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
241 inline AwsEcsServiceDetails& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
242 inline AwsEcsServiceDetails& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
243 inline AwsEcsServiceDetails& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
245
247
253 inline const Aws::String& GetPropagateTags() const{ return m_propagateTags; }
254 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
255 inline void SetPropagateTags(const Aws::String& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
256 inline void SetPropagateTags(Aws::String&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
257 inline void SetPropagateTags(const char* value) { m_propagateTagsHasBeenSet = true; m_propagateTags.assign(value); }
258 inline AwsEcsServiceDetails& WithPropagateTags(const Aws::String& value) { SetPropagateTags(value); return *this;}
259 inline AwsEcsServiceDetails& WithPropagateTags(Aws::String&& value) { SetPropagateTags(std::move(value)); return *this;}
260 inline AwsEcsServiceDetails& WithPropagateTags(const char* value) { SetPropagateTags(value); return *this;}
262
264
269 inline const Aws::String& GetRole() const{ return m_role; }
270 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
271 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
272 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
273 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
274 inline AwsEcsServiceDetails& WithRole(const Aws::String& value) { SetRole(value); return *this;}
275 inline AwsEcsServiceDetails& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
276 inline AwsEcsServiceDetails& WithRole(const char* value) { SetRole(value); return *this;}
278
280
292 inline const Aws::String& GetSchedulingStrategy() const{ return m_schedulingStrategy; }
293 inline bool SchedulingStrategyHasBeenSet() const { return m_schedulingStrategyHasBeenSet; }
294 inline void SetSchedulingStrategy(const Aws::String& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = value; }
295 inline void SetSchedulingStrategy(Aws::String&& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = std::move(value); }
296 inline void SetSchedulingStrategy(const char* value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy.assign(value); }
298 inline AwsEcsServiceDetails& WithSchedulingStrategy(Aws::String&& value) { SetSchedulingStrategy(std::move(value)); return *this;}
299 inline AwsEcsServiceDetails& WithSchedulingStrategy(const char* value) { SetSchedulingStrategy(value); return *this;}
301
303
306 inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
307 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
308 inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
309 inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
310 inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
311 inline AwsEcsServiceDetails& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
312 inline AwsEcsServiceDetails& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
313 inline AwsEcsServiceDetails& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
315
317
321 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
322 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
323 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
324 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
325 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
326 inline AwsEcsServiceDetails& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
327 inline AwsEcsServiceDetails& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
328 inline AwsEcsServiceDetails& WithServiceName(const char* value) { SetServiceName(value); return *this;}
330
332
336 inline const Aws::Vector<AwsEcsServiceServiceRegistriesDetails>& GetServiceRegistries() const{ return m_serviceRegistries; }
337 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
338 inline void SetServiceRegistries(const Aws::Vector<AwsEcsServiceServiceRegistriesDetails>& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = value; }
339 inline void SetServiceRegistries(Aws::Vector<AwsEcsServiceServiceRegistriesDetails>&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::move(value); }
342 inline AwsEcsServiceDetails& AddServiceRegistries(const AwsEcsServiceServiceRegistriesDetails& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; }
343 inline AwsEcsServiceDetails& AddServiceRegistries(AwsEcsServiceServiceRegistriesDetails&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; }
345
347
350 inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
351 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
352 inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
353 inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
354 inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
355 inline AwsEcsServiceDetails& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
356 inline AwsEcsServiceDetails& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
357 inline AwsEcsServiceDetails& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
359 private:
360
362 bool m_capacityProviderStrategyHasBeenSet = false;
363
364 Aws::String m_cluster;
365 bool m_clusterHasBeenSet = false;
366
367 AwsEcsServiceDeploymentConfigurationDetails m_deploymentConfiguration;
368 bool m_deploymentConfigurationHasBeenSet = false;
369
370 AwsEcsServiceDeploymentControllerDetails m_deploymentController;
371 bool m_deploymentControllerHasBeenSet = false;
372
373 int m_desiredCount;
374 bool m_desiredCountHasBeenSet = false;
375
376 bool m_enableEcsManagedTags;
377 bool m_enableEcsManagedTagsHasBeenSet = false;
378
379 bool m_enableExecuteCommand;
380 bool m_enableExecuteCommandHasBeenSet = false;
381
382 int m_healthCheckGracePeriodSeconds;
383 bool m_healthCheckGracePeriodSecondsHasBeenSet = false;
384
385 Aws::String m_launchType;
386 bool m_launchTypeHasBeenSet = false;
387
389 bool m_loadBalancersHasBeenSet = false;
390
391 Aws::String m_name;
392 bool m_nameHasBeenSet = false;
393
394 AwsEcsServiceNetworkConfigurationDetails m_networkConfiguration;
395 bool m_networkConfigurationHasBeenSet = false;
396
398 bool m_placementConstraintsHasBeenSet = false;
399
401 bool m_placementStrategiesHasBeenSet = false;
402
403 Aws::String m_platformVersion;
404 bool m_platformVersionHasBeenSet = false;
405
406 Aws::String m_propagateTags;
407 bool m_propagateTagsHasBeenSet = false;
408
409 Aws::String m_role;
410 bool m_roleHasBeenSet = false;
411
412 Aws::String m_schedulingStrategy;
413 bool m_schedulingStrategyHasBeenSet = false;
414
415 Aws::String m_serviceArn;
416 bool m_serviceArnHasBeenSet = false;
417
418 Aws::String m_serviceName;
419 bool m_serviceNameHasBeenSet = false;
420
422 bool m_serviceRegistriesHasBeenSet = false;
423
424 Aws::String m_taskDefinition;
425 bool m_taskDefinitionHasBeenSet = false;
426 };
427
428} // namespace Model
429} // namespace SecurityHub
430} // namespace Aws
AwsEcsServiceDetails & WithPlacementStrategies(Aws::Vector< AwsEcsServicePlacementStrategiesDetails > &&value)
void SetPlacementStrategies(const Aws::Vector< AwsEcsServicePlacementStrategiesDetails > &value)
void SetSchedulingStrategy(const Aws::String &value)
void SetDeploymentController(const AwsEcsServiceDeploymentControllerDetails &value)
AwsEcsServiceDetails & WithRole(Aws::String &&value)
AwsEcsServiceDetails & WithNetworkConfiguration(const AwsEcsServiceNetworkConfigurationDetails &value)
void SetCapacityProviderStrategy(const Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &value)
void SetLoadBalancers(Aws::Vector< AwsEcsServiceLoadBalancersDetails > &&value)
void SetPlacementConstraints(const Aws::Vector< AwsEcsServicePlacementConstraintsDetails > &value)
AwsEcsServiceDetails & WithRole(const char *value)
AwsEcsServiceDetails & WithSchedulingStrategy(const char *value)
void SetCapacityProviderStrategy(Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &&value)
AwsEcsServiceDetails & WithCluster(const char *value)
AwsEcsServiceDetails & AddPlacementStrategies(const AwsEcsServicePlacementStrategiesDetails &value)
const Aws::Vector< AwsEcsServicePlacementConstraintsDetails > & GetPlacementConstraints() const
void SetServiceRegistries(Aws::Vector< AwsEcsServiceServiceRegistriesDetails > &&value)
AwsEcsServiceDetails & WithPlatformVersion(const Aws::String &value)
AWS_SECURITYHUB_API AwsEcsServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPlacementConstraints(Aws::Vector< AwsEcsServicePlacementConstraintsDetails > &&value)
AwsEcsServiceDetails & AddPlacementStrategies(AwsEcsServicePlacementStrategiesDetails &&value)
AwsEcsServiceDetails & WithLaunchType(const char *value)
AwsEcsServiceDetails & WithDesiredCount(int value)
void SetServiceRegistries(const Aws::Vector< AwsEcsServiceServiceRegistriesDetails > &value)
AwsEcsServiceDetails & AddServiceRegistries(const AwsEcsServiceServiceRegistriesDetails &value)
AwsEcsServiceDetails & WithLaunchType(const Aws::String &value)
AwsEcsServiceDetails & WithSchedulingStrategy(const Aws::String &value)
const Aws::Vector< AwsEcsServiceServiceRegistriesDetails > & GetServiceRegistries() const
AwsEcsServiceDetails & AddPlacementConstraints(AwsEcsServicePlacementConstraintsDetails &&value)
AwsEcsServiceDetails & WithServiceName(const Aws::String &value)
AwsEcsServiceDetails & WithPropagateTags(const Aws::String &value)
AwsEcsServiceDetails & WithHealthCheckGracePeriodSeconds(int value)
AwsEcsServiceDetails & WithPropagateTags(Aws::String &&value)
AwsEcsServiceDetails & WithCapacityProviderStrategy(const Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &value)
AwsEcsServiceDetails & AddLoadBalancers(const AwsEcsServiceLoadBalancersDetails &value)
AwsEcsServiceDetails & WithLoadBalancers(Aws::Vector< AwsEcsServiceLoadBalancersDetails > &&value)
AwsEcsServiceDetails & WithDeploymentController(const AwsEcsServiceDeploymentControllerDetails &value)
AwsEcsServiceDetails & WithPlacementConstraints(const Aws::Vector< AwsEcsServicePlacementConstraintsDetails > &value)
AwsEcsServiceDetails & WithServiceArn(const char *value)
const Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > & GetCapacityProviderStrategy() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsEcsServiceDeploymentConfigurationDetails & GetDeploymentConfiguration() const
AwsEcsServiceDetails & WithRole(const Aws::String &value)
AwsEcsServiceDetails & WithEnableExecuteCommand(bool value)
AwsEcsServiceDetails & WithCapacityProviderStrategy(Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &&value)
const AwsEcsServiceNetworkConfigurationDetails & GetNetworkConfiguration() const
void SetDeploymentController(AwsEcsServiceDeploymentControllerDetails &&value)
AwsEcsServiceDetails & WithDeploymentConfiguration(AwsEcsServiceDeploymentConfigurationDetails &&value)
AwsEcsServiceDetails & WithServiceArn(Aws::String &&value)
AwsEcsServiceDetails & WithNetworkConfiguration(AwsEcsServiceNetworkConfigurationDetails &&value)
AwsEcsServiceDetails & WithSchedulingStrategy(Aws::String &&value)
AwsEcsServiceDetails & WithLaunchType(Aws::String &&value)
AwsEcsServiceDetails & WithCluster(const Aws::String &value)
AwsEcsServiceDetails & AddLoadBalancers(AwsEcsServiceLoadBalancersDetails &&value)
AwsEcsServiceDetails & WithName(const char *value)
AwsEcsServiceDetails & WithName(Aws::String &&value)
void SetNetworkConfiguration(AwsEcsServiceNetworkConfigurationDetails &&value)
void SetPlacementStrategies(Aws::Vector< AwsEcsServicePlacementStrategiesDetails > &&value)
AwsEcsServiceDetails & AddCapacityProviderStrategy(const AwsEcsServiceCapacityProviderStrategyDetails &value)
const Aws::Vector< AwsEcsServicePlacementStrategiesDetails > & GetPlacementStrategies() const
void SetDeploymentConfiguration(AwsEcsServiceDeploymentConfigurationDetails &&value)
AwsEcsServiceDetails & WithTaskDefinition(const char *value)
AwsEcsServiceDetails & WithPlatformVersion(Aws::String &&value)
AwsEcsServiceDetails & AddCapacityProviderStrategy(AwsEcsServiceCapacityProviderStrategyDetails &&value)
AwsEcsServiceDetails & WithTaskDefinition(const Aws::String &value)
AwsEcsServiceDetails & WithDeploymentController(AwsEcsServiceDeploymentControllerDetails &&value)
AwsEcsServiceDetails & AddServiceRegistries(AwsEcsServiceServiceRegistriesDetails &&value)
const Aws::Vector< AwsEcsServiceLoadBalancersDetails > & GetLoadBalancers() const
AwsEcsServiceDetails & WithCluster(Aws::String &&value)
void SetDeploymentConfiguration(const AwsEcsServiceDeploymentConfigurationDetails &value)
AwsEcsServiceDetails & AddPlacementConstraints(const AwsEcsServicePlacementConstraintsDetails &value)
AwsEcsServiceDetails & WithServiceArn(const Aws::String &value)
AwsEcsServiceDetails & WithServiceRegistries(Aws::Vector< AwsEcsServiceServiceRegistriesDetails > &&value)
AwsEcsServiceDetails & WithServiceRegistries(const Aws::Vector< AwsEcsServiceServiceRegistriesDetails > &value)
AwsEcsServiceDetails & WithServiceName(Aws::String &&value)
AwsEcsServiceDetails & WithPlatformVersion(const char *value)
void SetLoadBalancers(const Aws::Vector< AwsEcsServiceLoadBalancersDetails > &value)
AwsEcsServiceDetails & WithPlacementConstraints(Aws::Vector< AwsEcsServicePlacementConstraintsDetails > &&value)
void SetNetworkConfiguration(const AwsEcsServiceNetworkConfigurationDetails &value)
AwsEcsServiceDetails & WithPlacementStrategies(const Aws::Vector< AwsEcsServicePlacementStrategiesDetails > &value)
AwsEcsServiceDetails & WithTaskDefinition(Aws::String &&value)
AwsEcsServiceDetails & WithEnableEcsManagedTags(bool value)
const AwsEcsServiceDeploymentControllerDetails & GetDeploymentController() const
AwsEcsServiceDetails & WithLoadBalancers(const Aws::Vector< AwsEcsServiceLoadBalancersDetails > &value)
AwsEcsServiceDetails & WithName(const Aws::String &value)
AWS_SECURITYHUB_API AwsEcsServiceDetails(Aws::Utils::Json::JsonView jsonValue)
AwsEcsServiceDetails & WithServiceName(const char *value)
AwsEcsServiceDetails & WithDeploymentConfiguration(const AwsEcsServiceDeploymentConfigurationDetails &value)
AwsEcsServiceDetails & WithPropagateTags(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue