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>
72 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
110 inline void SetDesiredCount(
int value) { m_desiredCountHasBeenSet =
true; m_desiredCount = value; }
155 inline void SetLaunchType(
const char* value) { m_launchTypeHasBeenSet =
true; m_launchType.assign(value); }
183 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
240 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
257 inline void SetPropagateTags(
const char* value) { m_propagateTagsHasBeenSet =
true; m_propagateTags.assign(value); }
273 inline void SetRole(
const char* value) { m_roleHasBeenSet =
true; m_role.assign(value); }
296 inline void SetSchedulingStrategy(
const char* value) { m_schedulingStrategyHasBeenSet =
true; m_schedulingStrategy.assign(value); }
310 inline void SetServiceArn(
const char* value) { m_serviceArnHasBeenSet =
true; m_serviceArn.assign(value); }
325 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
354 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
362 bool m_capacityProviderStrategyHasBeenSet =
false;
365 bool m_clusterHasBeenSet =
false;
368 bool m_deploymentConfigurationHasBeenSet =
false;
371 bool m_deploymentControllerHasBeenSet =
false;
374 bool m_desiredCountHasBeenSet =
false;
376 bool m_enableEcsManagedTags;
377 bool m_enableEcsManagedTagsHasBeenSet =
false;
379 bool m_enableExecuteCommand;
380 bool m_enableExecuteCommandHasBeenSet =
false;
382 int m_healthCheckGracePeriodSeconds;
383 bool m_healthCheckGracePeriodSecondsHasBeenSet =
false;
386 bool m_launchTypeHasBeenSet =
false;
389 bool m_loadBalancersHasBeenSet =
false;
392 bool m_nameHasBeenSet =
false;
395 bool m_networkConfigurationHasBeenSet =
false;
398 bool m_placementConstraintsHasBeenSet =
false;
401 bool m_placementStrategiesHasBeenSet =
false;
404 bool m_platformVersionHasBeenSet =
false;
407 bool m_propagateTagsHasBeenSet =
false;
410 bool m_roleHasBeenSet =
false;
413 bool m_schedulingStrategyHasBeenSet =
false;
416 bool m_serviceArnHasBeenSet =
false;
419 bool m_serviceNameHasBeenSet =
false;
422 bool m_serviceRegistriesHasBeenSet =
false;
425 bool m_taskDefinitionHasBeenSet =
false;
AwsEcsServiceDetails & WithPlacementStrategies(Aws::Vector< AwsEcsServicePlacementStrategiesDetails > &&value)
void SetServiceArn(const Aws::String &value)
void SetPlacementStrategies(const Aws::Vector< AwsEcsServicePlacementStrategiesDetails > &value)
bool NetworkConfigurationHasBeenSet() const
void SetSchedulingStrategy(const Aws::String &value)
int GetHealthCheckGracePeriodSeconds() const
void SetDeploymentController(const AwsEcsServiceDeploymentControllerDetails &value)
void SetServiceArn(const char *value)
AwsEcsServiceDetails & WithRole(Aws::String &&value)
AwsEcsServiceDetails & WithNetworkConfiguration(const AwsEcsServiceNetworkConfigurationDetails &value)
const Aws::String & GetSchedulingStrategy() const
void SetName(Aws::String &&value)
bool DesiredCountHasBeenSet() const
void SetCapacityProviderStrategy(const Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &value)
bool RoleHasBeenSet() const
void SetLoadBalancers(Aws::Vector< AwsEcsServiceLoadBalancersDetails > &&value)
void SetTaskDefinition(Aws::String &&value)
void SetServiceName(const char *value)
bool PlacementConstraintsHasBeenSet() const
bool SchedulingStrategyHasBeenSet() const
AWS_SECURITYHUB_API AwsEcsServiceDetails()
void SetPlacementConstraints(const Aws::Vector< AwsEcsServicePlacementConstraintsDetails > &value)
bool ServiceNameHasBeenSet() const
AwsEcsServiceDetails & WithRole(const char *value)
AwsEcsServiceDetails & WithSchedulingStrategy(const char *value)
void SetCapacityProviderStrategy(Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &&value)
AwsEcsServiceDetails & WithCluster(const char *value)
const Aws::String & GetServiceArn() const
const Aws::String & GetPlatformVersion() const
AwsEcsServiceDetails & AddPlacementStrategies(const AwsEcsServicePlacementStrategiesDetails &value)
bool GetEnableExecuteCommand() const
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)
bool DeploymentConfigurationHasBeenSet() const
AwsEcsServiceDetails & AddServiceRegistries(const AwsEcsServiceServiceRegistriesDetails &value)
void SetCluster(Aws::String &&value)
bool ServiceArnHasBeenSet() const
void SetPropagateTags(Aws::String &&value)
AwsEcsServiceDetails & WithLaunchType(const Aws::String &value)
bool PropagateTagsHasBeenSet() const
AwsEcsServiceDetails & WithSchedulingStrategy(const Aws::String &value)
void SetRole(const char *value)
const Aws::Vector< AwsEcsServiceServiceRegistriesDetails > & GetServiceRegistries() const
bool HealthCheckGracePeriodSecondsHasBeenSet() const
void SetPropagateTags(const char *value)
AwsEcsServiceDetails & AddPlacementConstraints(AwsEcsServicePlacementConstraintsDetails &&value)
AwsEcsServiceDetails & WithServiceName(const Aws::String &value)
AwsEcsServiceDetails & WithPropagateTags(const Aws::String &value)
const Aws::String & GetLaunchType() const
AwsEcsServiceDetails & WithHealthCheckGracePeriodSeconds(int value)
bool LaunchTypeHasBeenSet() const
void SetLaunchType(const char *value)
AwsEcsServiceDetails & WithPropagateTags(Aws::String &&value)
const Aws::String & GetRole() const
void SetHealthCheckGracePeriodSeconds(int value)
AwsEcsServiceDetails & WithCapacityProviderStrategy(const Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &value)
void SetEnableEcsManagedTags(bool 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
void SetPlatformVersion(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRole(Aws::String &&value)
bool TaskDefinitionHasBeenSet() const
const AwsEcsServiceDeploymentConfigurationDetails & GetDeploymentConfiguration() const
AwsEcsServiceDetails & WithRole(const Aws::String &value)
void SetCluster(const char *value)
AwsEcsServiceDetails & WithEnableExecuteCommand(bool value)
AwsEcsServiceDetails & WithCapacityProviderStrategy(Aws::Vector< AwsEcsServiceCapacityProviderStrategyDetails > &&value)
void SetDesiredCount(int value)
bool ClusterHasBeenSet() const
void SetServiceName(const Aws::String &value)
const AwsEcsServiceNetworkConfigurationDetails & GetNetworkConfiguration() const
void SetDeploymentController(AwsEcsServiceDeploymentControllerDetails &&value)
void SetPropagateTags(const Aws::String &value)
AwsEcsServiceDetails & WithDeploymentConfiguration(AwsEcsServiceDeploymentConfigurationDetails &&value)
AwsEcsServiceDetails & WithServiceArn(Aws::String &&value)
AwsEcsServiceDetails & WithNetworkConfiguration(AwsEcsServiceNetworkConfigurationDetails &&value)
void SetCluster(const Aws::String &value)
void SetSchedulingStrategy(const char *value)
bool EnableEcsManagedTagsHasBeenSet() const
AwsEcsServiceDetails & WithSchedulingStrategy(Aws::String &&value)
void SetServiceArn(Aws::String &&value)
AwsEcsServiceDetails & WithLaunchType(Aws::String &&value)
AwsEcsServiceDetails & WithCluster(const Aws::String &value)
bool ServiceRegistriesHasBeenSet() const
void SetPlatformVersion(Aws::String &&value)
AwsEcsServiceDetails & AddLoadBalancers(AwsEcsServiceLoadBalancersDetails &&value)
bool LoadBalancersHasBeenSet() const
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
const Aws::String & GetCluster() const
void SetDeploymentConfiguration(AwsEcsServiceDeploymentConfigurationDetails &&value)
bool NameHasBeenSet() const
const Aws::String & GetServiceName() const
AwsEcsServiceDetails & WithTaskDefinition(const char *value)
AwsEcsServiceDetails & WithPlatformVersion(Aws::String &&value)
AwsEcsServiceDetails & AddCapacityProviderStrategy(AwsEcsServiceCapacityProviderStrategyDetails &&value)
void SetName(const Aws::String &value)
AwsEcsServiceDetails & WithTaskDefinition(const Aws::String &value)
AwsEcsServiceDetails & WithDeploymentController(AwsEcsServiceDeploymentControllerDetails &&value)
AwsEcsServiceDetails & AddServiceRegistries(AwsEcsServiceServiceRegistriesDetails &&value)
bool PlacementStrategiesHasBeenSet() const
bool CapacityProviderStrategyHasBeenSet() const
const Aws::Vector< AwsEcsServiceLoadBalancersDetails > & GetLoadBalancers() const
void SetEnableExecuteCommand(bool value)
bool EnableExecuteCommandHasBeenSet() const
void SetLaunchType(const Aws::String &value)
void SetPlatformVersion(const Aws::String &value)
AwsEcsServiceDetails & WithCluster(Aws::String &&value)
void SetDeploymentConfiguration(const AwsEcsServiceDeploymentConfigurationDetails &value)
void SetName(const char *value)
bool GetEnableEcsManagedTags() const
AwsEcsServiceDetails & AddPlacementConstraints(const AwsEcsServicePlacementConstraintsDetails &value)
AwsEcsServiceDetails & WithServiceArn(const Aws::String &value)
AwsEcsServiceDetails & WithServiceRegistries(Aws::Vector< AwsEcsServiceServiceRegistriesDetails > &&value)
const Aws::String & GetTaskDefinition() const
void SetServiceName(Aws::String &&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)
bool DeploymentControllerHasBeenSet() const
const Aws::String & GetName() const
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
void SetTaskDefinition(const char *value)
AwsEcsServiceDetails & WithLoadBalancers(const Aws::Vector< AwsEcsServiceLoadBalancersDetails > &value)
void SetLaunchType(Aws::String &&value)
void SetSchedulingStrategy(Aws::String &&value)
int GetDesiredCount() const
AwsEcsServiceDetails & WithName(const Aws::String &value)
const Aws::String & GetPropagateTags() const
void SetRole(const Aws::String &value)
AWS_SECURITYHUB_API AwsEcsServiceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetTaskDefinition(const Aws::String &value)
AwsEcsServiceDetails & WithServiceName(const char *value)
AwsEcsServiceDetails & WithDeploymentConfiguration(const AwsEcsServiceDeploymentConfigurationDetails &value)
AwsEcsServiceDetails & WithPropagateTags(const char *value)
bool PlatformVersionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue