AWS SDK for C++  1.9.47
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 
241  inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const{ return m_loadBalancers; }
242 
248  inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
249 
255  inline void SetLoadBalancers(const Aws::Vector<LoadBalancer>& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = value; }
256 
262  inline void SetLoadBalancers(Aws::Vector<LoadBalancer>&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers = std::move(value); }
263 
269  inline Service& WithLoadBalancers(const Aws::Vector<LoadBalancer>& value) { SetLoadBalancers(value); return *this;}
270 
276  inline Service& WithLoadBalancers(Aws::Vector<LoadBalancer>&& value) { SetLoadBalancers(std::move(value)); return *this;}
277 
283  inline Service& AddLoadBalancers(const LoadBalancer& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; }
284 
290  inline Service& AddLoadBalancers(LoadBalancer&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; }
291 
292 
299  inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const{ return m_serviceRegistries; }
300 
307  inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
308 
315  inline void SetServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = value; }
316 
323  inline void SetServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries = std::move(value); }
324 
331  inline Service& WithServiceRegistries(const Aws::Vector<ServiceRegistry>& value) { SetServiceRegistries(value); return *this;}
332 
339  inline Service& WithServiceRegistries(Aws::Vector<ServiceRegistry>&& value) { SetServiceRegistries(std::move(value)); return *this;}
340 
347  inline Service& AddServiceRegistries(const ServiceRegistry& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(value); return *this; }
348 
355  inline Service& AddServiceRegistries(ServiceRegistry&& value) { m_serviceRegistriesHasBeenSet = true; m_serviceRegistries.push_back(std::move(value)); return *this; }
356 
357 
362  inline const Aws::String& GetStatus() const{ return m_status; }
363 
368  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
369 
374  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
375 
380  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
381 
386  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
387 
392  inline Service& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
393 
398  inline Service& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
399 
404  inline Service& WithStatus(const char* value) { SetStatus(value); return *this;}
405 
406 
412  inline int GetDesiredCount() const{ return m_desiredCount; }
413 
419  inline bool DesiredCountHasBeenSet() const { return m_desiredCountHasBeenSet; }
420 
426  inline void SetDesiredCount(int value) { m_desiredCountHasBeenSet = true; m_desiredCount = value; }
427 
433  inline Service& WithDesiredCount(int value) { SetDesiredCount(value); return *this;}
434 
435 
440  inline int GetRunningCount() const{ return m_runningCount; }
441 
446  inline bool RunningCountHasBeenSet() const { return m_runningCountHasBeenSet; }
447 
452  inline void SetRunningCount(int value) { m_runningCountHasBeenSet = true; m_runningCount = value; }
453 
458  inline Service& WithRunningCount(int value) { SetRunningCount(value); return *this;}
459 
460 
465  inline int GetPendingCount() const{ return m_pendingCount; }
466 
471  inline bool PendingCountHasBeenSet() const { return m_pendingCountHasBeenSet; }
472 
477  inline void SetPendingCount(int value) { m_pendingCountHasBeenSet = true; m_pendingCount = value; }
478 
483  inline Service& WithPendingCount(int value) { SetPendingCount(value); return *this;}
484 
485 
493  inline const LaunchType& GetLaunchType() const{ return m_launchType; }
494 
502  inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
503 
511  inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
512 
520  inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
521 
529  inline Service& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
530 
538  inline Service& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
539 
540 
544  inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const{ return m_capacityProviderStrategy; }
545 
549  inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
550 
554  inline void SetCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = value; }
555 
559  inline void SetCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy = std::move(value); }
560 
564  inline Service& WithCapacityProviderStrategy(const Aws::Vector<CapacityProviderStrategyItem>& value) { SetCapacityProviderStrategy(value); return *this;}
565 
569  inline Service& WithCapacityProviderStrategy(Aws::Vector<CapacityProviderStrategyItem>&& value) { SetCapacityProviderStrategy(std::move(value)); return *this;}
570 
574  inline Service& AddCapacityProviderStrategy(const CapacityProviderStrategyItem& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(value); return *this; }
575 
579  inline Service& AddCapacityProviderStrategy(CapacityProviderStrategyItem&& value) { m_capacityProviderStrategyHasBeenSet = true; m_capacityProviderStrategy.push_back(std::move(value)); return *this; }
580 
581 
591  inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
592 
602  inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
603 
613  inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
614 
624  inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
625 
635  inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
636 
646  inline Service& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
647 
657  inline Service& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
658 
668  inline Service& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
669 
670 
676  inline const Aws::String& GetTaskDefinition() const{ return m_taskDefinition; }
677 
683  inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
684 
690  inline void SetTaskDefinition(const Aws::String& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = value; }
691 
697  inline void SetTaskDefinition(Aws::String&& value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition = std::move(value); }
698 
704  inline void SetTaskDefinition(const char* value) { m_taskDefinitionHasBeenSet = true; m_taskDefinition.assign(value); }
705 
711  inline Service& WithTaskDefinition(const Aws::String& value) { SetTaskDefinition(value); return *this;}
712 
718  inline Service& WithTaskDefinition(Aws::String&& value) { SetTaskDefinition(std::move(value)); return *this;}
719 
725  inline Service& WithTaskDefinition(const char* value) { SetTaskDefinition(value); return *this;}
726 
727 
732  inline const DeploymentConfiguration& GetDeploymentConfiguration() const{ return m_deploymentConfiguration; }
733 
738  inline bool DeploymentConfigurationHasBeenSet() const { return m_deploymentConfigurationHasBeenSet; }
739 
744  inline void SetDeploymentConfiguration(const DeploymentConfiguration& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = value; }
745 
750  inline void SetDeploymentConfiguration(DeploymentConfiguration&& value) { m_deploymentConfigurationHasBeenSet = true; m_deploymentConfiguration = std::move(value); }
751 
756  inline Service& WithDeploymentConfiguration(const DeploymentConfiguration& value) { SetDeploymentConfiguration(value); return *this;}
757 
762  inline Service& WithDeploymentConfiguration(DeploymentConfiguration&& value) { SetDeploymentConfiguration(std::move(value)); return *this;}
763 
764 
771  inline const Aws::Vector<TaskSet>& GetTaskSets() const{ return m_taskSets; }
772 
779  inline bool TaskSetsHasBeenSet() const { return m_taskSetsHasBeenSet; }
780 
787  inline void SetTaskSets(const Aws::Vector<TaskSet>& value) { m_taskSetsHasBeenSet = true; m_taskSets = value; }
788 
795  inline void SetTaskSets(Aws::Vector<TaskSet>&& value) { m_taskSetsHasBeenSet = true; m_taskSets = std::move(value); }
796 
803  inline Service& WithTaskSets(const Aws::Vector<TaskSet>& value) { SetTaskSets(value); return *this;}
804 
811  inline Service& WithTaskSets(Aws::Vector<TaskSet>&& value) { SetTaskSets(std::move(value)); return *this;}
812 
819  inline Service& AddTaskSets(const TaskSet& value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(value); return *this; }
820 
827  inline Service& AddTaskSets(TaskSet&& value) { m_taskSetsHasBeenSet = true; m_taskSets.push_back(std::move(value)); return *this; }
828 
829 
833  inline const Aws::Vector<Deployment>& GetDeployments() const{ return m_deployments; }
834 
838  inline bool DeploymentsHasBeenSet() const { return m_deploymentsHasBeenSet; }
839 
843  inline void SetDeployments(const Aws::Vector<Deployment>& value) { m_deploymentsHasBeenSet = true; m_deployments = value; }
844 
848  inline void SetDeployments(Aws::Vector<Deployment>&& value) { m_deploymentsHasBeenSet = true; m_deployments = std::move(value); }
849 
853  inline Service& WithDeployments(const Aws::Vector<Deployment>& value) { SetDeployments(value); return *this;}
854 
858  inline Service& WithDeployments(Aws::Vector<Deployment>&& value) { SetDeployments(std::move(value)); return *this;}
859 
863  inline Service& AddDeployments(const Deployment& value) { m_deploymentsHasBeenSet = true; m_deployments.push_back(value); return *this; }
864 
868  inline Service& AddDeployments(Deployment&& value) { m_deploymentsHasBeenSet = true; m_deployments.push_back(std::move(value)); return *this; }
869 
870 
876  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
877 
883  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
884 
890  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
891 
897  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
898 
904  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
905 
911  inline Service& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
912 
918  inline Service& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
919 
925  inline Service& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
926 
927 
932  inline const Aws::Vector<ServiceEvent>& GetEvents() const{ return m_events; }
933 
938  inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; }
939 
944  inline void SetEvents(const Aws::Vector<ServiceEvent>& value) { m_eventsHasBeenSet = true; m_events = value; }
945 
950  inline void SetEvents(Aws::Vector<ServiceEvent>&& value) { m_eventsHasBeenSet = true; m_events = std::move(value); }
951 
956  inline Service& WithEvents(const Aws::Vector<ServiceEvent>& value) { SetEvents(value); return *this;}
957 
962  inline Service& WithEvents(Aws::Vector<ServiceEvent>&& value) { SetEvents(std::move(value)); return *this;}
963 
968  inline Service& AddEvents(const ServiceEvent& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; }
969 
974  inline Service& AddEvents(ServiceEvent&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; }
975 
976 
980  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
981 
985  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
986 
990  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
991 
995  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
996 
1000  inline Service& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
1001 
1005  inline Service& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
1006 
1007 
1011  inline const Aws::Vector<PlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
1012 
1016  inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
1017 
1021  inline void SetPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
1022 
1026  inline void SetPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
1027 
1031  inline Service& WithPlacementConstraints(const Aws::Vector<PlacementConstraint>& value) { SetPlacementConstraints(value); return *this;}
1032 
1036  inline Service& WithPlacementConstraints(Aws::Vector<PlacementConstraint>&& value) { SetPlacementConstraints(std::move(value)); return *this;}
1037 
1041  inline Service& AddPlacementConstraints(const PlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
1042 
1046  inline Service& AddPlacementConstraints(PlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
1047 
1048 
1053  inline const Aws::Vector<PlacementStrategy>& GetPlacementStrategy() const{ return m_placementStrategy; }
1054 
1059  inline bool PlacementStrategyHasBeenSet() const { return m_placementStrategyHasBeenSet; }
1060 
1065  inline void SetPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = value; }
1066 
1071  inline void SetPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy = std::move(value); }
1072 
1077  inline Service& WithPlacementStrategy(const Aws::Vector<PlacementStrategy>& value) { SetPlacementStrategy(value); return *this;}
1078 
1083  inline Service& WithPlacementStrategy(Aws::Vector<PlacementStrategy>&& value) { SetPlacementStrategy(std::move(value)); return *this;}
1084 
1089  inline Service& AddPlacementStrategy(const PlacementStrategy& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(value); return *this; }
1090 
1095  inline Service& AddPlacementStrategy(PlacementStrategy&& value) { m_placementStrategyHasBeenSet = true; m_placementStrategy.push_back(std::move(value)); return *this; }
1096 
1097 
1103  inline const NetworkConfiguration& GetNetworkConfiguration() const{ return m_networkConfiguration; }
1104 
1110  inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
1111 
1117  inline void SetNetworkConfiguration(const NetworkConfiguration& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = value; }
1118 
1124  inline void SetNetworkConfiguration(NetworkConfiguration&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::move(value); }
1125 
1131  inline Service& WithNetworkConfiguration(const NetworkConfiguration& value) { SetNetworkConfiguration(value); return *this;}
1132 
1138  inline Service& WithNetworkConfiguration(NetworkConfiguration&& value) { SetNetworkConfiguration(std::move(value)); return *this;}
1139 
1140 
1146  inline int GetHealthCheckGracePeriodSeconds() const{ return m_healthCheckGracePeriodSeconds; }
1147 
1153  inline bool HealthCheckGracePeriodSecondsHasBeenSet() const { return m_healthCheckGracePeriodSecondsHasBeenSet; }
1154 
1160  inline void SetHealthCheckGracePeriodSeconds(int value) { m_healthCheckGracePeriodSecondsHasBeenSet = true; m_healthCheckGracePeriodSeconds = value; }
1161 
1167  inline Service& WithHealthCheckGracePeriodSeconds(int value) { SetHealthCheckGracePeriodSeconds(value); return *this;}
1168 
1169 
1185  inline const SchedulingStrategy& GetSchedulingStrategy() const{ return m_schedulingStrategy; }
1186 
1202  inline bool SchedulingStrategyHasBeenSet() const { return m_schedulingStrategyHasBeenSet; }
1203 
1219  inline void SetSchedulingStrategy(const SchedulingStrategy& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = value; }
1220 
1236  inline void SetSchedulingStrategy(SchedulingStrategy&& value) { m_schedulingStrategyHasBeenSet = true; m_schedulingStrategy = std::move(value); }
1237 
1253  inline Service& WithSchedulingStrategy(const SchedulingStrategy& value) { SetSchedulingStrategy(value); return *this;}
1254 
1270  inline Service& WithSchedulingStrategy(SchedulingStrategy&& value) { SetSchedulingStrategy(std::move(value)); return *this;}
1271 
1272 
1278  inline const DeploymentController& GetDeploymentController() const{ return m_deploymentController; }
1279 
1285  inline bool DeploymentControllerHasBeenSet() const { return m_deploymentControllerHasBeenSet; }
1286 
1292  inline void SetDeploymentController(const DeploymentController& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = value; }
1293 
1299  inline void SetDeploymentController(DeploymentController&& value) { m_deploymentControllerHasBeenSet = true; m_deploymentController = std::move(value); }
1300 
1306  inline Service& WithDeploymentController(const DeploymentController& value) { SetDeploymentController(value); return *this;}
1307 
1313  inline Service& WithDeploymentController(DeploymentController&& value) { SetDeploymentController(std::move(value)); return *this;}
1314 
1315 
1334  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1335 
1354  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1355 
1374  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1375 
1394  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1395 
1414  inline Service& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1415 
1434  inline Service& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1435 
1454  inline Service& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1455 
1474  inline Service& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1475 
1476 
1480  inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
1481 
1485  inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
1486 
1490  inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
1491 
1495  inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
1496 
1500  inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
1501 
1505  inline Service& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
1506 
1510  inline Service& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
1511 
1515  inline Service& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
1516 
1517 
1525  inline bool GetEnableECSManagedTags() const{ return m_enableECSManagedTags; }
1526 
1534  inline bool EnableECSManagedTagsHasBeenSet() const { return m_enableECSManagedTagsHasBeenSet; }
1535 
1543  inline void SetEnableECSManagedTags(bool value) { m_enableECSManagedTagsHasBeenSet = true; m_enableECSManagedTags = value; }
1544 
1552  inline Service& WithEnableECSManagedTags(bool value) { SetEnableECSManagedTags(value); return *this;}
1553 
1554 
1559  inline const PropagateTags& GetPropagateTags() const{ return m_propagateTags; }
1560 
1565  inline bool PropagateTagsHasBeenSet() const { return m_propagateTagsHasBeenSet; }
1566 
1571  inline void SetPropagateTags(const PropagateTags& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = value; }
1572 
1577  inline void SetPropagateTags(PropagateTags&& value) { m_propagateTagsHasBeenSet = true; m_propagateTags = std::move(value); }
1578 
1583  inline Service& WithPropagateTags(const PropagateTags& value) { SetPropagateTags(value); return *this;}
1584 
1589  inline Service& WithPropagateTags(PropagateTags&& value) { SetPropagateTags(std::move(value)); return *this;}
1590 
1591 
1597  inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
1598 
1604  inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
1605 
1611  inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
1612 
1618  inline Service& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
1619 
1620  private:
1621 
1622  Aws::String m_serviceArn;
1623  bool m_serviceArnHasBeenSet;
1624 
1625  Aws::String m_serviceName;
1626  bool m_serviceNameHasBeenSet;
1627 
1628  Aws::String m_clusterArn;
1629  bool m_clusterArnHasBeenSet;
1630 
1631  Aws::Vector<LoadBalancer> m_loadBalancers;
1632  bool m_loadBalancersHasBeenSet;
1633 
1634  Aws::Vector<ServiceRegistry> m_serviceRegistries;
1635  bool m_serviceRegistriesHasBeenSet;
1636 
1637  Aws::String m_status;
1638  bool m_statusHasBeenSet;
1639 
1640  int m_desiredCount;
1641  bool m_desiredCountHasBeenSet;
1642 
1643  int m_runningCount;
1644  bool m_runningCountHasBeenSet;
1645 
1646  int m_pendingCount;
1647  bool m_pendingCountHasBeenSet;
1648 
1649  LaunchType m_launchType;
1650  bool m_launchTypeHasBeenSet;
1651 
1652  Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
1653  bool m_capacityProviderStrategyHasBeenSet;
1654 
1655  Aws::String m_platformVersion;
1656  bool m_platformVersionHasBeenSet;
1657 
1658  Aws::String m_taskDefinition;
1659  bool m_taskDefinitionHasBeenSet;
1660 
1661  DeploymentConfiguration m_deploymentConfiguration;
1662  bool m_deploymentConfigurationHasBeenSet;
1663 
1664  Aws::Vector<TaskSet> m_taskSets;
1665  bool m_taskSetsHasBeenSet;
1666 
1667  Aws::Vector<Deployment> m_deployments;
1668  bool m_deploymentsHasBeenSet;
1669 
1670  Aws::String m_roleArn;
1671  bool m_roleArnHasBeenSet;
1672 
1673  Aws::Vector<ServiceEvent> m_events;
1674  bool m_eventsHasBeenSet;
1675 
1676  Aws::Utils::DateTime m_createdAt;
1677  bool m_createdAtHasBeenSet;
1678 
1679  Aws::Vector<PlacementConstraint> m_placementConstraints;
1680  bool m_placementConstraintsHasBeenSet;
1681 
1682  Aws::Vector<PlacementStrategy> m_placementStrategy;
1683  bool m_placementStrategyHasBeenSet;
1684 
1685  NetworkConfiguration m_networkConfiguration;
1686  bool m_networkConfigurationHasBeenSet;
1687 
1688  int m_healthCheckGracePeriodSeconds;
1689  bool m_healthCheckGracePeriodSecondsHasBeenSet;
1690 
1691  SchedulingStrategy m_schedulingStrategy;
1692  bool m_schedulingStrategyHasBeenSet;
1693 
1694  DeploymentController m_deploymentController;
1695  bool m_deploymentControllerHasBeenSet;
1696 
1697  Aws::Vector<Tag> m_tags;
1698  bool m_tagsHasBeenSet;
1699 
1700  Aws::String m_createdBy;
1701  bool m_createdByHasBeenSet;
1702 
1703  bool m_enableECSManagedTags;
1704  bool m_enableECSManagedTagsHasBeenSet;
1705 
1706  PropagateTags m_propagateTags;
1707  bool m_propagateTagsHasBeenSet;
1708 
1709  bool m_enableExecuteCommand;
1710  bool m_enableExecuteCommandHasBeenSet;
1711  };
1712 
1713 } // namespace Model
1714 } // namespace ECS
1715 } // namespace Aws
Aws::ECS::Model::Service::WithRunningCount
Service & WithRunningCount(int value)
Definition: Service.h:458
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:1434
Aws::ECS::Model::Service::WithEnableECSManagedTags
Service & WithEnableECSManagedTags(bool value)
Definition: Service.h:1552
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:471
Aws::ECS::Model::Service::SetRunningCount
void SetRunningCount(int value)
Definition: Service.h:452
Aws::ECS::Model::Service::SetSchedulingStrategy
void SetSchedulingStrategy(SchedulingStrategy &&value)
Definition: Service.h:1236
Aws::ECS::Model::Service::GetHealthCheckGracePeriodSeconds
int GetHealthCheckGracePeriodSeconds() const
Definition: Service.h:1146
Aws::ECS::Model::Service::SetTaskDefinition
void SetTaskDefinition(Aws::String &&value)
Definition: Service.h:697
Aws::ECS::Model::Service::SetStatus
void SetStatus(const Aws::String &value)
Definition: Service.h:374
Aws::ECS::Model::Service::AddEvents
Service & AddEvents(ServiceEvent &&value)
Definition: Service.h:974
Aws::ECS::Model::Service::AddPlacementConstraints
Service & AddPlacementConstraints(PlacementConstraint &&value)
Definition: Service.h:1046
Aws::ECS::Model::Service::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Service.h:985
Aws::ECS::Model::Service::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::Service::RunningCountHasBeenSet
bool RunningCountHasBeenSet() const
Definition: Service.h:446
Aws::ECS::Model::Service::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: Service.h:897
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:1394
Aws::ECS::Model::Service::SetDeployments
void SetDeployments(Aws::Vector< Deployment > &&value)
Definition: Service.h:848
Aws::ECS::Model::Service::AddServiceRegistries
Service & AddServiceRegistries(const ServiceRegistry &value)
Definition: Service.h:347
Aws::ECS::Model::Service::SetPlacementStrategy
void SetPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: Service.h:1065
Aws::ECS::Model::Service::AddTaskSets
Service & AddTaskSets(const TaskSet &value)
Definition: Service.h:819
Aws::ECS::Model::Service::LaunchTypeHasBeenSet
bool LaunchTypeHasBeenSet() const
Definition: Service.h:502
Aws::ECS::Model::Service::PropagateTagsHasBeenSet
bool PropagateTagsHasBeenSet() const
Definition: Service.h:1565
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:355
Aws::ECS::Model::Service::GetCapacityProviderStrategy
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
Definition: Service.h:544
Aws::ECS::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:33
Aws::ECS::Model::Service::WithLaunchType
Service & WithLaunchType(LaunchType &&value)
Definition: Service.h:538
Aws::ECS::Model::Service::AddDeployments
Service & AddDeployments(Deployment &&value)
Definition: Service.h:868
Aws::ECS::Model::Service::GetCreatedBy
const Aws::String & GetCreatedBy() const
Definition: Service.h:1480
Aws::ECS::Model::Service::WithLaunchType
Service & WithLaunchType(const LaunchType &value)
Definition: Service.h:529
Aws::ECS::Model::Service::WithRoleArn
Service & WithRoleArn(const Aws::String &value)
Definition: Service.h:911
Aws::ECS::Model::Service::WithPlacementStrategy
Service & WithPlacementStrategy(const Aws::Vector< PlacementStrategy > &value)
Definition: Service.h:1077
DeploymentConfiguration.h
Aws::ECS::Model::Service::WithDeploymentConfiguration
Service & WithDeploymentConfiguration(const DeploymentConfiguration &value)
Definition: Service.h:756
Aws::ECS::Model::Deployment
Definition: Deployment.h:40
ServiceEvent.h
Aws::ECS::Model::Service::WithDeploymentController
Service & WithDeploymentController(DeploymentController &&value)
Definition: Service.h:1313
Tag.h
DateTime.h
LoadBalancer.h
Aws::ECS::Model::Service::WithPropagateTags
Service & WithPropagateTags(const PropagateTags &value)
Definition: Service.h:1583
Aws::ECS::Model::Service::Service
Service(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Service::SetTaskDefinition
void SetTaskDefinition(const char *value)
Definition: Service.h:704
Aws::ECS::Model::Service::NetworkConfigurationHasBeenSet
bool NetworkConfigurationHasBeenSet() const
Definition: Service.h:1110
Aws::ECS::Model::Service::GetNetworkConfiguration
const NetworkConfiguration & GetNetworkConfiguration() const
Definition: Service.h:1103
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:779
Aws::ECS::Model::Service::AddPlacementStrategy
Service & AddPlacementStrategy(PlacementStrategy &&value)
Definition: Service.h:1095
Aws::ECS::Model::Service::WithTaskSets
Service & WithTaskSets(const Aws::Vector< TaskSet > &value)
Definition: Service.h:803
Aws::ECS::Model::Service::WithEvents
Service & WithEvents(Aws::Vector< ServiceEvent > &&value)
Definition: Service.h:962
Aws::ECS::Model::Service::HealthCheckGracePeriodSecondsHasBeenSet
bool HealthCheckGracePeriodSecondsHasBeenSet() const
Definition: Service.h:1153
Aws::ECS::Model::Service::SetDeploymentConfiguration
void SetDeploymentConfiguration(DeploymentConfiguration &&value)
Definition: Service.h:750
Aws::ECS::Model::Service::WithRoleArn
Service & WithRoleArn(const char *value)
Definition: Service.h:925
Aws::ECS::Model::Service::SetLoadBalancers
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
Definition: Service.h:262
Aws::ECS::Model::Service::SetEvents
void SetEvents(const Aws::Vector< ServiceEvent > &value)
Definition: Service.h:944
Aws::ECS::Model::Service::EnableECSManagedTagsHasBeenSet
bool EnableECSManagedTagsHasBeenSet() const
Definition: Service.h:1534
Aws::ECS::Model::Service::DeploymentsHasBeenSet
bool DeploymentsHasBeenSet() const
Definition: Service.h:838
PlacementConstraint.h
Aws::ECS::Model::Service::WithPlacementConstraints
Service & WithPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: Service.h:1036
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:876
Aws::ECS::Model::Service::DeploymentControllerHasBeenSet
bool DeploymentControllerHasBeenSet() const
Definition: Service.h:1285
Aws::ECS::Model::DeploymentConfiguration
Definition: DeploymentConfiguration.h:34
Aws::ECS::Model::Service::GetEvents
const Aws::Vector< ServiceEvent > & GetEvents() const
Definition: Service.h:932
Aws::ECS::Model::Service::SetServiceRegistries
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
Definition: Service.h:315
Aws::ECS::Model::Service::WithStatus
Service & WithStatus(Aws::String &&value)
Definition: Service.h:398
Aws::ECS::Model::Service::EnableExecuteCommandHasBeenSet
bool EnableExecuteCommandHasBeenSet() const
Definition: Service.h:1604
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:668
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
PropagateTags.h
Aws::ECS::Model::Service::WithTaskDefinition
Service & WithTaskDefinition(const char *value)
Definition: Service.h:725
Aws::ECS::Model::Service::WithServiceRegistries
Service & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
Definition: Service.h:339
Aws::ECS::Model::Service::WithCapacityProviderStrategy
Service & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: Service.h:564
Aws::ECS::Model::Service::AddCapacityProviderStrategy
Service & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
Definition: Service.h:579
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:1053
Aws::ECS::Model::Service::SetEvents
void SetEvents(Aws::Vector< ServiceEvent > &&value)
Definition: Service.h:950
Aws::ECS::Model::PlacementConstraint
Definition: PlacementConstraint.h:38
Aws::ECS::Model::Service::WithCreatedAt
Service & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Service.h:1000
Aws::ECS::Model::CapacityProviderStrategyItem
Definition: CapacityProviderStrategyItem.h:45
Aws::ECS::Model::Service::SetEnableExecuteCommand
void SetEnableExecuteCommand(bool value)
Definition: Service.h:1611
Aws::ECS::Model::Service::GetEnableExecuteCommand
bool GetEnableExecuteCommand() const
Definition: Service.h:1597
Aws::ECS::Model::Service::SetCreatedBy
void SetCreatedBy(const char *value)
Definition: Service.h:1500
Aws::ECS::Model::Service::SetNetworkConfiguration
void SetNetworkConfiguration(NetworkConfiguration &&value)
Definition: Service.h:1124
Aws::ECS::Model::Service::WithPlatformVersion
Service & WithPlatformVersion(const Aws::String &value)
Definition: Service.h:646
Aws::ECS::Model::LaunchType
LaunchType
Definition: LaunchType.h:17
Aws::ECS::Model::Service::SetPropagateTags
void SetPropagateTags(const PropagateTags &value)
Definition: Service.h:1571
Aws::ECS::Model::Service::WithCreatedBy
Service & WithCreatedBy(const char *value)
Definition: Service.h:1515
Aws::ECS::Model::Service::GetPropagateTags
const PropagateTags & GetPropagateTags() const
Definition: Service.h:1559
Aws::ECS::Model::Service::SetCapacityProviderStrategy
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
Definition: Service.h:554
Aws::ECS::Model::Service::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Service.h:990
Aws::ECS::Model::Service::SetLaunchType
void SetLaunchType(const LaunchType &value)
Definition: Service.h:511
Aws::ECS::Model::Service::SetLoadBalancers
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
Definition: Service.h:255
Aws::ECS::Model::Service::GetSchedulingStrategy
const SchedulingStrategy & GetSchedulingStrategy() const
Definition: Service.h:1185
LaunchType.h
Aws::ECS::Model::Service::ServiceRegistriesHasBeenSet
bool ServiceRegistriesHasBeenSet() const
Definition: Service.h:307
NetworkConfiguration.h
Aws::ECS::Model::Service::SetStatus
void SetStatus(const char *value)
Definition: Service.h:386
Aws::ECS::Model::Service::EventsHasBeenSet
bool EventsHasBeenSet() const
Definition: Service.h:938
Aws::ECS::Model::Service::WithSchedulingStrategy
Service & WithSchedulingStrategy(SchedulingStrategy &&value)
Definition: Service.h:1270
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:811
Aws::ECS::Model::Service::WithStatus
Service & WithStatus(const Aws::String &value)
Definition: Service.h:392
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:569
Aws::ECS::Model::Service::GetEnableECSManagedTags
bool GetEnableECSManagedTags() const
Definition: Service.h:1525
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:1253
Aws::ECS::Model::Service::GetServiceRegistries
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
Definition: Service.h:299
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:1505
Aws::ECS::Model::Service::WithTaskDefinition
Service & WithTaskDefinition(const Aws::String &value)
Definition: Service.h:711
Aws::ECS::Model::Service::SetPlatformVersion
void SetPlatformVersion(Aws::String &&value)
Definition: Service.h:624
Aws::ECS::Model::Service::GetLoadBalancers
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
Definition: Service.h:241
TaskSet.h
Aws::ECS::Model::Service::WithPlatformVersion
Service & WithPlatformVersion(Aws::String &&value)
Definition: Service.h:657
Aws::ECS::Model::Service
Definition: Service.h:49
Aws::ECS::Model::Service::SetHealthCheckGracePeriodSeconds
void SetHealthCheckGracePeriodSeconds(int value)
Definition: Service.h:1160
Aws::ECS::Model::Service::TaskDefinitionHasBeenSet
bool TaskDefinitionHasBeenSet() const
Definition: Service.h:683
Aws::ECS::Model::Service::AddPlacementStrategy
Service & AddPlacementStrategy(const PlacementStrategy &value)
Definition: Service.h:1089
Aws::ECS::Model::Service::SetTaskDefinition
void SetTaskDefinition(const Aws::String &value)
Definition: Service.h:690
Aws::ECS::Model::Service::SetServiceRegistries
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
Definition: Service.h:323
Aws::ECS::Model::Service::SetRoleArn
void SetRoleArn(const char *value)
Definition: Service.h:904
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:1354
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::ECS::Model::Service::WithDeploymentConfiguration
Service & WithDeploymentConfiguration(DeploymentConfiguration &&value)
Definition: Service.h:762
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:613
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::ECS::Model::Service::WithRoleArn
Service & WithRoleArn(Aws::String &&value)
Definition: Service.h:918
Aws::ECS::Model::Service::SchedulingStrategyHasBeenSet
bool SchedulingStrategyHasBeenSet() const
Definition: Service.h:1202
Aws::ECS::Model::Service::WithEnableExecuteCommand
Service & WithEnableExecuteCommand(bool value)
Definition: Service.h:1618
Aws::ECS::Model::Service::SetDeploymentController
void SetDeploymentController(DeploymentController &&value)
Definition: Service.h:1299
Aws::ECS::Model::PropagateTags
PropagateTags
Definition: PropagateTags.h:17
Aws::ECS::Model::Service::WithDeployments
Service & WithDeployments(const Aws::Vector< Deployment > &value)
Definition: Service.h:853
Aws::ECS::Model::Service::SetPlacementConstraints
void SetPlacementConstraints(Aws::Vector< PlacementConstraint > &&value)
Definition: Service.h:1026
Aws::ECS::Model::Service::WithTags
Service & WithTags(const Aws::Vector< Tag > &value)
Definition: Service.h:1414
Aws::ECS::Model::Service::AddPlacementConstraints
Service & AddPlacementConstraints(const PlacementConstraint &value)
Definition: Service.h:1041
Aws::ECS::Model::Service::AddTags
Service & AddTags(const Tag &value)
Definition: Service.h:1454
CapacityProviderStrategyItem.h
ServiceRegistry.h
Aws::ECS::Model::Service::WithCreatedBy
Service & WithCreatedBy(Aws::String &&value)
Definition: Service.h:1510
Aws::ECS::Model::Service::GetDeploymentController
const DeploymentController & GetDeploymentController() const
Definition: Service.h:1278
Aws::ECS::Model::Service::WithHealthCheckGracePeriodSeconds
Service & WithHealthCheckGracePeriodSeconds(int value)
Definition: Service.h:1167
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:559
Aws::ECS::Model::Service::GetDeploymentConfiguration
const DeploymentConfiguration & GetDeploymentConfiguration() const
Definition: Service.h:732
Aws::ECS::Model::Service::LoadBalancersHasBeenSet
bool LoadBalancersHasBeenSet() const
Definition: Service.h:248
Aws::ECS::Model::Service::SetStatus
void SetStatus(Aws::String &&value)
Definition: Service.h:380
Aws::ECS::Model::Service::AddLoadBalancers
Service & AddLoadBalancers(LoadBalancer &&value)
Definition: Service.h:290
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:465
Deployment.h
Aws::ECS::Model::Service::SetPropagateTags
void SetPropagateTags(PropagateTags &&value)
Definition: Service.h:1577
Aws::ECS::Model::Service::WithStatus
Service & WithStatus(const char *value)
Definition: Service.h:404
Aws::ECS::Model::SchedulingStrategy
SchedulingStrategy
Definition: SchedulingStrategy.h:17
Aws::ECS::Model::Service::WithDeployments
Service & WithDeployments(Aws::Vector< Deployment > &&value)
Definition: Service.h:858
Aws::ECS::Model::Service::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Service.h:995
SchedulingStrategy.h
Aws::ECS::Model::Service::GetStatus
const Aws::String & GetStatus() const
Definition: Service.h:362
Aws::ECS::Model::Service::ServiceArnHasBeenSet
bool ServiceArnHasBeenSet() const
Definition: Service.h:73
Aws::ECS::Model::Service::GetDesiredCount
int GetDesiredCount() const
Definition: Service.h:412
Aws::ECS::Model::Service::AddTaskSets
Service & AddTaskSets(TaskSet &&value)
Definition: Service.h:827
Aws::ECS::Model::Service::GetRunningCount
int GetRunningCount() const
Definition: Service.h:440
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:1219
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:863
Aws::ECS::Model::Service::WithDeploymentController
Service & WithDeploymentController(const DeploymentController &value)
Definition: Service.h:1306
Aws::ECS::Model::Service::WithPropagateTags
Service & WithPropagateTags(PropagateTags &&value)
Definition: Service.h:1589
Aws::ECS::Model::Service::WithLoadBalancers
Service & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
Definition: Service.h:276
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:956
Aws::ECS::Model::Service::WithLoadBalancers
Service & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
Definition: Service.h:269
Aws::ECS::Model::Service::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Service.h:980
Aws::ECS::Model::Service::AddCapacityProviderStrategy
Service & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
Definition: Service.h:574
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::Service::GetPlatformVersion
const Aws::String & GetPlatformVersion() const
Definition: Service.h:591
Aws::ECS::Model::Service::SetCreatedBy
void SetCreatedBy(const Aws::String &value)
Definition: Service.h:1490
Aws::ECS::Model::Service::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: Service.h:883
Aws::ECS::Model::Service::SetCreatedBy
void SetCreatedBy(Aws::String &&value)
Definition: Service.h:1495
Aws::ECS::Model::Service::WithPlacementStrategy
Service & WithPlacementStrategy(Aws::Vector< PlacementStrategy > &&value)
Definition: Service.h:1083
Aws::ECS::Model::Service::SetPlatformVersion
void SetPlatformVersion(const char *value)
Definition: Service.h:635
Aws::ECS::Model::PlacementStrategy
Definition: PlacementStrategy.h:37
Aws::ECS::Model::Service::SetDeployments
void SetDeployments(const Aws::Vector< Deployment > &value)
Definition: Service.h:843
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:738
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:718
Aws::ECS::Model::Service::SetPendingCount
void SetPendingCount(int value)
Definition: Service.h:477
Aws::ECS::Model::ServiceEvent
Definition: ServiceEvent.h:33
Aws::ECS::Model::Service::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Service.h:1374
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:833
Aws::ECS::Model::Service::DesiredCountHasBeenSet
bool DesiredCountHasBeenSet() const
Definition: Service.h:419
Aws::ECS::Model::Service::PlatformVersionHasBeenSet
bool PlatformVersionHasBeenSet() const
Definition: Service.h:602
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:1011
Aws::ECS::Model::Service::GetTaskDefinition
const Aws::String & GetTaskDefinition() const
Definition: Service.h:676
Aws::ECS::Model::Service::WithPlacementConstraints
Service & WithPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: Service.h:1031
Aws::ECS::Model::Service::WithNetworkConfiguration
Service & WithNetworkConfiguration(const NetworkConfiguration &value)
Definition: Service.h:1131
Aws::ECS::Model::Service::SetPlacementConstraints
void SetPlacementConstraints(const Aws::Vector< PlacementConstraint > &value)
Definition: Service.h:1021
Aws::ECS::Model::Service::AddTags
Service & AddTags(Tag &&value)
Definition: Service.h:1474
Aws::ECS::Model::DeploymentController
Definition: DeploymentController.h:36
Aws::ECS::Model::Service::WithPendingCount
Service & WithPendingCount(int value)
Definition: Service.h:483
Aws::ECS::Model::Service::GetTaskSets
const Aws::Vector< TaskSet > & GetTaskSets() const
Definition: Service.h:771
Aws::ECS::Model::Service::SetNetworkConfiguration
void SetNetworkConfiguration(const NetworkConfiguration &value)
Definition: Service.h:1117
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:1071
Aws::ECS::Model::Service::WithServiceRegistries
Service & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
Definition: Service.h:331
Aws::ECS::Model::Service::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: Service.h:890
Aws::ECS::Model::Service::CreatedByHasBeenSet
bool CreatedByHasBeenSet() const
Definition: Service.h:1485
Aws::ECS::Model::Service::SetEnableECSManagedTags
void SetEnableECSManagedTags(bool value)
Definition: Service.h:1543
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:744
Aws::ECS::Model::Service::SetTaskSets
void SetTaskSets(Aws::Vector< TaskSet > &&value)
Definition: Service.h:795
Aws::ECS::Model::Service::WithNetworkConfiguration
Service & WithNetworkConfiguration(NetworkConfiguration &&value)
Definition: Service.h:1138
ECS_EXPORTS.h
Aws::ECS::Model::Service::SetDesiredCount
void SetDesiredCount(int value)
Definition: Service.h:426
Aws::ECS::Model::Service::AddEvents
Service & AddEvents(const ServiceEvent &value)
Definition: Service.h:968
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:1005
Aws::ECS::Model::Service::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Service.h:1334
Aws::ECS::Model::Service::AddLoadBalancers
Service & AddLoadBalancers(const LoadBalancer &value)
Definition: Service.h:283
Aws::ECS::Model::Service::PlacementStrategyHasBeenSet
bool PlacementStrategyHasBeenSet() const
Definition: Service.h:1059
Aws::ECS::Model::Service::WithDesiredCount
Service & WithDesiredCount(int value)
Definition: Service.h:433
Aws::ECS::Model::Service::SetTaskSets
void SetTaskSets(const Aws::Vector< TaskSet > &value)
Definition: Service.h:787
Aws::ECS::Model::Service::PlacementConstraintsHasBeenSet
bool PlacementConstraintsHasBeenSet() const
Definition: Service.h:1016
Aws::ECS::Model::Service::SetDeploymentController
void SetDeploymentController(const DeploymentController &value)
Definition: Service.h:1292
Aws::ECS::Model::Service::GetLaunchType
const LaunchType & GetLaunchType() const
Definition: Service.h:493
Aws::ECS::Model::Service::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: Service.h:368