AWS SDK for C++  1.9.153
AWS SDK for C++
Service.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
20 #include <aws/ecs/model/TaskSet.h>
25 #include <aws/ecs/model/Tag.h>
26 #include <utility>
27 
28 namespace Aws
29 {
30 namespace Utils
31 {
32 namespace Json
33 {
34  class JsonValue;
35  class JsonView;
36 } // namespace Json
37 } // namespace Utils
38 namespace ECS
39 {
40 namespace Model
41 {
42 
49  {
50  public:
55 
56 
64  inline const Aws::String& GetServiceArn() const{ return m_serviceArn; }
65 
73  inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
74 
82  inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; }
83 
91  inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); }
92 
100  inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); }
101 
109  inline Service& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;}
110 
118  inline Service& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;}
119 
127  inline Service& WithServiceArn(const char* value) { SetServiceArn(value); return *this;}
128 
129 
136  inline const Aws::String& GetServiceName() const{ return m_serviceName; }
137 
144  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
145 
152  inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
153 
160  inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
161 
168  inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
169 
176  inline Service& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
177 
184  inline Service& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
185 
192  inline Service& WithServiceName(const char* value) { SetServiceName(value); return *this;}
193 
194 
198  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
199 
203  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
204 
208  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
209 
213  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
214 
218  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
219 
223  inline Service& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
224 
228  inline Service& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
229 
233  inline Service& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
234 
235 
242  inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const{ return m_loadBalancers; }
243 
250  inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
251 
258  inline void SetLoadBalancers(const Aws::Vector<LoadBalancer>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
259 
266  inline void SetLoadBalancers(Aws::Vector<LoadBalancer>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
267 
274  inline Service& WithLoadBalancers(const Aws::Vector<LoadBalancer>& value) { SetLoadBalancers(value); return *this;}
275 
282  inline Service& WithLoadBalancers(Aws::Vector<LoadBalancer>&& value) { SetLoadBalancers(std::move(value)); return *this;}
283 
290  inline Service& AddLoadBalancers(const LoadBalancer& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
291 
298  inline Service& AddLoadBalancers(LoadBalancer&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
299 
300 
307  inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const{ return m_serviceRegistries; }
308 
315  inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
316 
323  inline void SetServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = value; }
324 
331  inline void SetServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::move(value); }
332 
339  inline Service& WithServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { SetServiceRegistries(value); return *this;}
340 
347  inline Service& WithServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { SetServiceRegistries(std::move(value)); return *this;}
348 
355  inline Service& AddServiceRegistries(const ServiceRegistry& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; }
356 
363  inline Service& AddServiceRegistries(ServiceRegistry&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; }
364 
365 
370  inline const Aws::String& GetStatus() const{ return m_status; }
371 
376  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
377 
382  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
383 
388  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
389 
394  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
395 
400  inline Service& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
401 
406  inline Service& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
407 
412  inline Service& WithStatus(const char* value) { SetStatus(value); return *this;}
413 
414 
420  inline int GetDesiredCount() const{ return m_desiredCount; }
421 
427  inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; }
428 
434  inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; }
435 
441  inline Service& WithDesiredCount(int value) { SetDesiredCount(value); return *this;}
442 
443 
448  inline int GetRunningCount() const{ return m_runningCount; }
449 
454  inline bool RunningCountHasBeenSet() const { return m_runningCountHasBeenSet; }
455 
460  inline void SetRunningCount(int value) { m_runningCountHasBeenSet = true; m_runningCount = value; }
461 
466  inline Service& WithRunningCount(int value) { SetRunningCount(value); return *this;}
467 
468 
473  inline int GetPendingCount() const{ return m_pendingCount; }
474 
479  inline bool PendingCountHasBeenSet() const { return m_pendingCountHasBeenSet; }
480 
485  inline void SetPendingCount(int value) { m_pendingCountHasBeenSet = true; m_pendingCount = value; }
486 
491  inline Service& WithPendingCount(int value) { SetPendingCount(value); return *this;}
492 
493 
499  inline const LaunchType& GetLaunchType() const{ return m_launchType; }
500 
506  inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
507 
513  inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
514 
520  inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
521 
527  inline Service& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
528 
534  inline Service& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
535 
536 
542  inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
543 
549  inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
550 
556  inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
557 
563  inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
564 
570  inline Service& WithCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { SetCapacityProviderStrategy(value); return *this;}
571 
577  inline Service& WithCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { SetCapacityProviderStrategy(std::move(value)); return *this;}
578 
584  inline Service& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
585 
591  inline Service& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
592 
593 
602  inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
603 
612  inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
613 
622  inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
623 
632  inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
633 
642  inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
643 
652  inline Service& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
653 
662  inline Service& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
663 
672  inline Service& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
673 
674 
681  inline const Aws::String& GetPlatformFamily() const{ return m_platformFamily; }
682 
689  inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
690 
697  inline void SetPlatformFamily(const Aws::String& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = value; }
698 
705  inline void SetPlatformFamily(Aws::String&& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = std::move(value); }
706 
713  inline void SetPlatformFamily(const char* value) { m_platformFamilyHasBeenSet = true; m_platformFamily.assign(value); }
714 
721  inline Service& WithPlatformFamily(const Aws::String& value) { SetPlatformFamily(value); return *this;}
722 
729  inline Service& WithPlatformFamily(Aws::String&& value) { SetPlatformFamily(std::move(value)); return *this;}
730 
737  inline Service& WithPlatformFamily(const char* value) { SetPlatformFamily(value); return *this;}
738 
739 
745  inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
746 
752  inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
753 
759  inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
760 
766  inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
767 
773  inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
774 
780  inline Service& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
781 
787  inline Service& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
788 
794  inline Service& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
795 
796 
801  inline const DeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
802 
807  inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
808 
813  inline void SetDeploymentConfiguration(const DeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
814 
819  inline void SetDeploymentConfiguration(DeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
820 
825  inline Service& WithDeploymentConfiguration(const DeploymentConfiguration& value) { SetDeploymentConfiguration(value); return *this;}
826 
831  inline Service& WithDeploymentConfiguration(DeploymentConfiguration&& value) { SetDeploymentConfiguration(std::move(value)); return *this;}
832 
833 
840  inline const Aws::Vector<TaskSet>& GetTaskSets() const{ return m_taskSets; }
841 
848  inline bool TaskSetsHasBeenSet() const { return m_taskSetsHasBeenSet; }
849 
856  inline void SetTaskSets(const Aws::Vector<TaskSet>& value) { m_taskSetsHasBeenSet = true; m_taskSets = value; }
857 
864  inline void SetTaskSets(Aws::Vector<TaskSet>&& value) { m_taskSetsHasBeenSet = true; m_taskSets = std::move(value); }
865 
872  inline Service& WithTaskSets(const Aws::Vector<TaskSet>& value) { SetTaskSets(value); return *this;}
873 
880  inline Service& WithTaskSets(Aws::Vector<TaskSet>&& value) { SetTaskSets(std::move(value)); return *this;}
881 
888  inline Service& AddTaskSets(const TaskSet& value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(value); return *this; }
889 
896  inline Service& AddTaskSets(TaskSet&& value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(std::move(value)); return *this; }
897 
898 
902  inline const Aws::Vector<Deployment>& GetDeployments() const{ return m_deployments; }
903 
907  inline bool DeploymentsHasBeenSet() const { return m_deploymentsHasBeenSet; }
908 
912  inline void SetDeployments(const Aws::Vector<Deployment>& value) { m_deploymentsHasBeenSet = true; m_deployments = value; }
913 
917  inline void SetDeployments(Aws::Vector<Deployment>&& value) { m_deploymentsHasBeenSet = true; m_deployments = std::move(value); }
918 
922  inline Service& WithDeployments(const Aws::Vector<Deployment>& value) { SetDeployments(value); return *this;}
923 
927  inline Service& WithDeployments(Aws::Vector<Deployment>&& value) { SetDeployments(std::move(value)); return *this;}
928 
932  inline Service& AddDeployments(const Deployment& value) { m_deploymentsHasBeenSet = true; m_deployments.push_back(value); return *this; }
933 
937  inline Service& AddDeployments(Deployment&& value) { m_deploymentsHasBeenSet = true; m_deployments.push_back(std::move(value)); return *this; }
938 
939 
945  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
946 
952  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
953 
959  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
960 
966  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
967 
973  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
974 
980  inline Service& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
981 
987  inline Service& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
988 
994  inline Service& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
995 
996 
1001  inline const Aws::Vector<ServiceEvent>& GetEvents() const{ return m_events; }
1002 
1007  inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
1008 
1013  inline void SetEvents(const Aws::Vector<ServiceEvent>& value) { m_eventsHasBeenSet = true; m_events = value; }
1014 
1019  inline void SetEvents(Aws::Vector<ServiceEvent>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
1020 
1025  inline Service& WithEvents(const Aws::Vector<ServiceEvent>& value) { SetEvents(value); return *this;}
1026 
1031  inline Service& WithEvents(Aws::Vector<ServiceEvent>&& value) { SetEvents(std::move(value)); return *this;}
1032 
1037  inline Service& AddEvents(const ServiceEvent& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
1038 
1043  inline Service& AddEvents(ServiceEvent&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
1044 
1045 
1049  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
1050 
1054  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
1055 
1059  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
1060 
1064  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
1065 
1069  inline Service& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
1070 
1074  inline Service& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
1075 
1076 
1080  inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
1081 
1085  inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
1086 
1090  inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
1091 
1095  inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
1096 
1100  inline Service& WithPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { SetPlacementConstraints(value); return *this;}
1101 
1105  inline Service& WithPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { SetPlacementConstraints(std::move(value)); return *this;}
1106 
1110  inline Service& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
1111 
1115  inline Service& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
1116 
1117 
1122  inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
1123 
1128  inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
1129 
1134  inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
1135 
1140  inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
1141 
1146  inline Service& WithPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { SetPlacementStrategy(value); return *this;}
1147 
1152  inline Service& WithPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { SetPlacementStrategy(std::move(value)); return *this;}
1153 
1158  inline Service& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
1159 
1164  inline Service& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
1165 
1166 
1172  inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
1173 
1179  inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
1180 
1186  inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
1187 
1193  inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
1194 
1200  inline Service& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;}
1201 
1207  inline Service& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
1208 
1209 
1215  inline int GetHealthCheckGracePeriodSeconds() const{ return m_healthCheckGracePeriodSeconds; }
1216 
1222  inline bool HealthCheckGracePeriodSecondsHasBeenSet() const { return m_healthCheckGracePeriodSecondsHasBeenSet; }
1223 
1229  inline void SetHealthCheckGracePeriodSeconds(int value) { m_healthCheckGracePeriodSecondsHasBeenSet = true; m_healthCheckGracePeriodSeconds = value; }
1230 
1236  inline Service& WithHealthCheckGracePeriodSeconds(int value) { SetHealthCheckGracePeriodSeconds(value); return *this;}
1237 
1238 
1254  inline const SchedulingStrategy& GetSchedulingStrategy() const{ return m_schedulingStrategy; }
1255 
1271  inline bool SchedulingStrategyHasBeenSet() const { return m_schedulingStrategyHasBeenSet; }
1272 
1288  inline void SetSchedulingStrategy(const SchedulingStrategy& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = value; }
1289 
1305  inline void SetSchedulingStrategy(SchedulingStrategy&& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = std::move(value); }
1306 
1322  inline Service& WithSchedulingStrategy(const SchedulingStrategy& value) { SetSchedulingStrategy(value); return *this;}
1323 
1339  inline Service& WithSchedulingStrategy(SchedulingStrategy&& value) { SetSchedulingStrategy(std::move(value)); return *this;}
1340 
1341 
1347  inline const DeploymentController& GetDeploymentController() const{ return m_deploymentController; }
1348 
1354  inline bool DeploymentControllerHasBeenSet() const { return m_deploymentControllerHasBeenSet; }
1355 
1361  inline void SetDeploymentController(const DeploymentController& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = value; }
1362 
1368  inline void SetDeploymentController(DeploymentController&& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = std::move(value); }
1369 
1375  inline Service& WithDeploymentController(const DeploymentController& value) { SetDeploymentController(value); return *this;}
1376 
1382  inline Service& WithDeploymentController(DeploymentController&& value) { SetDeploymentController(std::move(value)); return *this;}
1383 
1384 
1404  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1405 
1425  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1426 
1446  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1447 
1467  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1468 
1488  inline Service& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1489 
1509  inline Service& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1510 
1530  inline Service& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1531 
1551  inline Service& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1552 
1553 
1557  inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
1558 
1562  inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
1563 
1567  inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
1568 
1572  inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
1573 
1577  inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
1578 
1582  inline Service& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
1583 
1587  inline Service& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
1588 
1592  inline Service& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
1593 
1594 
1602  inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
1603 
1611  inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
1612 
1620  inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
1621 
1629  inline Service& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
1630 
1631 
1636  inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
1637 
1642  inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
1643 
1648  inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
1649 
1654  inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
1655 
1660  inline Service& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
1661 
1666  inline Service& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
1667 
1668 
1674  inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
1675 
1681  inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
1682 
1688  inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
1689 
1695  inline Service& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
1696 
1697  private:
1698 
1699  Aws::String m_serviceArn;
1700  bool m_serviceArnHasBeenSet;
1701 
1702  Aws::String m_serviceName;
1703  bool m_serviceNameHasBeenSet;
1704 
1705  Aws::String m_clusterArn;
1706  bool m_clusterArnHasBeenSet;
1707 
1708  Aws::Vector<LoadBalancer> m_loadBalancers;
1709  bool m_loadBalancersHasBeenSet;
1710 
1711  Aws::Vector<ServiceRegistry> m_serviceRegistries;
1712  bool m_serviceRegistriesHasBeenSet;
1713 
1714  Aws::String m_status;
1715  bool m_statusHasBeenSet;
1716 
1717  int m_desiredCount;
1718  bool m_desiredCountHasBeenSet;
1719 
1720  int m_runningCount;
1721  bool m_runningCountHasBeenSet;
1722 
1723  int m_pendingCount;
1724  bool m_pendingCountHasBeenSet;
1725 
1726  LaunchType m_launchType;
1727  bool m_launchTypeHasBeenSet;
1728 
1729  Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
1730  bool m_capacityProviderStrategyHasBeenSet;
1731 
1732  Aws::String m_platformVersion;
1733  bool m_platformVersionHasBeenSet;
1734 
1735  Aws::String m_platformFamily;
1736  bool m_platformFamilyHasBeenSet;
1737 
1738  Aws::String m_taskDefinition;
1739  bool m_taskDefinitionHasBeenSet;
1740 
1741  DeploymentConfiguration m_deploymentConfiguration;
1742  bool m_deploymentConfigurationHasBeenSet;
1743 
1744  Aws::Vector<TaskSet> m_taskSets;
1745  bool m_taskSetsHasBeenSet;
1746 
1747  Aws::Vector<Deployment> m_deployments;
1748  bool m_deploymentsHasBeenSet;
1749 
1750  Aws::String m_roleArn;
1751  bool m_roleArnHasBeenSet;
1752 
1753  Aws::Vector<ServiceEvent> m_events;
1754  bool m_eventsHasBeenSet;
1755 
1756  Aws::Utils::DateTime m_createdAt;
1757  bool m_createdAtHasBeenSet;
1758 
1759  Aws::Vector<PlacementConstraint> m_placementConstraints;
1760  bool m_placementConstraintsHasBeenSet;
1761 
1762  Aws::Vector<PlacementStrategy> m_placementStrategy;
1763  bool m_placementStrategyHasBeenSet;
1764 
1765  NetworkConfiguration m_networkConfiguration;
1766  bool m_networkConfigurationHasBeenSet;
1767 
1768  int m_healthCheckGracePeriodSeconds;
1769  bool m_healthCheckGracePeriodSecondsHasBeenSet;
1770 
1771  SchedulingStrategy m_schedulingStrategy;
1772  bool m_schedulingStrategyHasBeenSet;
1773 
1774  DeploymentController m_deploymentController;
1775  bool m_deploymentControllerHasBeenSet;
1776 
1777  Aws::Vector<Tag> m_tags;
1778  bool m_tagsHasBeenSet;
1779 
1780  Aws::String m_createdBy;
1781  bool m_createdByHasBeenSet;
1782 
1783  bool m_enableECSManagedTags;
1784  bool m_enableECSManagedTagsHasBeenSet;
1785 
1786  PropagateTags m_propagateTags;
1787  bool m_propagateTagsHasBeenSet;
1788 
1789  bool m_enableExecuteCommand;
1790  bool m_enableExecuteCommandHasBeenSet;
1791  };
1792 
1793 } // namespace Model
1794 } // namespace ECS
1795 } // namespace Aws
Aws::ECS::Model::Service::WithRunningCount
Service & WithRunningCount(int value)
Definition: Service.h:466
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ECS::Model::Service::SetClusterArn
void SetClusterArn(const char *value)
Definition: Service.h:218
Aws::ECS::Model::Service::WithTags
Service & WithTags(Aws::Vector< Tag > &&value)
Definition: Service.h:1509
Aws::ECS::Model::Service::WithEnableECSManagedTags
Service & WithEnableECSManagedTags(bool value)
Definition: Service.h:1629
Aws::ECS::Model::Service::WithServiceArn
Service & WithServiceArn(const char *value)
Definition: Service.h:127
Aws::ECS::Model::Service::Service
Service()
PlacementStrategy.h
Aws::ECS::Model::Service::PendingCountHasBeenSet
bool PendingCountHasBeenSet() const
Definition: Service.h:479
Aws::ECS::Model::Service::SetRunningCount
void SetRunningCount(int value)
Definition: Service.h:460
Aws::ECS::Model::Service::SetSchedulingStrategy
void SetSchedulingStrategy(SchedulingStrategy &&value)
Definition: Service.h:1305
Aws::ECS::Model::Service::GetHealthCheckGracePeriodSeconds
int GetHealthCheckGracePeriodSeconds() const
Definition: Service.h:1215
Aws::ECS::Model::Service::SetTaskDefinition
void SetTaskDefinition(Aws::String &&value)
Definition: Service.h:766
Aws::ECS::Model::Service::SetStatus
void SetStatus(const Aws::String &value)
Definition: Service.h:382
Aws::ECS::Model::Service::AddEvents
Service & AddEvents(ServiceEvent &&value)
Definition: Service.h:1043
Aws::ECS::Model::Service::AddPlacementConstraints
Service & AddPlacementConstraints(PlacementConstraint &&value)
Definition: Service.h:1115
Aws::ECS::Model::Service::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Service.h:1054
Aws::ECS::Model::Service::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::Service::RunningCountHasBeenSet
bool RunningCountHasBeenSet() const
Definition: Service.h:454
Aws::ECS::Model::Service::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: Service.h:966
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::Service::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: Service.h:208
Aws::ECS::Model::TaskSet
Definition: TaskSet.h:45
Aws::ECS::Model::Service::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Service.h:1467
Aws::ECS::Model::Service::SetDeployments
void SetDeployments(Aws::Vector< Deployment > &&value)
Definition: Service.h:917
Aws::ECS::Model::Service::PlatformFamilyHasBeenSet
bool PlatformFamilyHasBeenSet() const
Definition: Service.h:689
Aws::ECS::Model::Service::AddServiceRegistries
Service & AddServiceRegistries(const ServiceRegistry &value)
Definition: Service.h:355
Aws::ECS::Model::Service::SetPlacementStrategy
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: Service.h:1134
Aws::ECS::Model::Service::AddTaskSets
Service & AddTaskSets(const TaskSet &value)
Definition: Service.h:888
Aws::ECS::Model::Service::LaunchTypeHasBeenSet
bool LaunchTypeHasBeenSet() const
Definition: Service.h:506
Aws::ECS::Model::Service::PropagateTagsHasBeenSet
bool PropagateTagsHasBeenSet() const
Definition: Service.h:1642
Aws::ECS::Model::Service::WithServiceArn
Service & WithServiceArn(const Aws::String &value)
Definition: Service.h:109
Aws::ECS::Model::Service::AddServiceRegistries
Service & AddServiceRegistries(ServiceRegistry &&value)
Definition: Service.h:363
Aws::ECS::Model::Service::GetCapacityProviderStrategy
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition: Service.h:542
Aws::ECS::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:33
Aws::ECS::Model::Service::WithLaunchType
Service & WithLaunchType(LaunchType &&value)
Definition: Service.h:534
Aws::ECS::Model::Service::AddDeployments
Service & AddDeployments(Deployment &&value)
Definition: Service.h:937
Aws::ECS::Model::Service::GetCreatedBy
const Aws::String & GetCreatedBy() const
Definition: Service.h:1557
Aws::ECS::Model::Service::WithLaunchType
Service & WithLaunchType(const LaunchType &value)
Definition: Service.h:527
Aws::ECS::Model::Service::WithRoleArn
Service & WithRoleArn(const Aws::String &value)
Definition: Service.h:980
Aws::ECS::Model::Service::WithPlacementStrategy
Service & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: Service.h:1146
DeploymentConfiguration.h
Aws::ECS::Model::Service::WithDeploymentConfiguration
Service & WithDeploymentConfiguration(const DeploymentConfiguration &value)
Definition: Service.h:825
Aws::ECS::Model::Deployment
Definition: Deployment.h:40
ServiceEvent.h
Aws::ECS::Model::Service::WithDeploymentController
Service & WithDeploymentController(DeploymentController &&value)
Definition: Service.h:1382
Tag.h
DateTime.h
LoadBalancer.h
Aws::ECS::Model::Service::WithPropagateTags
Service & WithPropagateTags(const PropagateTags &value)
Definition: Service.h:1660
Aws::ECS::Model::Service::Service
Service(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Service::SetTaskDefinition
void SetTaskDefinition(const char *value)
Definition: Service.h:773
Aws::ECS::Model::Service::NetworkConfigurationHasBeenSet
bool NetworkConfigurationHasBeenSet() const
Definition: Service.h:1179
Aws::ECS::Model::Service::GetNetworkConfiguration
const NetworkConfiguration & GetNetworkConfiguration() const
Definition: Service.h:1172
Aws::ECS::Model::Service::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: Service.h:198
Aws::ECS::Model::Service::TaskSetsHasBeenSet
bool TaskSetsHasBeenSet() const
Definition: Service.h:848
Aws::ECS::Model::Service::AddPlacementStrategy
Service & AddPlacementStrategy(PlacementStrategy &&value)
Definition: Service.h:1164
Aws::ECS::Model::Service::WithTaskSets
Service & WithTaskSets(const Aws::Vector< TaskSet > &value)
Definition: Service.h:872
Aws::ECS::Model::Service::WithEvents
Service & WithEvents(Aws::Vector< ServiceEvent > &&value)
Definition: Service.h:1031
Aws::ECS::Model::Service::HealthCheckGracePeriodSecondsHasBeenSet
bool HealthCheckGracePeriodSecondsHasBeenSet() const
Definition: Service.h:1222
Aws::ECS::Model::Service::SetDeploymentConfiguration
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
Definition: Service.h:819
Aws::ECS::Model::Service::WithRoleArn
Service & WithRoleArn(const char *value)
Definition: Service.h:994
Aws::ECS::Model::Service::SetLoadBalancers
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
Definition: Service.h:266
Aws::ECS::Model::Service::SetEvents
void SetEvents(const Aws::Vector< ServiceEvent > &value)
Definition: Service.h:1013
Aws::ECS::Model::Service::EnableECSManagedTagsHasBeenSet
bool EnableECSManagedTagsHasBeenSet() const
Definition: Service.h:1611
Aws::ECS::Model::Service::DeploymentsHasBeenSet
bool DeploymentsHasBeenSet() const
Definition: Service.h:907
PlacementConstraint.h
Aws::ECS::Model::Service::WithPlacementConstraints
Service & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: Service.h:1105
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::Service::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: Service.h:945
Aws::ECS::Model::Service::WithPlatformFamily
Service & WithPlatformFamily(const char *value)
Definition: Service.h:737
Aws::ECS::Model::Service::DeploymentControllerHasBeenSet
bool DeploymentControllerHasBeenSet() const
Definition: Service.h:1354
Aws::ECS::Model::DeploymentConfiguration
Definition: DeploymentConfiguration.h:34
Aws::ECS::Model::Service::GetEvents
const Aws::Vector< ServiceEvent > & GetEvents() const
Definition: Service.h:1001
Aws::ECS::Model::Service::SetServiceRegistries
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
Definition: Service.h:323
Aws::ECS::Model::Service::WithStatus
Service & WithStatus(Aws::String &&value)
Definition: Service.h:406
Aws::ECS::Model::Service::EnableExecuteCommandHasBeenSet
bool EnableExecuteCommandHasBeenSet() const
Definition: Service.h:1681
Aws::ECS::Model::Tag
Definition: Tag.h:47
AWSVector.h
Aws::ECS::Model::ServiceRegistry
Definition: ServiceRegistry.h:32
Aws::ECS::Model::Service::WithPlatformVersion
Service & WithPlatformVersion(const char *value)
Definition: Service.h:672
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
PropagateTags.h
Aws::ECS::Model::Service::WithPlatformFamily
Service & WithPlatformFamily(Aws::String &&value)
Definition: Service.h:729
Aws::ECS::Model::Service::WithTaskDefinition
Service & WithTaskDefinition(const char *value)
Definition: Service.h:794
Aws::ECS::Model::Service::WithServiceRegistries
Service & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
Definition: Service.h:347
Aws::ECS::Model::Service::WithCapacityProviderStrategy
Service & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: Service.h:570
Aws::ECS::Model::Service::AddCapacityProviderStrategy
Service & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition: Service.h:591
Aws::ECS::Model::Service::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: Service.h:213
Aws::ECS::Model::Service::GetPlacementStrategy
const Aws::Vector< PlacementStrategy > & GetPlacementStrategy() const
Definition: Service.h:1122
Aws::ECS::Model::Service::SetEvents
void SetEvents(Aws::Vector< ServiceEvent > &&value)
Definition: Service.h:1019
Aws::ECS::Model::PlacementConstraint
Definition: PlacementConstraint.h:38
Aws::ECS::Model::Service::WithCreatedAt
Service & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Service.h:1069
Aws::ECS::Model::CapacityProviderStrategyItem
Definition: CapacityProviderStrategyItem.h:46
Aws::ECS::Model::Service::SetEnableExecuteCommand
void SetEnableExecuteCommand(bool value)
Definition: Service.h:1688
Aws::ECS::Model::Service::GetEnableExecuteCommand
bool GetEnableExecuteCommand() const
Definition: Service.h:1674
Aws::ECS::Model::Service::SetCreatedBy
void SetCreatedBy(const char *value)
Definition: Service.h:1577
Aws::ECS::Model::Service::SetNetworkConfiguration
void SetNetworkConfiguration(NetworkConfiguration &&value)
Definition: Service.h:1193
Aws::ECS::Model::Service::WithPlatformVersion
Service & WithPlatformVersion(const Aws::String &value)
Definition: Service.h:652
Aws::ECS::Model::LaunchType
LaunchType
Definition: LaunchType.h:17
Aws::ECS::Model::Service::SetPropagateTags
void SetPropagateTags(const PropagateTags &value)
Definition: Service.h:1648
Aws::ECS::Model::Service::WithCreatedBy
Service & WithCreatedBy(const char *value)
Definition: Service.h:1592
Aws::ECS::Model::Service::GetPropagateTags
const PropagateTags & GetPropagateTags() const
Definition: Service.h:1636
Aws::ECS::Model::Service::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: Service.h:556
Aws::ECS::Model::Service::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Service.h:1059
Aws::ECS::Model::Service::SetLaunchType
void SetLaunchType(const LaunchType &value)
Definition: Service.h:513
Aws::ECS::Model::Service::SetLoadBalancers
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
Definition: Service.h:258
Aws::ECS::Model::Service::GetSchedulingStrategy
const SchedulingStrategy & GetSchedulingStrategy() const
Definition: Service.h:1254
LaunchType.h
Aws::ECS::Model::Service::ServiceRegistriesHasBeenSet
bool ServiceRegistriesHasBeenSet() const
Definition: Service.h:315
NetworkConfiguration.h
Aws::ECS::Model::Service::SetStatus
void SetStatus(const char *value)
Definition: Service.h:394
Aws::ECS::Model::Service::EventsHasBeenSet
bool EventsHasBeenSet() const
Definition: Service.h:1007
Aws::ECS::Model::Service::WithSchedulingStrategy
Service & WithSchedulingStrategy(SchedulingStrategy &&value)
Definition: Service.h:1339
Aws::ECS::Model::Service::SetServiceName
void SetServiceName(const Aws::String &value)
Definition: Service.h:152
Aws::ECS::Model::Service::WithClusterArn
Service & WithClusterArn(Aws::String &&value)
Definition: Service.h:228
Aws::ECS::Model::Service::WithTaskSets
Service & WithTaskSets(Aws::Vector< TaskSet > &&value)
Definition: Service.h:880
Aws::ECS::Model::Service::WithStatus
Service & WithStatus(const Aws::String &value)
Definition: Service.h:400
Aws::ECS::Model::Service::SetServiceName
void SetServiceName(Aws::String &&value)
Definition: Service.h:160
Aws::ECS::Model::Service::WithCapacityProviderStrategy
Service & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: Service.h:577
Aws::ECS::Model::Service::GetEnableECSManagedTags
bool GetEnableECSManagedTags() const
Definition: Service.h:1602
Aws::ECS::Model::Service::SetServiceArn
void SetServiceArn(const Aws::String &value)
Definition: Service.h:82
DeploymentController.h
Aws::ECS::Model::Service::SetServiceArn
void SetServiceArn(Aws::String &&value)
Definition: Service.h:91
Aws::ECS::Model::Service::WithSchedulingStrategy
Service & WithSchedulingStrategy(const SchedulingStrategy &value)
Definition: Service.h:1322
Aws::ECS::Model::Service::GetServiceRegistries
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
Definition: Service.h:307
Aws::ECS::Model::Service::WithClusterArn
Service & WithClusterArn(const Aws::String &value)
Definition: Service.h:223
Aws::ECS::Model::Service::WithCreatedBy
Service & WithCreatedBy(const Aws::String &value)
Definition: Service.h:1582
Aws::ECS::Model::Service::WithTaskDefinition
Service & WithTaskDefinition(const Aws::String &value)
Definition: Service.h:780
Aws::ECS::Model::Service::SetPlatformVersion
void SetPlatformVersion(Aws::String &&value)
Definition: Service.h:632
Aws::ECS::Model::Service::GetLoadBalancers
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
Definition: Service.h:242
Aws::ECS::Model::Service::SetPlatformFamily
void SetPlatformFamily(const char *value)
Definition: Service.h:713
TaskSet.h
Aws::ECS::Model::Service::WithPlatformVersion
Service & WithPlatformVersion(Aws::String &&value)
Definition: Service.h:662
Aws::ECS::Model::Service
Definition: Service.h:49
Aws::ECS::Model::Service::SetHealthCheckGracePeriodSeconds
void SetHealthCheckGracePeriodSeconds(int value)
Definition: Service.h:1229
Aws::ECS::Model::Service::TaskDefinitionHasBeenSet
bool TaskDefinitionHasBeenSet() const
Definition: Service.h:752
Aws::ECS::Model::Service::AddPlacementStrategy
Service & AddPlacementStrategy(const PlacementStrategy &value)
Definition: Service.h:1158
Aws::ECS::Model::Service::SetTaskDefinition
void SetTaskDefinition(const Aws::String &value)
Definition: Service.h:759
Aws::ECS::Model::Service::SetServiceRegistries
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
Definition: Service.h:331
Aws::ECS::Model::Service::SetRoleArn
void SetRoleArn(const char *value)
Definition: Service.h:973
Aws::ECS::Model::Service::WithServiceName
Service & WithServiceName(const char *value)
Definition: Service.h:192
Aws::ECS::Model::Service::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Service.h:1425
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ECS::Model::Service::WithDeploymentConfiguration
Service & WithDeploymentConfiguration(DeploymentConfiguration &&value)
Definition: Service.h:831
AWSString.h
Aws::ECS::Model::Service::CapacityProviderStrategyHasBeenSet
bool CapacityProviderStrategyHasBeenSet() const
Definition: Service.h:549
Aws::ECS::Model::Service::SetPlatformVersion
void SetPlatformVersion(const Aws::String &value)
Definition: Service.h:622
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::Service::WithRoleArn
Service & WithRoleArn(Aws::String &&value)
Definition: Service.h:987
Aws::ECS::Model::Service::SchedulingStrategyHasBeenSet
bool SchedulingStrategyHasBeenSet() const
Definition: Service.h:1271
Aws::ECS::Model::Service::WithEnableExecuteCommand
Service & WithEnableExecuteCommand(bool value)
Definition: Service.h:1695
Aws::ECS::Model::Service::SetDeploymentController
void SetDeploymentController(DeploymentController &&value)
Definition: Service.h:1368
Aws::ECS::Model::PropagateTags
PropagateTags
Definition: PropagateTags.h:17
Aws::ECS::Model::Service::SetPlatformFamily
void SetPlatformFamily(Aws::String &&value)
Definition: Service.h:705
Aws::ECS::Model::Service::SetPlatformFamily
void SetPlatformFamily(const Aws::String &value)
Definition: Service.h:697
Aws::ECS::Model::Service::WithDeployments
Service & WithDeployments(const Aws::Vector< Deployment > &value)
Definition: Service.h:922
Aws::ECS::Model::Service::SetPlacementConstraints
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: Service.h:1095
Aws::ECS::Model::Service::WithTags
Service & WithTags(const Aws::Vector< Tag > &value)
Definition: Service.h:1488
Aws::ECS::Model::Service::AddPlacementConstraints
Service & AddPlacementConstraints(const PlacementConstraint &value)
Definition: Service.h:1110
Aws::ECS::Model::Service::AddTags
Service & AddTags(const Tag &value)
Definition: Service.h:1530
CapacityProviderStrategyItem.h
ServiceRegistry.h
Aws::ECS::Model::Service::WithCreatedBy
Service & WithCreatedBy(Aws::String &&value)
Definition: Service.h:1587
Aws::ECS::Model::Service::GetDeploymentController
const DeploymentController & GetDeploymentController() const
Definition: Service.h:1347
Aws::ECS::Model::Service::WithHealthCheckGracePeriodSeconds
Service & WithHealthCheckGracePeriodSeconds(int value)
Definition: Service.h:1236
Aws::ECS::Model::Service::operator=
Service & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Service::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
Definition: Service.h:563
Aws::ECS::Model::Service::GetDeploymentConfiguration
const DeploymentConfiguration & GetDeploymentConfiguration() const
Definition: Service.h:801
Aws::ECS::Model::Service::LoadBalancersHasBeenSet
bool LoadBalancersHasBeenSet() const
Definition: Service.h:250
Aws::ECS::Model::Service::SetStatus
void SetStatus(Aws::String &&value)
Definition: Service.h:388
Aws::ECS::Model::Service::AddLoadBalancers
Service & AddLoadBalancers(LoadBalancer &&value)
Definition: Service.h:298
Aws::ECS::Model::Service::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: Service.h:203
Aws::ECS::Model::Service::SetServiceArn
void SetServiceArn(const char *value)
Definition: Service.h:100
Aws::ECS::Model::Service::GetPendingCount
int GetPendingCount() const
Definition: Service.h:473
Deployment.h
Aws::ECS::Model::Service::SetPropagateTags
void SetPropagateTags(PropagateTags &&value)
Definition: Service.h:1654
Aws::ECS::Model::Service::WithStatus
Service & WithStatus(const char *value)
Definition: Service.h:412
Aws::ECS::Model::SchedulingStrategy
SchedulingStrategy
Definition: SchedulingStrategy.h:17
Aws::ECS::Model::Service::WithDeployments
Service & WithDeployments(Aws::Vector< Deployment > &&value)
Definition: Service.h:927
Aws::ECS::Model::Service::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Service.h:1064
SchedulingStrategy.h
Aws::ECS::Model::Service::GetStatus
const Aws::String & GetStatus() const
Definition: Service.h:370
Aws::ECS::Model::Service::ServiceArnHasBeenSet
bool ServiceArnHasBeenSet() const
Definition: Service.h:73
Aws::ECS::Model::Service::WithPlatformFamily
Service & WithPlatformFamily(const Aws::String &value)
Definition: Service.h:721
Aws::ECS::Model::Service::GetDesiredCount
int GetDesiredCount() const
Definition: Service.h:420
Aws::ECS::Model::Service::AddTaskSets
Service & AddTaskSets(TaskSet &&value)
Definition: Service.h:896
Aws::ECS::Model::Service::GetRunningCount
int GetRunningCount() const
Definition: Service.h:448
Aws::ECS::Model::Service::WithServiceName
Service & WithServiceName(const Aws::String &value)
Definition: Service.h:176
Aws::ECS::Model::Service::SetSchedulingStrategy
void SetSchedulingStrategy(const SchedulingStrategy &value)
Definition: Service.h:1288
Aws::ECS::Model::Service::WithServiceName
Service & WithServiceName(Aws::String &&value)
Definition: Service.h:184
Aws::ECS::Model::Service::AddDeployments
Service & AddDeployments(const Deployment &value)
Definition: Service.h:932
Aws::ECS::Model::Service::WithDeploymentController
Service & WithDeploymentController(const DeploymentController &value)
Definition: Service.h:1375
Aws::ECS::Model::Service::WithPropagateTags
Service & WithPropagateTags(PropagateTags &&value)
Definition: Service.h:1666
Aws::ECS::Model::Service::WithLoadBalancers
Service & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
Definition: Service.h:282
Aws::ECS::Model::Service::SetLaunchType
void SetLaunchType(LaunchType &&value)
Definition: Service.h:520
Aws::ECS::Model::Service::WithEvents
Service & WithEvents(const Aws::Vector< ServiceEvent > &value)
Definition: Service.h:1025
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ECS::Model::Service::WithLoadBalancers
Service & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
Definition: Service.h:274
Aws::ECS::Model::Service::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Service.h:1049
Aws::ECS::Model::Service::AddCapacityProviderStrategy
Service & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition: Service.h:584
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::Service::GetPlatformVersion
const Aws::String & GetPlatformVersion() const
Definition: Service.h:602
Aws::ECS::Model::Service::SetCreatedBy
void SetCreatedBy(const Aws::String &value)
Definition: Service.h:1567
Aws::ECS::Model::Service::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: Service.h:952
Aws::ECS::Model::Service::SetCreatedBy
void SetCreatedBy(Aws::String &&value)
Definition: Service.h:1572
Aws::ECS::Model::Service::WithPlacementStrategy
Service & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: Service.h:1152
Aws::ECS::Model::Service::SetPlatformVersion
void SetPlatformVersion(const char *value)
Definition: Service.h:642
Aws::ECS::Model::Service::GetPlatformFamily
const Aws::String & GetPlatformFamily() const
Definition: Service.h:681
Aws::ECS::Model::PlacementStrategy
Definition: PlacementStrategy.h:37
Aws::ECS::Model::Service::SetDeployments
void SetDeployments(const Aws::Vector< Deployment > &value)
Definition: Service.h:912
Aws::ECS::Model::Service::GetServiceName
const Aws::String & GetServiceName() const
Definition: Service.h:136
Aws::ECS::Model::Service::DeploymentConfigurationHasBeenSet
bool DeploymentConfigurationHasBeenSet() const
Definition: Service.h:807
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::Service::WithTaskDefinition
Service & WithTaskDefinition(Aws::String &&value)
Definition: Service.h:787
Aws::ECS::Model::Service::SetPendingCount
void SetPendingCount(int value)
Definition: Service.h:485
Aws::ECS::Model::ServiceEvent
Definition: ServiceEvent.h:34
Aws::ECS::Model::Service::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Service.h:1446
Aws::ECS::Model::Service::WithClusterArn
Service & WithClusterArn(const char *value)
Definition: Service.h:233
Aws::ECS::Model::LoadBalancer
Definition: LoadBalancer.h:35
Aws::ECS::Model::Service::GetDeployments
const Aws::Vector< Deployment > & GetDeployments() const
Definition: Service.h:902
Aws::ECS::Model::Service::DesiredCountHasBeenSet
bool DesiredCountHasBeenSet() const
Definition: Service.h:427
Aws::ECS::Model::Service::PlatformVersionHasBeenSet
bool PlatformVersionHasBeenSet() const
Definition: Service.h:612
Aws::ECS::Model::Service::WithServiceArn
Service & WithServiceArn(Aws::String &&value)
Definition: Service.h:118
Aws::ECS::Model::Service::GetPlacementConstraints
const Aws::Vector< PlacementConstraint > & GetPlacementConstraints() const
Definition: Service.h:1080
Aws::ECS::Model::Service::GetTaskDefinition
const Aws::String & GetTaskDefinition() const
Definition: Service.h:745
Aws::ECS::Model::Service::WithPlacementConstraints
Service & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: Service.h:1100
Aws::ECS::Model::Service::WithNetworkConfiguration
Service & WithNetworkConfiguration(const NetworkConfiguration &value)
Definition: Service.h:1200
Aws::ECS::Model::Service::SetPlacementConstraints
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: Service.h:1090
Aws::ECS::Model::Service::AddTags
Service & AddTags(Tag &&value)
Definition: Service.h:1551
Aws::ECS::Model::DeploymentController
Definition: DeploymentController.h:36
Aws::ECS::Model::Service::WithPendingCount
Service & WithPendingCount(int value)
Definition: Service.h:491
Aws::ECS::Model::Service::GetTaskSets
const Aws::Vector< TaskSet > & GetTaskSets() const
Definition: Service.h:840
Aws::ECS::Model::Service::SetNetworkConfiguration
void SetNetworkConfiguration(const NetworkConfiguration &value)
Definition: Service.h:1186
Aws::ECS::Model::Service::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: Service.h:144
Aws::ECS::Model::Service::SetPlacementStrategy
void SetPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: Service.h:1140
Aws::ECS::Model::Service::WithServiceRegistries
Service & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
Definition: Service.h:339
Aws::ECS::Model::Service::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: Service.h:959
Aws::ECS::Model::Service::CreatedByHasBeenSet
bool CreatedByHasBeenSet() const
Definition: Service.h:1562
Aws::ECS::Model::Service::SetEnableECSManagedTags
void SetEnableECSManagedTags(bool value)
Definition: Service.h:1620
Aws::ECS::Model::Service::GetServiceArn
const Aws::String & GetServiceArn() const
Definition: Service.h:64
Aws::ECS::Model::Service::SetDeploymentConfiguration
void SetDeploymentConfiguration(const DeploymentConfiguration &value)
Definition: Service.h:813
Aws::ECS::Model::Service::SetTaskSets
void SetTaskSets(Aws::Vector< TaskSet > &&value)
Definition: Service.h:864
Aws::ECS::Model::Service::WithNetworkConfiguration
Service & WithNetworkConfiguration(NetworkConfiguration &&value)
Definition: Service.h:1207
ECS_EXPORTS.h
Aws::ECS::Model::Service::SetDesiredCount
void SetDesiredCount(int value)
Definition: Service.h:434
Aws::ECS::Model::Service::AddEvents
Service & AddEvents(const ServiceEvent &value)
Definition: Service.h:1037
Aws::ECS::Model::Service::SetServiceName
void SetServiceName(const char *value)
Definition: Service.h:168
Aws::ECS::Model::Service::WithCreatedAt
Service & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Service.h:1074
Aws::ECS::Model::Service::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Service.h:1404
Aws::ECS::Model::Service::AddLoadBalancers
Service & AddLoadBalancers(const LoadBalancer &value)
Definition: Service.h:290
Aws::ECS::Model::Service::PlacementStrategyHasBeenSet
bool PlacementStrategyHasBeenSet() const
Definition: Service.h:1128
Aws::ECS::Model::Service::WithDesiredCount
Service & WithDesiredCount(int value)
Definition: Service.h:441
Aws::ECS::Model::Service::SetTaskSets
void SetTaskSets(const Aws::Vector< TaskSet > &value)
Definition: Service.h:856
Aws::ECS::Model::Service::PlacementConstraintsHasBeenSet
bool PlacementConstraintsHasBeenSet() const
Definition: Service.h:1085
Aws::ECS::Model::Service::SetDeploymentController
void SetDeploymentController(const DeploymentController &value)
Definition: Service.h:1361
Aws::ECS::Model::Service::GetLaunchType
const LaunchType & GetLaunchType() const
Definition: Service.h:499
Aws::ECS::Model::Service::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Service.h:376