AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateServiceRequest.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/LaunchType.h>
12#include <aws/ecs/model/DeploymentConfiguration.h>
13#include <aws/ecs/model/NetworkConfiguration.h>
14#include <aws/ecs/model/SchedulingStrategy.h>
15#include <aws/ecs/model/DeploymentController.h>
16#include <aws/ecs/model/PropagateTags.h>
17#include <aws/ecs/model/ServiceConnectConfiguration.h>
18#include <aws/ecs/model/LoadBalancer.h>
19#include <aws/ecs/model/ServiceRegistry.h>
20#include <aws/ecs/model/CapacityProviderStrategyItem.h>
21#include <aws/ecs/model/PlacementConstraint.h>
22#include <aws/ecs/model/PlacementStrategy.h>
23#include <aws/ecs/model/Tag.h>
24#include <aws/ecs/model/ServiceVolumeConfiguration.h>
25#include <utility>
26
27namespace Aws
28{
29namespace ECS
30{
31namespace Model
32{
33
37 {
38 public:
39 AWS_ECS_API CreateServiceRequest();
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "CreateService"; }
46
47 AWS_ECS_API Aws::String SerializePayload() const override;
48
50
51
53
58 inline const Aws::String& GetCluster() const{ return m_cluster; }
59 inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; }
60 inline void SetCluster(const Aws::String& value) { m_clusterHasBeenSet = true; m_cluster = value; }
61 inline void SetCluster(Aws::String&& value) { m_clusterHasBeenSet = true; m_cluster = std::move(value); }
62 inline void SetCluster(const char* value) { m_clusterHasBeenSet = true; m_cluster.assign(value); }
63 inline CreateServiceRequest& WithCluster(const Aws::String& value) { SetCluster(value); return *this;}
64 inline CreateServiceRequest& WithCluster(Aws::String&& value) { SetCluster(std::move(value)); return *this;}
65 inline CreateServiceRequest& WithCluster(const char* value) { SetCluster(value); return *this;}
67
69
75 inline const Aws::String& GetServiceName() const{ return m_serviceName; }
76 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
77 inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
78 inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
79 inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
80 inline CreateServiceRequest& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
81 inline CreateServiceRequest& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
82 inline CreateServiceRequest& WithServiceName(const char* value) { SetServiceName(value); return *this;}
84
86
97 inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
98 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
99 inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
100 inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
101 inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
102 inline CreateServiceRequest& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
103 inline CreateServiceRequest& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
104 inline CreateServiceRequest& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
106
108
152 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const{ return m_loadBalancers; }
153 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
154 inline void SetLoadBalancers(const Aws::Vector<LoadBalancer>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
155 inline void SetLoadBalancers(Aws::Vector<LoadBalancer>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
157 inline CreateServiceRequest& WithLoadBalancers(Aws::Vector<LoadBalancer>&& value) { SetLoadBalancers(std::move(value)); return *this;}
158 inline CreateServiceRequest& AddLoadBalancers(const LoadBalancer& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
159 inline CreateServiceRequest& AddLoadBalancers(LoadBalancer&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
161
163
171 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const{ return m_serviceRegistries; }
172 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
173 inline void SetServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = value; }
174 inline void SetServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::move(value); }
177 inline CreateServiceRequest& AddServiceRegistries(const ServiceRegistry& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; }
178 inline CreateServiceRequest& AddServiceRegistries(ServiceRegistry&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; }
180
182
189 inline int GetDesiredCount() const{ return m_desiredCount; }
190 inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; }
191 inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; }
192 inline CreateServiceRequest& WithDesiredCount(int value) { SetDesiredCount(value); return *this;}
194
196
201 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
202 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
203 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
204 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
205 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
206 inline CreateServiceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
207 inline CreateServiceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
208 inline CreateServiceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
210
212
229 inline const LaunchType& GetLaunchType() const{ return m_launchType; }
230 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
231 inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
232 inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
233 inline CreateServiceRequest& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
234 inline CreateServiceRequest& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
236
238
246 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
247 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
248 inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
249 inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
252 inline CreateServiceRequest& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
253 inline CreateServiceRequest& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
255
257
266 inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
267 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
268 inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
269 inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
270 inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
271 inline CreateServiceRequest& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
272 inline CreateServiceRequest& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
273 inline CreateServiceRequest& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
275
277
301 inline const Aws::String& GetRole() const{ return m_role; }
302 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
303 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
304 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
305 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
306 inline CreateServiceRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
307 inline CreateServiceRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
308 inline CreateServiceRequest& WithRole(const char* value) { SetRole(value); return *this;}
310
312
316 inline const DeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
317 inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
318 inline void SetDeploymentConfiguration(const DeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
319 inline void SetDeploymentConfiguration(DeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
323
325
330 inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
331 inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
332 inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
333 inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
336 inline CreateServiceRequest& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
337 inline CreateServiceRequest& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
339
341
345 inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
346 inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
347 inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
348 inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
351 inline CreateServiceRequest& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
352 inline CreateServiceRequest& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
354
356
365 inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
366 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
367 inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
368 inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
372
374
391 inline int GetHealthCheckGracePeriodSeconds() const{ return m_healthCheckGracePeriodSeconds; }
392 inline bool HealthCheckGracePeriodSecondsHasBeenSet() const { return m_healthCheckGracePeriodSecondsHasBeenSet; }
393 inline void SetHealthCheckGracePeriodSeconds(int value) { m_healthCheckGracePeriodSecondsHasBeenSet = true; m_healthCheckGracePeriodSeconds = value; }
396
398
419 inline const SchedulingStrategy& GetSchedulingStrategy() const{ return m_schedulingStrategy; }
420 inline bool SchedulingStrategyHasBeenSet() const { return m_schedulingStrategyHasBeenSet; }
421 inline void SetSchedulingStrategy(const SchedulingStrategy& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = value; }
422 inline void SetSchedulingStrategy(SchedulingStrategy&& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = std::move(value); }
424 inline CreateServiceRequest& WithSchedulingStrategy(SchedulingStrategy&& value) { SetSchedulingStrategy(std::move(value)); return *this;}
426
428
432 inline const DeploymentController& GetDeploymentController() const{ return m_deploymentController; }
433 inline bool DeploymentControllerHasBeenSet() const { return m_deploymentControllerHasBeenSet; }
434 inline void SetDeploymentController(const DeploymentController& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = value; }
435 inline void SetDeploymentController(DeploymentController&& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = std::move(value); }
439
441
460 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
461 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
462 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
463 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
464 inline CreateServiceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
465 inline CreateServiceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
466 inline CreateServiceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
467 inline CreateServiceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
469
471
479 inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
480 inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
481 inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
482 inline CreateServiceRequest& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
484
486
498 inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
499 inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
500 inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
501 inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
502 inline CreateServiceRequest& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
503 inline CreateServiceRequest& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
505
507
512 inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
513 inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
514 inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
515 inline CreateServiceRequest& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
517
519
530 inline const ServiceConnectConfiguration& GetServiceConnectConfiguration() const{ return m_serviceConnectConfiguration; }
531 inline bool ServiceConnectConfigurationHasBeenSet() const { return m_serviceConnectConfigurationHasBeenSet; }
532 inline void SetServiceConnectConfiguration(const ServiceConnectConfiguration& value) { m_serviceConnectConfigurationHasBeenSet = true; m_serviceConnectConfiguration = value; }
533 inline void SetServiceConnectConfiguration(ServiceConnectConfiguration&& value) { m_serviceConnectConfigurationHasBeenSet = true; m_serviceConnectConfiguration = std::move(value); }
537
539
544 inline const Aws::Vector<ServiceVolumeConfiguration>& GetVolumeConfigurations() const{ return m_volumeConfigurations; }
545 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
546 inline void SetVolumeConfigurations(const Aws::Vector<ServiceVolumeConfiguration>& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = value; }
547 inline void SetVolumeConfigurations(Aws::Vector<ServiceVolumeConfiguration>&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations = std::move(value); }
550 inline CreateServiceRequest& AddVolumeConfigurations(const ServiceVolumeConfiguration& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(value); return *this; }
551 inline CreateServiceRequest& AddVolumeConfigurations(ServiceVolumeConfiguration&& value) { m_volumeConfigurationsHasBeenSet = true; m_volumeConfigurations.push_back(std::move(value)); return *this; }
553 private:
554
555 Aws::String m_cluster;
556 bool m_clusterHasBeenSet = false;
557
558 Aws::String m_serviceName;
559 bool m_serviceNameHasBeenSet = false;
560
561 Aws::String m_taskDefinition;
562 bool m_taskDefinitionHasBeenSet = false;
563
564 Aws::Vector<LoadBalancer> m_loadBalancers;
565 bool m_loadBalancersHasBeenSet = false;
566
567 Aws::Vector<ServiceRegistry> m_serviceRegistries;
568 bool m_serviceRegistriesHasBeenSet = false;
569
570 int m_desiredCount;
571 bool m_desiredCountHasBeenSet = false;
572
573 Aws::String m_clientToken;
574 bool m_clientTokenHasBeenSet = false;
575
576 LaunchType m_launchType;
577 bool m_launchTypeHasBeenSet = false;
578
579 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
580 bool m_capacityProviderStrategyHasBeenSet = false;
581
582 Aws::String m_platformVersion;
583 bool m_platformVersionHasBeenSet = false;
584
585 Aws::String m_role;
586 bool m_roleHasBeenSet = false;
587
588 DeploymentConfiguration m_deploymentConfiguration;
589 bool m_deploymentConfigurationHasBeenSet = false;
590
591 Aws::Vector<PlacementConstraint> m_placementConstraints;
592 bool m_placementConstraintsHasBeenSet = false;
593
594 Aws::Vector<PlacementStrategy> m_placementStrategy;
595 bool m_placementStrategyHasBeenSet = false;
596
597 NetworkConfiguration m_networkConfiguration;
598 bool m_networkConfigurationHasBeenSet = false;
599
600 int m_healthCheckGracePeriodSeconds;
601 bool m_healthCheckGracePeriodSecondsHasBeenSet = false;
602
603 SchedulingStrategy m_schedulingStrategy;
604 bool m_schedulingStrategyHasBeenSet = false;
605
606 DeploymentController m_deploymentController;
607 bool m_deploymentControllerHasBeenSet = false;
608
609 Aws::Vector<Tag> m_tags;
610 bool m_tagsHasBeenSet = false;
611
612 bool m_enableECSManagedTags;
613 bool m_enableECSManagedTagsHasBeenSet = false;
614
615 PropagateTags m_propagateTags;
616 bool m_propagateTagsHasBeenSet = false;
617
618 bool m_enableExecuteCommand;
619 bool m_enableExecuteCommandHasBeenSet = false;
620
621 ServiceConnectConfiguration m_serviceConnectConfiguration;
622 bool m_serviceConnectConfigurationHasBeenSet = false;
623
624 Aws::Vector<ServiceVolumeConfiguration> m_volumeConfigurations;
625 bool m_volumeConfigurationsHasBeenSet = false;
626 };
627
628} // namespace Model
629} // namespace ECS
630} // namespace Aws
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
CreateServiceRequest & WithSchedulingStrategy(SchedulingStrategy &&value)
CreateServiceRequest & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
CreateServiceRequest & WithServiceConnectConfiguration(ServiceConnectConfiguration &&value)
CreateServiceRequest & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
CreateServiceRequest & WithDeploymentConfiguration(const DeploymentConfiguration &value)
void SetVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
CreateServiceRequest & WithDeploymentController(const DeploymentController &value)
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
void SetServiceName(const Aws::String &value)
CreateServiceRequest & WithLaunchType(const LaunchType &value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
CreateServiceRequest & WithVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
void SetServiceConnectConfiguration(ServiceConnectConfiguration &&value)
CreateServiceRequest & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
void SetServiceConnectConfiguration(const ServiceConnectConfiguration &value)
void SetClientToken(const Aws::String &value)
void SetDeploymentConfiguration(const DeploymentConfiguration &value)
CreateServiceRequest & AddLoadBalancers(const LoadBalancer &value)
const SchedulingStrategy & GetSchedulingStrategy() const
CreateServiceRequest & WithRole(Aws::String &&value)
CreateServiceRequest & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
CreateServiceRequest & WithPropagateTags(PropagateTags &&value)
void SetPropagateTags(const PropagateTags &value)
void SetNetworkConfiguration(const NetworkConfiguration &value)
CreateServiceRequest & WithCluster(Aws::String &&value)
void SetVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
CreateServiceRequest & WithClientToken(const Aws::String &value)
CreateServiceRequest & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
CreateServiceRequest & WithServiceName(const Aws::String &value)
const DeploymentConfiguration & GetDeploymentConfiguration() const
CreateServiceRequest & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
CreateServiceRequest & WithServiceConnectConfiguration(const ServiceConnectConfiguration &value)
CreateServiceRequest & WithVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
CreateServiceRequest & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
const NetworkConfiguration & GetNetworkConfiguration() const
CreateServiceRequest & WithPlatformVersion(const Aws::String &value)
CreateServiceRequest & AddPlacementConstraints(const PlacementConstraint &value)
CreateServiceRequest & WithEnableExecuteCommand(bool value)
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
AWS_ECS_API Aws::String SerializePayload() const override
void SetLaunchType(const LaunchType &value)
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
CreateServiceRequest & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
CreateServiceRequest & WithEnableECSManagedTags(bool value)
CreateServiceRequest & WithTaskDefinition(Aws::String &&value)
CreateServiceRequest & WithServiceName(Aws::String &&value)
CreateServiceRequest & WithCluster(const Aws::String &value)
CreateServiceRequest & AddTags(Tag &&value)
const Aws::String & GetTaskDefinition() const
CreateServiceRequest & WithHealthCheckGracePeriodSeconds(int value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
CreateServiceRequest & WithTaskDefinition(const char *value)
void SetSchedulingStrategy(const SchedulingStrategy &value)
CreateServiceRequest & WithDesiredCount(int value)
CreateServiceRequest & WithClientToken(const char *value)
CreateServiceRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDeploymentController(DeploymentController &&value)
CreateServiceRequest & WithRole(const Aws::String &value)
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
const DeploymentController & GetDeploymentController() const
const Aws::Vector< Tag > & GetTags() const
CreateServiceRequest & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
void SetPropagateTags(PropagateTags &&value)
CreateServiceRequest & AddServiceRegistries(ServiceRegistry &&value)
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
const Aws::String & GetServiceName() const
CreateServiceRequest & WithPlatformVersion(Aws::String &&value)
void SetDeploymentController(const DeploymentController &value)
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
CreateServiceRequest & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
CreateServiceRequest & AddLoadBalancers(LoadBalancer &&value)
CreateServiceRequest & AddPlacementConstraints(PlacementConstraint &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateServiceRequest & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
const Aws::String & GetPlatformVersion() const
CreateServiceRequest & AddVolumeConfigurations(ServiceVolumeConfiguration &&value)
CreateServiceRequest & WithDeploymentController(DeploymentController &&value)
CreateServiceRequest & WithCluster(const char *value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
CreateServiceRequest & WithPlatformVersion(const char *value)
CreateServiceRequest & WithDeploymentConfiguration(DeploymentConfiguration &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetTaskDefinition(const Aws::String &value)
void SetCluster(const Aws::String &value)
CreateServiceRequest & WithRole(const char *value)
const PropagateTags & GetPropagateTags() const
CreateServiceRequest & AddPlacementStrategy(PlacementStrategy &&value)
CreateServiceRequest & WithSchedulingStrategy(const SchedulingStrategy &value)
CreateServiceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateServiceRequest & AddVolumeConfigurations(const ServiceVolumeConfiguration &value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
const Aws::String & GetClientToken() const
CreateServiceRequest & WithTaskDefinition(const Aws::String &value)
CreateServiceRequest & AddServiceRegistries(const ServiceRegistry &value)
CreateServiceRequest & WithServiceName(const char *value)
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
CreateServiceRequest & AddPlacementStrategy(const PlacementStrategy &value)
const Aws::Vector< ServiceVolumeConfiguration > & GetVolumeConfigurations() const
CreateServiceRequest & AddTags(const Tag &value)
CreateServiceRequest & WithNetworkConfiguration(NetworkConfiguration &&value)
CreateServiceRequest & WithPropagateTags(const PropagateTags &value)
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
void SetSchedulingStrategy(SchedulingStrategy &&value)
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
CreateServiceRequest & WithLaunchType(LaunchType &&value)
void SetRole(const Aws::String &value)
CreateServiceRequest & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
void SetPlatformVersion(const Aws::String &value)
CreateServiceRequest & WithClientToken(Aws::String &&value)
CreateServiceRequest & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &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