AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateServiceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 #include <aws/ecs/ECSRequest.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace ECS
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "UpdateService"; }
37 
38  Aws::String SerializePayload() const override;
39 
41 
42 
48  inline const Aws::String& GetCluster() const{ return m_cluster; }
49 
55  inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
56 
62  inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
63 
69  inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
70 
76  inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
77 
83  inline UpdateServiceRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
84 
90  inline UpdateServiceRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
91 
97  inline UpdateServiceRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
98 
99 
103  inline const Aws::String& GetService() const{ return m_service; }
104 
108  inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
109 
113  inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
114 
118  inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
119 
123  inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
124 
128  inline UpdateServiceRequest& WithService(const Aws::String& value) { SetService(value); return *this;}
129 
133  inline UpdateServiceRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
134 
138  inline UpdateServiceRequest& WithService(const char* value) { SetService(value); return *this;}
139 
140 
145  inline int GetDesiredCount() const{ return m_desiredCount; }
146 
151  inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; }
152 
157  inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; }
158 
163  inline UpdateServiceRequest& WithDesiredCount(int value) { SetDesiredCount(value); return *this;}
164 
165 
174  inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
175 
184  inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
185 
194  inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
195 
204  inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
205 
214  inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
215 
224  inline UpdateServiceRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
225 
234  inline UpdateServiceRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
235 
244  inline UpdateServiceRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
245 
246 
270  inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
271 
295  inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
296 
320  inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
321 
345  inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
346 
370  inline UpdateServiceRequest& WithCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { SetCapacityProviderStrategy(value); return *this;}
371 
395  inline UpdateServiceRequest& WithCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { SetCapacityProviderStrategy(std::move(value)); return *this;}
396 
420  inline UpdateServiceRequest& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
421 
445  inline UpdateServiceRequest& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
446 
447 
452  inline const DeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
453 
458  inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
459 
464  inline void SetDeploymentConfiguration(const DeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
465 
470  inline void SetDeploymentConfiguration(DeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
471 
476  inline UpdateServiceRequest& WithDeploymentConfiguration(const DeploymentConfiguration& value) { SetDeploymentConfiguration(value); return *this;}
477 
482  inline UpdateServiceRequest& WithDeploymentConfiguration(DeploymentConfiguration&& value) { SetDeploymentConfiguration(std::move(value)); return *this;}
483 
484 
488  inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
489 
493  inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
494 
498  inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
499 
503  inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
504 
508  inline UpdateServiceRequest& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;}
509 
513  inline UpdateServiceRequest& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
514 
515 
525  inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
526 
536  inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
537 
547  inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
548 
558  inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
559 
569  inline UpdateServiceRequest& WithPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { SetPlacementConstraints(value); return *this;}
570 
580  inline UpdateServiceRequest& WithPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { SetPlacementConstraints(std::move(value)); return *this;}
581 
591  inline UpdateServiceRequest& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
592 
602  inline UpdateServiceRequest& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
603 
604 
613  inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
614 
623  inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
624 
633  inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
634 
643  inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
644 
653  inline UpdateServiceRequest& WithPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { SetPlacementStrategy(value); return *this;}
654 
663  inline UpdateServiceRequest& WithPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { SetPlacementStrategy(std::move(value)); return *this;}
664 
673  inline UpdateServiceRequest& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
674 
683  inline UpdateServiceRequest& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
684 
685 
695  inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
696 
706  inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
707 
717  inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
718 
728  inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
729 
739  inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
740 
750  inline UpdateServiceRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
751 
761  inline UpdateServiceRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
762 
772  inline UpdateServiceRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
773 
774 
782  inline bool GetForceNewDeployment() const{ return m_forceNewDeployment; }
783 
791  inline bool ForceNewDeploymentHasBeenSet() const { return m_forceNewDeploymentHasBeenSet; }
792 
800  inline void SetForceNewDeployment(bool value) { m_forceNewDeploymentHasBeenSet = true; m_forceNewDeployment = value; }
801 
809  inline UpdateServiceRequest& WithForceNewDeployment(bool value) { SetForceNewDeployment(value); return *this;}
810 
811 
823  inline int GetHealthCheckGracePeriodSeconds() const{ return m_healthCheckGracePeriodSeconds; }
824 
836  inline bool HealthCheckGracePeriodSecondsHasBeenSet() const { return m_healthCheckGracePeriodSecondsHasBeenSet; }
837 
849  inline void SetHealthCheckGracePeriodSeconds(int value) { m_healthCheckGracePeriodSecondsHasBeenSet = true; m_healthCheckGracePeriodSeconds = value; }
850 
862  inline UpdateServiceRequest& WithHealthCheckGracePeriodSeconds(int value) { SetHealthCheckGracePeriodSeconds(value); return *this;}
863 
864 
871  inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
872 
879  inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
880 
887  inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
888 
895  inline UpdateServiceRequest& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
896 
897  private:
898 
899  Aws::String m_cluster;
900  bool m_clusterHasBeenSet;
901 
902  Aws::String m_service;
903  bool m_serviceHasBeenSet;
904 
905  int m_desiredCount;
906  bool m_desiredCountHasBeenSet;
907 
908  Aws::String m_taskDefinition;
909  bool m_taskDefinitionHasBeenSet;
910 
911  Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
912  bool m_capacityProviderStrategyHasBeenSet;
913 
914  DeploymentConfiguration m_deploymentConfiguration;
915  bool m_deploymentConfigurationHasBeenSet;
916 
917  NetworkConfiguration m_networkConfiguration;
918  bool m_networkConfigurationHasBeenSet;
919 
920  Aws::Vector<PlacementConstraint> m_placementConstraints;
921  bool m_placementConstraintsHasBeenSet;
922 
923  Aws::Vector<PlacementStrategy> m_placementStrategy;
924  bool m_placementStrategyHasBeenSet;
925 
926  Aws::String m_platformVersion;
927  bool m_platformVersionHasBeenSet;
928 
929  bool m_forceNewDeployment;
930  bool m_forceNewDeploymentHasBeenSet;
931 
932  int m_healthCheckGracePeriodSeconds;
933  bool m_healthCheckGracePeriodSecondsHasBeenSet;
934 
935  bool m_enableExecuteCommand;
936  bool m_enableExecuteCommandHasBeenSet;
937  };
938 
939 } // namespace Model
940 } // namespace ECS
941 } // namespace Aws
Aws::ECS::Model::UpdateServiceRequest::WithCapacityProviderStrategy
UpdateServiceRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: UpdateServiceRequest.h:370
Aws::ECS::Model::UpdateServiceRequest::GetDeploymentConfiguration
const DeploymentConfiguration & GetDeploymentConfiguration() const
Definition: UpdateServiceRequest.h:452
Aws::ECS::Model::UpdateServiceRequest::WithPlacementStrategy
UpdateServiceRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: UpdateServiceRequest.h:653
PlacementStrategy.h
Aws::ECS::Model::UpdateServiceRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECS::Model::UpdateServiceRequest::HealthCheckGracePeriodSecondsHasBeenSet
bool HealthCheckGracePeriodSecondsHasBeenSet() const
Definition: UpdateServiceRequest.h:836
Aws::ECS::Model::UpdateServiceRequest::SetTaskDefinition
void SetTaskDefinition(const char *value)
Definition: UpdateServiceRequest.h:214
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECS::Model::UpdateServiceRequest::SetPlatformVersion
void SetPlatformVersion(const char *value)
Definition: UpdateServiceRequest.h:739
Aws::ECS::Model::UpdateServiceRequest::AddPlacementConstraints
UpdateServiceRequest & AddPlacementConstraints(PlacementConstraint &&value)
Definition: UpdateServiceRequest.h:602
Aws::ECS::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:33
Aws::ECS::Model::UpdateServiceRequest::GetTaskDefinition
const Aws::String & GetTaskDefinition() const
Definition: UpdateServiceRequest.h:174
Aws::ECS::Model::UpdateServiceRequest::WithService
UpdateServiceRequest & WithService(const char *value)
Definition: UpdateServiceRequest.h:138
DeploymentConfiguration.h
Aws::ECS::Model::UpdateServiceRequest::GetPlacementConstraints
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
Definition: UpdateServiceRequest.h:525
Aws::ECS::Model::UpdateServiceRequest::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: UpdateServiceRequest.h:345
Aws::ECS::Model::UpdateServiceRequest::PlacementConstraintsHasBeenSet
bool PlacementConstraintsHasBeenSet() const
Definition: UpdateServiceRequest.h:536
Aws::ECS::Model::UpdateServiceRequest::SetService
void SetService(const Aws::String &value)
Definition: UpdateServiceRequest.h:113
Aws::ECS::Model::UpdateServiceRequest::PlatformVersionHasBeenSet
bool PlatformVersionHasBeenSet() const
Definition: UpdateServiceRequest.h:706
Aws::ECS::Model::UpdateServiceRequest::WithService
UpdateServiceRequest & WithService(const Aws::String &value)
Definition: UpdateServiceRequest.h:128
Aws::ECS::Model::UpdateServiceRequest::AddPlacementConstraints
UpdateServiceRequest & AddPlacementConstraints(const PlacementConstraint &value)
Definition: UpdateServiceRequest.h:591
Aws::ECS::Model::UpdateServiceRequest::AddCapacityProviderStrategy
UpdateServiceRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition: UpdateServiceRequest.h:445
Aws::ECS::Model::UpdateServiceRequest::WithTaskDefinition
UpdateServiceRequest & WithTaskDefinition(Aws::String &&value)
Definition: UpdateServiceRequest.h:234
Aws::ECS::Model::UpdateServiceRequest::ClusterHasBeenSet
bool ClusterHasBeenSet() const
Definition: UpdateServiceRequest.h:55
Aws::ECS::Model::UpdateServiceRequest::UpdateServiceRequest
UpdateServiceRequest()
Aws::ECS::Model::UpdateServiceRequest::ForceNewDeploymentHasBeenSet
bool ForceNewDeploymentHasBeenSet() const
Definition: UpdateServiceRequest.h:791
PlacementConstraint.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::UpdateServiceRequest::SetDeploymentConfiguration
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
Definition: UpdateServiceRequest.h:470
Aws::ECS::Model::DeploymentConfiguration
Definition: DeploymentConfiguration.h:34
Aws::ECS::Model::UpdateServiceRequest::WithNetworkConfiguration
UpdateServiceRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
Definition: UpdateServiceRequest.h:513
Aws::ECS::Model::UpdateServiceRequest::WithForceNewDeployment
UpdateServiceRequest & WithForceNewDeployment(bool value)
Definition: UpdateServiceRequest.h:809
Aws::ECS::Model::UpdateServiceRequest::SetPlacementConstraints
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: UpdateServiceRequest.h:558
Aws::ECS::Model::UpdateServiceRequest::WithCluster
UpdateServiceRequest & WithCluster(const char *value)
Definition: UpdateServiceRequest.h:97
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::UpdateServiceRequest::WithDesiredCount
UpdateServiceRequest & WithDesiredCount(int value)
Definition: UpdateServiceRequest.h:163
Aws::ECS::Model::UpdateServiceRequest::GetDesiredCount
int GetDesiredCount() const
Definition: UpdateServiceRequest.h:145
Aws::ECS::Model::UpdateServiceRequest::GetNetworkConfiguration
const NetworkConfiguration & GetNetworkConfiguration() const
Definition: UpdateServiceRequest.h:488
Aws::ECS::Model::PlacementConstraint
Definition: PlacementConstraint.h:38
Aws::ECS::Model::CapacityProviderStrategyItem
Definition: CapacityProviderStrategyItem.h:45
Aws::ECS::Model::UpdateServiceRequest::WithDeploymentConfiguration
UpdateServiceRequest & WithDeploymentConfiguration(const DeploymentConfiguration &value)
Definition: UpdateServiceRequest.h:476
Aws::ECS::Model::UpdateServiceRequest::WithPlacementConstraints
UpdateServiceRequest & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: UpdateServiceRequest.h:580
NetworkConfiguration.h
Aws::ECS::Model::UpdateServiceRequest::SetPlacementStrategy
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: UpdateServiceRequest.h:643
Aws::ECS::ECSRequest
Definition: ECSRequest.h:17
Aws::ECS::Model::UpdateServiceRequest::SetHealthCheckGracePeriodSeconds
void SetHealthCheckGracePeriodSeconds(int value)
Definition: UpdateServiceRequest.h:849
Aws::ECS::Model::UpdateServiceRequest::WithHealthCheckGracePeriodSeconds
UpdateServiceRequest & WithHealthCheckGracePeriodSeconds(int value)
Definition: UpdateServiceRequest.h:862
Aws::ECS::Model::UpdateServiceRequest::SetPlacementConstraints
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: UpdateServiceRequest.h:547
Aws::ECS::Model::UpdateServiceRequest::GetHealthCheckGracePeriodSeconds
int GetHealthCheckGracePeriodSeconds() const
Definition: UpdateServiceRequest.h:823
Aws::ECS::Model::UpdateServiceRequest::EnableExecuteCommandHasBeenSet
bool EnableExecuteCommandHasBeenSet() const
Definition: UpdateServiceRequest.h:879
Aws::ECS::Model::UpdateServiceRequest::DeploymentConfigurationHasBeenSet
bool DeploymentConfigurationHasBeenSet() const
Definition: UpdateServiceRequest.h:458
Aws::ECS::Model::UpdateServiceRequest::ServiceHasBeenSet
bool ServiceHasBeenSet() const
Definition: UpdateServiceRequest.h:108
Aws::ECS::Model::UpdateServiceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateServiceRequest.h:36
Aws::ECS::Model::UpdateServiceRequest::WithTaskDefinition
UpdateServiceRequest & WithTaskDefinition(const char *value)
Definition: UpdateServiceRequest.h:244
Aws::ECS::Model::UpdateServiceRequest::CapacityProviderStrategyHasBeenSet
bool CapacityProviderStrategyHasBeenSet() const
Definition: UpdateServiceRequest.h:295
Aws::ECS::Model::UpdateServiceRequest::SetPlatformVersion
void SetPlatformVersion(Aws::String &&value)
Definition: UpdateServiceRequest.h:728
Aws::ECS::Model::UpdateServiceRequest::SetDeploymentConfiguration
void SetDeploymentConfiguration(const DeploymentConfiguration &value)
Definition: UpdateServiceRequest.h:464
Aws::ECS::Model::UpdateServiceRequest::AddCapacityProviderStrategy
UpdateServiceRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition: UpdateServiceRequest.h:420
Aws::ECS::Model::UpdateServiceRequest::WithPlacementConstraints
UpdateServiceRequest & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: UpdateServiceRequest.h:569
AWSString.h
Aws::ECS::Model::UpdateServiceRequest::AddPlacementStrategy
UpdateServiceRequest & AddPlacementStrategy(PlacementStrategy &&value)
Definition: UpdateServiceRequest.h:683
Aws::ECS::Model::UpdateServiceRequest::WithCluster
UpdateServiceRequest & WithCluster(Aws::String &&value)
Definition: UpdateServiceRequest.h:90
Aws::ECS::Model::UpdateServiceRequest::WithEnableExecuteCommand
UpdateServiceRequest & WithEnableExecuteCommand(bool value)
Definition: UpdateServiceRequest.h:895
Aws::ECS::Model::UpdateServiceRequest::TaskDefinitionHasBeenSet
bool TaskDefinitionHasBeenSet() const
Definition: UpdateServiceRequest.h:184
CapacityProviderStrategyItem.h
Aws::ECS::Model::UpdateServiceRequest::AddPlacementStrategy
UpdateServiceRequest & AddPlacementStrategy(const PlacementStrategy &value)
Definition: UpdateServiceRequest.h:673
Aws::ECS::Model::UpdateServiceRequest::WithPlatformVersion
UpdateServiceRequest & WithPlatformVersion(const Aws::String &value)
Definition: UpdateServiceRequest.h:750
Aws::ECS::Model::UpdateServiceRequest::SetPlacementStrategy
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: UpdateServiceRequest.h:633
Aws::ECS::Model::UpdateServiceRequest::SetService
void SetService(Aws::String &&value)
Definition: UpdateServiceRequest.h:118
Aws::ECS::Model::UpdateServiceRequest::GetForceNewDeployment
bool GetForceNewDeployment() const
Definition: UpdateServiceRequest.h:782
Aws::ECS::Model::UpdateServiceRequest::DesiredCountHasBeenSet
bool DesiredCountHasBeenSet() const
Definition: UpdateServiceRequest.h:151
Aws::ECS::Model::UpdateServiceRequest::WithPlatformVersion
UpdateServiceRequest & WithPlatformVersion(const char *value)
Definition: UpdateServiceRequest.h:772
Aws::ECS::Model::UpdateServiceRequest::WithService
UpdateServiceRequest & WithService(Aws::String &&value)
Definition: UpdateServiceRequest.h:133
Aws::ECS::Model::UpdateServiceRequest::GetCluster
const Aws::String & GetCluster() const
Definition: UpdateServiceRequest.h:48
Aws::ECS::Model::UpdateServiceRequest::SetCluster
void SetCluster(Aws::String &&value)
Definition: UpdateServiceRequest.h:69
Aws::ECS::Model::UpdateServiceRequest::NetworkConfigurationHasBeenSet
bool NetworkConfigurationHasBeenSet() const
Definition: UpdateServiceRequest.h:493
Aws::ECS::Model::UpdateServiceRequest::SetNetworkConfiguration
void SetNetworkConfiguration(const NetworkConfiguration &value)
Definition: UpdateServiceRequest.h:498
Aws::ECS::Model::UpdateServiceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECS::Model::UpdateServiceRequest::SetEnableExecuteCommand
void SetEnableExecuteCommand(bool value)
Definition: UpdateServiceRequest.h:887
Aws::ECS::Model::UpdateServiceRequest::GetCapacityProviderStrategy
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition: UpdateServiceRequest.h:270
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::UpdateServiceRequest::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: UpdateServiceRequest.h:320
Aws::ECS::Model::UpdateServiceRequest::WithDeploymentConfiguration
UpdateServiceRequest & WithDeploymentConfiguration(DeploymentConfiguration &&value)
Definition: UpdateServiceRequest.h:482
Aws::ECS::Model::UpdateServiceRequest
Definition: UpdateServiceRequest.h:28
Aws::ECS::Model::PlacementStrategy
Definition: PlacementStrategy.h:37
Aws::ECS::Model::UpdateServiceRequest::WithCapacityProviderStrategy
UpdateServiceRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: UpdateServiceRequest.h:395
Aws::ECS::Model::UpdateServiceRequest::SetPlatformVersion
void SetPlatformVersion(const Aws::String &value)
Definition: UpdateServiceRequest.h:717
Aws::ECS::Model::UpdateServiceRequest::WithCluster
UpdateServiceRequest & WithCluster(const Aws::String &value)
Definition: UpdateServiceRequest.h:83
Aws::ECS::Model::UpdateServiceRequest::GetService
const Aws::String & GetService() const
Definition: UpdateServiceRequest.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::UpdateServiceRequest::WithTaskDefinition
UpdateServiceRequest & WithTaskDefinition(const Aws::String &value)
Definition: UpdateServiceRequest.h:224
Aws::ECS::Model::UpdateServiceRequest::WithPlatformVersion
UpdateServiceRequest & WithPlatformVersion(Aws::String &&value)
Definition: UpdateServiceRequest.h:761
Aws::ECS::Model::UpdateServiceRequest::SetTaskDefinition
void SetTaskDefinition(Aws::String &&value)
Definition: UpdateServiceRequest.h:204
Aws::ECS::Model::UpdateServiceRequest::SetDesiredCount
void SetDesiredCount(int value)
Definition: UpdateServiceRequest.h:157
Aws::ECS::Model::UpdateServiceRequest::SetTaskDefinition
void SetTaskDefinition(const Aws::String &value)
Definition: UpdateServiceRequest.h:194
Aws::ECS::Model::UpdateServiceRequest::GetPlatformVersion
const Aws::String & GetPlatformVersion() const
Definition: UpdateServiceRequest.h:695
Aws::ECS::Model::UpdateServiceRequest::WithPlacementStrategy
UpdateServiceRequest & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: UpdateServiceRequest.h:663
Aws::ECS::Model::UpdateServiceRequest::SetNetworkConfiguration
void SetNetworkConfiguration(NetworkConfiguration &&value)
Definition: UpdateServiceRequest.h:503
Aws::ECS::Model::UpdateServiceRequest::GetPlacementStrategy
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
Definition: UpdateServiceRequest.h:613
Aws::ECS::Model::UpdateServiceRequest::GetEnableExecuteCommand
bool GetEnableExecuteCommand() const
Definition: UpdateServiceRequest.h:871
Aws::ECS::Model::UpdateServiceRequest::SetCluster
void SetCluster(const Aws::String &value)
Definition: UpdateServiceRequest.h:62
Aws::ECS::Model::UpdateServiceRequest::SetCluster
void SetCluster(const char *value)
Definition: UpdateServiceRequest.h:76
ECS_EXPORTS.h
Aws::ECS::Model::UpdateServiceRequest::WithNetworkConfiguration
UpdateServiceRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
Definition: UpdateServiceRequest.h:508
Aws::ECS::Model::UpdateServiceRequest::SetService
void SetService(const char *value)
Definition: UpdateServiceRequest.h:123
Aws::ECS::Model::UpdateServiceRequest::PlacementStrategyHasBeenSet
bool PlacementStrategyHasBeenSet() const
Definition: UpdateServiceRequest.h:623
ECSRequest.h
Aws::ECS::Model::UpdateServiceRequest::SetForceNewDeployment
void SetForceNewDeployment(bool value)
Definition: UpdateServiceRequest.h:800