7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/DeploymentConfiguration.h>
12#include <aws/ecs/model/NetworkConfiguration.h>
13#include <aws/ecs/model/PropagateTags.h>
14#include <aws/ecs/model/ServiceConnectConfiguration.h>
15#include <aws/ecs/model/CapacityProviderStrategyItem.h>
16#include <aws/ecs/model/PlacementConstraint.h>
17#include <aws/ecs/model/PlacementStrategy.h>
18#include <aws/ecs/model/LoadBalancer.h>
19#include <aws/ecs/model/ServiceRegistry.h>
20#include <aws/ecs/model/ServiceVolumeConfiguration.h>
58 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
72 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
85 inline void SetDesiredCount(
int value) { m_desiredCountHasBeenSet =
true; m_desiredCount = value; }
102 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
223 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
240 inline void SetForceNewDeployment(
bool value) { m_forceNewDeploymentHasBeenSet =
true; m_forceNewDeployment = value; }
409 bool m_clusterHasBeenSet =
false;
412 bool m_serviceHasBeenSet =
false;
415 bool m_desiredCountHasBeenSet =
false;
418 bool m_taskDefinitionHasBeenSet =
false;
421 bool m_capacityProviderStrategyHasBeenSet =
false;
424 bool m_deploymentConfigurationHasBeenSet =
false;
427 bool m_networkConfigurationHasBeenSet =
false;
430 bool m_placementConstraintsHasBeenSet =
false;
433 bool m_placementStrategyHasBeenSet =
false;
436 bool m_platformVersionHasBeenSet =
false;
438 bool m_forceNewDeployment;
439 bool m_forceNewDeploymentHasBeenSet =
false;
441 int m_healthCheckGracePeriodSeconds;
442 bool m_healthCheckGracePeriodSecondsHasBeenSet =
false;
444 bool m_enableExecuteCommand;
445 bool m_enableExecuteCommandHasBeenSet =
false;
447 bool m_enableECSManagedTags;
448 bool m_enableECSManagedTagsHasBeenSet =
false;
451 bool m_loadBalancersHasBeenSet =
false;
454 bool m_propagateTagsHasBeenSet =
false;
457 bool m_serviceRegistriesHasBeenSet =
false;
460 bool m_serviceConnectConfigurationHasBeenSet =
false;
463 bool m_volumeConfigurationsHasBeenSet =
false;
UpdateServiceRequest & WithServiceConnectConfiguration(ServiceConnectConfiguration &&value)
void SetPropagateTags(PropagateTags &&value)
void SetTaskDefinition(const Aws::String &value)
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
UpdateServiceRequest & AddVolumeConfigurations(const ServiceVolumeConfiguration &value)
UpdateServiceRequest & WithEnableECSManagedTags(bool value)
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
void SetService(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
void SetCluster(Aws::String &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
UpdateServiceRequest & WithPlatformVersion(const char *value)
bool GetEnableExecuteCommand() const
UpdateServiceRequest & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
void SetService(const char *value)
bool PlacementConstraintsHasBeenSet() const
const Aws::Vector< ServiceVolumeConfiguration > & GetVolumeConfigurations() const
void SetPlatformVersion(const char *value)
UpdateServiceRequest & WithPlatformVersion(const Aws::String &value)
UpdateServiceRequest & WithService(Aws::String &&value)
int GetHealthCheckGracePeriodSeconds() const
void SetServiceConnectConfiguration(const ServiceConnectConfiguration &value)
UpdateServiceRequest & WithServiceConnectConfiguration(const ServiceConnectConfiguration &value)
UpdateServiceRequest & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
UpdateServiceRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
const DeploymentConfiguration & GetDeploymentConfiguration() const
UpdateServiceRequest & WithService(const Aws::String &value)
UpdateServiceRequest & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
bool ForceNewDeploymentHasBeenSet() const
UpdateServiceRequest & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
bool GetEnableECSManagedTags() const
UpdateServiceRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
UpdateServiceRequest & WithPropagateTags(PropagateTags &&value)
const Aws::String & GetPlatformVersion() const
const Aws::String & GetTaskDefinition() const
bool EnableECSManagedTagsHasBeenSet() const
UpdateServiceRequest & WithDeploymentConfiguration(const DeploymentConfiguration &value)
void SetVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEnableExecuteCommand(bool value)
void SetTaskDefinition(Aws::String &&value)
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
bool PlatformVersionHasBeenSet() const
UpdateServiceRequest & AddLoadBalancers(LoadBalancer &&value)
UpdateServiceRequest & WithDesiredCount(int value)
bool ServiceConnectConfigurationHasBeenSet() const
bool PropagateTagsHasBeenSet() const
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
const Aws::String & GetCluster() const
UpdateServiceRequest & WithCluster(const Aws::String &value)
UpdateServiceRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
UpdateServiceRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
bool GetForceNewDeployment() const
UpdateServiceRequest & AddServiceRegistries(ServiceRegistry &&value)
UpdateServiceRequest & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
bool HealthCheckGracePeriodSecondsHasBeenSet() const
void SetPropagateTags(const PropagateTags &value)
virtual const char * GetServiceRequestName() const override
UpdateServiceRequest & WithVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
void SetPlatformVersion(const Aws::String &value)
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
UpdateServiceRequest & WithPlatformVersion(Aws::String &&value)
UpdateServiceRequest & WithTaskDefinition(const char *value)
UpdateServiceRequest & WithTaskDefinition(Aws::String &&value)
UpdateServiceRequest & WithVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
const Aws::String & GetService() const
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
UpdateServiceRequest & AddPlacementStrategy(PlacementStrategy &&value)
UpdateServiceRequest & WithPropagateTags(const PropagateTags &value)
bool DeploymentConfigurationHasBeenSet() const
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
bool EnableExecuteCommandHasBeenSet() const
UpdateServiceRequest & AddVolumeConfigurations(ServiceVolumeConfiguration &&value)
void SetHealthCheckGracePeriodSeconds(int value)
bool TaskDefinitionHasBeenSet() const
UpdateServiceRequest & WithDeploymentConfiguration(DeploymentConfiguration &&value)
UpdateServiceRequest & AddPlacementConstraints(const PlacementConstraint &value)
void SetTaskDefinition(const char *value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
UpdateServiceRequest & AddPlacementConstraints(PlacementConstraint &&value)
bool DesiredCountHasBeenSet() const
bool ServiceHasBeenSet() const
UpdateServiceRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
void SetPlatformVersion(Aws::String &&value)
bool VolumeConfigurationsHasBeenSet() const
const NetworkConfiguration & GetNetworkConfiguration() const
UpdateServiceRequest & AddLoadBalancers(const LoadBalancer &value)
void SetCluster(const char *value)
void SetDeploymentConfiguration(const DeploymentConfiguration &value)
void SetCluster(const Aws::String &value)
bool PlacementStrategyHasBeenSet() const
UpdateServiceRequest & WithHealthCheckGracePeriodSeconds(int value)
void SetService(Aws::String &&value)
bool LoadBalancersHasBeenSet() const
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
UpdateServiceRequest & WithEnableExecuteCommand(bool value)
AWS_ECS_API UpdateServiceRequest()
UpdateServiceRequest & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
void SetDesiredCount(int value)
int GetDesiredCount() const
UpdateServiceRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
UpdateServiceRequest & WithService(const char *value)
const PropagateTags & GetPropagateTags() const
void SetEnableECSManagedTags(bool value)
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
UpdateServiceRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
UpdateServiceRequest & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetServiceConnectConfiguration(ServiceConnectConfiguration &&value)
bool CapacityProviderStrategyHasBeenSet() const
bool ServiceRegistriesHasBeenSet() const
void SetForceNewDeployment(bool value)
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
UpdateServiceRequest & WithTaskDefinition(const Aws::String &value)
bool ClusterHasBeenSet() const
UpdateServiceRequest & WithCluster(const char *value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
UpdateServiceRequest & WithForceNewDeployment(bool value)
void SetVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
UpdateServiceRequest & WithCluster(Aws::String &&value)
UpdateServiceRequest & AddPlacementStrategy(const PlacementStrategy &value)
bool NetworkConfigurationHasBeenSet() const
UpdateServiceRequest & AddServiceRegistries(const ServiceRegistry &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector