AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServiceRequest.h
1
6#pragma once
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>
21#include <utility>
22
23namespace Aws
24{
25namespace ECS
26{
27namespace Model
28{
29
33 {
34 public:
35 AWS_ECS_API UpdateServiceRequest();
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "UpdateService"; }
42
43 AWS_ECS_API Aws::String SerializePayload() const override;
44
46
47
49
54 inline const Aws::String& GetCluster() const{ return m_cluster; }
55 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
56 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
57 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
58 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
59 inline UpdateServiceRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
60 inline UpdateServiceRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
61 inline UpdateServiceRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
63
65
68 inline const Aws::String& GetService() const{ return m_service; }
69 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
70 inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; }
71 inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
72 inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); }
73 inline UpdateServiceRequest& WithService(const Aws::String& value) { SetService(value); return *this;}
74 inline UpdateServiceRequest& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;}
75 inline UpdateServiceRequest& WithService(const char* value) { SetService(value); return *this;}
77
79
83 inline int GetDesiredCount() const{ return m_desiredCount; }
84 inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; }
85 inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; }
86 inline UpdateServiceRequest& WithDesiredCount(int value) { SetDesiredCount(value); return *this;}
88
90
98 inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
99 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
100 inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
101 inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
102 inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
103 inline UpdateServiceRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
104 inline UpdateServiceRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
105 inline UpdateServiceRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
107
109
135 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
136 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
137 inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
138 inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
141 inline UpdateServiceRequest& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
142 inline UpdateServiceRequest& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
144
146
150 inline const DeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
151 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
152 inline void SetDeploymentConfiguration(const DeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
153 inline void SetDeploymentConfiguration(DeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
157
159
162 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
163 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
164 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
165 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
169
171
180 inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
181 inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
182 inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
183 inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
186 inline UpdateServiceRequest& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
187 inline UpdateServiceRequest& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
189
191
199 inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
200 inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
201 inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
202 inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
205 inline UpdateServiceRequest& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
206 inline UpdateServiceRequest& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
208
210
219 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
220 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
221 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
222 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
223 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
224 inline UpdateServiceRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
225 inline UpdateServiceRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
226 inline UpdateServiceRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
228
230
238 inline bool GetForceNewDeployment() const{ return m_forceNewDeployment; }
239 inline bool ForceNewDeploymentHasBeenSet() const { return m_forceNewDeploymentHasBeenSet; }
240 inline void SetForceNewDeployment(bool value) { m_forceNewDeploymentHasBeenSet = true; m_forceNewDeployment = value; }
241 inline UpdateServiceRequest& WithForceNewDeployment(bool value) { SetForceNewDeployment(value); return *this;}
243
245
256 inline int GetHealthCheckGracePeriodSeconds() const{ return m_healthCheckGracePeriodSeconds; }
257 inline bool HealthCheckGracePeriodSecondsHasBeenSet() const { return m_healthCheckGracePeriodSecondsHasBeenSet; }
258 inline void SetHealthCheckGracePeriodSeconds(int value) { m_healthCheckGracePeriodSecondsHasBeenSet = true; m_healthCheckGracePeriodSeconds = value; }
261
263
269 inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
270 inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
271 inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
272 inline UpdateServiceRequest& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
274
276
286 inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
287 inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
288 inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
289 inline UpdateServiceRequest& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
291
293
320 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const{ return m_loadBalancers; }
321 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
322 inline void SetLoadBalancers(const Aws::Vector<LoadBalancer>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
323 inline void SetLoadBalancers(Aws::Vector<LoadBalancer>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
325 inline UpdateServiceRequest& WithLoadBalancers(Aws::Vector<LoadBalancer>&& value) { SetLoadBalancers(std::move(value)); return *this;}
326 inline UpdateServiceRequest& AddLoadBalancers(const LoadBalancer& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
327 inline UpdateServiceRequest& AddLoadBalancers(LoadBalancer&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
329
331
338 inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
339 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
340 inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
341 inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
342 inline UpdateServiceRequest& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
343 inline UpdateServiceRequest& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
345
347
357 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const{ return m_serviceRegistries; }
358 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
359 inline void SetServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = value; }
360 inline void SetServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::move(value); }
363 inline UpdateServiceRequest& AddServiceRegistries(const ServiceRegistry& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; }
364 inline UpdateServiceRequest& AddServiceRegistries(ServiceRegistry&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; }
366
368
379 inline const ServiceConnectConfiguration& GetServiceConnectConfiguration() const{ return m_serviceConnectConfiguration; }
380 inline bool ServiceConnectConfigurationHasBeenSet() const { return m_serviceConnectConfigurationHasBeenSet; }
381 inline void SetServiceConnectConfiguration(const ServiceConnectConfiguration& value) { m_serviceConnectConfigurationHasBeenSet = true; m_serviceConnectConfiguration = value; }
382 inline void SetServiceConnectConfiguration(ServiceConnectConfiguration&& value) { m_serviceConnectConfigurationHasBeenSet = true; m_serviceConnectConfiguration = std::move(value); }
386
388
397 inline const Aws::Vector<ServiceVolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
398 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
399 inline void SetVolumeConfigurations(const Aws::Vector<ServiceVolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
400 inline void SetVolumeConfigurations(Aws::Vector<ServiceVolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::move(value); }
403 inline UpdateServiceRequest& AddVolumeConfigurations(const ServiceVolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
404 inline UpdateServiceRequest& AddVolumeConfigurations(ServiceVolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(std::move(value)); return *this; }
406 private:
407
408 Aws::String m_cluster;
409 bool m_clusterHasBeenSet = false;
410
411 Aws::String m_service;
412 bool m_serviceHasBeenSet = false;
413
414 int m_desiredCount;
415 bool m_desiredCountHasBeenSet = false;
416
417 Aws::String m_taskDefinition;
418 bool m_taskDefinitionHasBeenSet = false;
419
420 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
421 bool m_capacityProviderStrategyHasBeenSet = false;
422
423 DeploymentConfiguration m_deploymentConfiguration;
424 bool m_deploymentConfigurationHasBeenSet = false;
425
426 NetworkConfiguration m_networkConfiguration;
427 bool m_networkConfigurationHasBeenSet = false;
428
429 Aws::Vector<PlacementConstraint> m_placementConstraints;
430 bool m_placementConstraintsHasBeenSet = false;
431
432 Aws::Vector<PlacementStrategy> m_placementStrategy;
433 bool m_placementStrategyHasBeenSet = false;
434
435 Aws::String m_platformVersion;
436 bool m_platformVersionHasBeenSet = false;
437
438 bool m_forceNewDeployment;
439 bool m_forceNewDeploymentHasBeenSet = false;
440
441 int m_healthCheckGracePeriodSeconds;
442 bool m_healthCheckGracePeriodSecondsHasBeenSet = false;
443
444 bool m_enableExecuteCommand;
445 bool m_enableExecuteCommandHasBeenSet = false;
446
447 bool m_enableECSManagedTags;
448 bool m_enableECSManagedTagsHasBeenSet = false;
449
450 Aws::Vector<LoadBalancer> m_loadBalancers;
451 bool m_loadBalancersHasBeenSet = false;
452
453 PropagateTags m_propagateTags;
454 bool m_propagateTagsHasBeenSet = false;
455
456 Aws::Vector<ServiceRegistry> m_serviceRegistries;
457 bool m_serviceRegistriesHasBeenSet = false;
458
459 ServiceConnectConfiguration m_serviceConnectConfiguration;
460 bool m_serviceConnectConfigurationHasBeenSet = false;
461
462 Aws::Vector<ServiceVolumeConfiguration> m_volumeConfigurations;
463 bool m_volumeConfigurationsHasBeenSet = false;
464 };
465
466} // namespace Model
467} // namespace ECS
468} // namespace Aws
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
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
UpdateServiceRequest & WithPlatformVersion(const char *value)
UpdateServiceRequest & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
const Aws::Vector< ServiceVolumeConfiguration > & GetVolumeConfigurations() const
UpdateServiceRequest & WithPlatformVersion(const Aws::String &value)
UpdateServiceRequest & WithService(Aws::String &&value)
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)
UpdateServiceRequest & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
UpdateServiceRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
UpdateServiceRequest & WithPropagateTags(PropagateTags &&value)
const Aws::String & GetPlatformVersion() const
const Aws::String & GetTaskDefinition() const
UpdateServiceRequest & WithDeploymentConfiguration(const DeploymentConfiguration &value)
void SetVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
UpdateServiceRequest & AddLoadBalancers(LoadBalancer &&value)
UpdateServiceRequest & WithDesiredCount(int value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
UpdateServiceRequest & WithCluster(const Aws::String &value)
UpdateServiceRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
UpdateServiceRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
UpdateServiceRequest & AddServiceRegistries(ServiceRegistry &&value)
UpdateServiceRequest & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
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::Vector< PlacementConstraint > & GetPlacementConstraints() const
UpdateServiceRequest & AddPlacementStrategy(PlacementStrategy &&value)
UpdateServiceRequest & WithPropagateTags(const PropagateTags &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
UpdateServiceRequest & AddVolumeConfigurations(ServiceVolumeConfiguration &&value)
UpdateServiceRequest & WithDeploymentConfiguration(DeploymentConfiguration &&value)
UpdateServiceRequest & AddPlacementConstraints(const PlacementConstraint &value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
UpdateServiceRequest & AddPlacementConstraints(PlacementConstraint &&value)
UpdateServiceRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
const NetworkConfiguration & GetNetworkConfiguration() const
UpdateServiceRequest & AddLoadBalancers(const LoadBalancer &value)
void SetDeploymentConfiguration(const DeploymentConfiguration &value)
void SetCluster(const Aws::String &value)
UpdateServiceRequest & WithHealthCheckGracePeriodSeconds(int value)
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
UpdateServiceRequest & WithEnableExecuteCommand(bool value)
UpdateServiceRequest & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
UpdateServiceRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
UpdateServiceRequest & WithService(const char *value)
const PropagateTags & GetPropagateTags() const
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)
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
UpdateServiceRequest & WithTaskDefinition(const Aws::String &value)
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)
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