AWS SDK for C++  1.9.161
AWS SDK for C++
Task.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
21 #include <aws/ecs/model/Tag.h>
22 #include <utility>
23 
24 namespace Aws
25 {
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31  class JsonView;
32 } // namespace Json
33 } // namespace Utils
34 namespace ECS
35 {
36 namespace Model
37 {
38 
45  {
46  public:
47  Task();
51 
52 
57  inline const Aws::Vector<Attachment>& GetAttachments() const{ return m_attachments; }
58 
63  inline bool AttachmentsHasBeenSet() const { return m_attachmentsHasBeenSet; }
64 
69  inline void SetAttachments(const Aws::Vector<Attachment>& value) { m_attachmentsHasBeenSet = true; m_attachments = value; }
70 
75  inline void SetAttachments(Aws::Vector<Attachment>&& value) { m_attachmentsHasBeenSet = true; m_attachments = std::move(value); }
76 
81  inline Task& WithAttachments(const Aws::Vector<Attachment>& value) { SetAttachments(value); return *this;}
82 
87  inline Task& WithAttachments(Aws::Vector<Attachment>&& value) { SetAttachments(std::move(value)); return *this;}
88 
93  inline Task& AddAttachments(const Attachment& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(value); return *this; }
94 
99  inline Task& AddAttachments(Attachment&& value) { m_attachmentsHasBeenSet = true; m_attachments.push_back(std::move(value)); return *this; }
100 
101 
105  inline const Aws::Vector<Attribute>& GetAttributes() const{ return m_attributes; }
106 
110  inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
111 
115  inline void SetAttributes(const Aws::Vector<Attribute>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
116 
120  inline void SetAttributes(Aws::Vector<Attribute>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
121 
125  inline Task& WithAttributes(const Aws::Vector<Attribute>& value) { SetAttributes(value); return *this;}
126 
130  inline Task& WithAttributes(Aws::Vector<Attribute>&& value) { SetAttributes(std::move(value)); return *this;}
131 
135  inline Task& AddAttributes(const Attribute& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
136 
140  inline Task& AddAttributes(Attribute&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
141 
142 
146  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
147 
151  inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
152 
156  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
157 
161  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
162 
166  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
167 
171  inline Task& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
172 
176  inline Task& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
177 
181  inline Task& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
182 
183 
187  inline const Aws::String& GetCapacityProviderName() const{ return m_capacityProviderName; }
188 
192  inline bool CapacityProviderNameHasBeenSet() const { return m_capacityProviderNameHasBeenSet; }
193 
197  inline void SetCapacityProviderName(const Aws::String& value) { m_capacityProviderNameHasBeenSet = true; m_capacityProviderName = value; }
198 
202  inline void SetCapacityProviderName(Aws::String&& value) { m_capacityProviderNameHasBeenSet = true; m_capacityProviderName = std::move(value); }
203 
207  inline void SetCapacityProviderName(const char* value) { m_capacityProviderNameHasBeenSet = true; m_capacityProviderName.assign(value); }
208 
212  inline Task& WithCapacityProviderName(const Aws::String& value) { SetCapacityProviderName(value); return *this;}
213 
217  inline Task& WithCapacityProviderName(Aws::String&& value) { SetCapacityProviderName(std::move(value)); return *this;}
218 
222  inline Task& WithCapacityProviderName(const char* value) { SetCapacityProviderName(value); return *this;}
223 
224 
228  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
229 
233  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
234 
238  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
239 
243  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
244 
248  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
249 
253  inline Task& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
254 
258  inline Task& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
259 
263  inline Task& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
264 
265 
269  inline const Connectivity& GetConnectivity() const{ return m_connectivity; }
270 
274  inline bool ConnectivityHasBeenSet() const { return m_connectivityHasBeenSet; }
275 
279  inline void SetConnectivity(const Connectivity& value) { m_connectivityHasBeenSet = true; m_connectivity = value; }
280 
284  inline void SetConnectivity(Connectivity&& value) { m_connectivityHasBeenSet = true; m_connectivity = std::move(value); }
285 
289  inline Task& WithConnectivity(const Connectivity& value) { SetConnectivity(value); return *this;}
290 
294  inline Task& WithConnectivity(Connectivity&& value) { SetConnectivity(std::move(value)); return *this;}
295 
296 
301  inline const Aws::Utils::DateTime& GetConnectivityAt() const{ return m_connectivityAt; }
302 
307  inline bool ConnectivityAtHasBeenSet() const { return m_connectivityAtHasBeenSet; }
308 
313  inline void SetConnectivityAt(const Aws::Utils::DateTime& value) { m_connectivityAtHasBeenSet = true; m_connectivityAt = value; }
314 
319  inline void SetConnectivityAt(Aws::Utils::DateTime&& value) { m_connectivityAtHasBeenSet = true; m_connectivityAt = std::move(value); }
320 
325  inline Task& WithConnectivityAt(const Aws::Utils::DateTime& value) { SetConnectivityAt(value); return *this;}
326 
331  inline Task& WithConnectivityAt(Aws::Utils::DateTime&& value) { SetConnectivityAt(std::move(value)); return *this;}
332 
333 
337  inline const Aws::String& GetContainerInstanceArn() const{ return m_containerInstanceArn; }
338 
342  inline bool ContainerInstanceArnHasBeenSet() const { return m_containerInstanceArnHasBeenSet; }
343 
347  inline void SetContainerInstanceArn(const Aws::String& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = value; }
348 
352  inline void SetContainerInstanceArn(Aws::String&& value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn = std::move(value); }
353 
357  inline void SetContainerInstanceArn(const char* value) { m_containerInstanceArnHasBeenSet = true; m_containerInstanceArn.assign(value); }
358 
362  inline Task& WithContainerInstanceArn(const Aws::String& value) { SetContainerInstanceArn(value); return *this;}
363 
367  inline Task& WithContainerInstanceArn(Aws::String&& value) { SetContainerInstanceArn(std::move(value)); return *this;}
368 
372  inline Task& WithContainerInstanceArn(const char* value) { SetContainerInstanceArn(value); return *this;}
373 
374 
378  inline const Aws::Vector<Container>& GetContainers() const{ return m_containers; }
379 
383  inline bool ContainersHasBeenSet() const { return m_containersHasBeenSet; }
384 
388  inline void SetContainers(const Aws::Vector<Container>& value) { m_containersHasBeenSet = true; m_containers = value; }
389 
393  inline void SetContainers(Aws::Vector<Container>&& value) { m_containersHasBeenSet = true; m_containers = std::move(value); }
394 
398  inline Task& WithContainers(const Aws::Vector<Container>& value) { SetContainers(value); return *this;}
399 
403  inline Task& WithContainers(Aws::Vector<Container>&& value) { SetContainers(std::move(value)); return *this;}
404 
408  inline Task& AddContainers(const Container& value) { m_containersHasBeenSet = true; m_containers.push_back(value); return *this; }
409 
413  inline Task& AddContainers(Container&& value) { m_containersHasBeenSet = true; m_containers.push_back(std::move(value)); return *this; }
414 
415 
439  inline const Aws::String& GetCpu() const{ return m_cpu; }
440 
464  inline bool CpuHasBeenSet() const { return m_cpuHasBeenSet; }
465 
489  inline void SetCpu(const Aws::String& value) { m_cpuHasBeenSet = true; m_cpu = value; }
490 
514  inline void SetCpu(Aws::String&& value) { m_cpuHasBeenSet = true; m_cpu = std::move(value); }
515 
539  inline void SetCpu(const char* value) { m_cpuHasBeenSet = true; m_cpu.assign(value); }
540 
564  inline Task& WithCpu(const Aws::String& value) { SetCpu(value); return *this;}
565 
589  inline Task& WithCpu(Aws::String&& value) { SetCpu(std::move(value)); return *this;}
590 
614  inline Task& WithCpu(const char* value) { SetCpu(value); return *this;}
615 
616 
621  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
622 
627  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
628 
633  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
634 
639  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
640 
645  inline Task& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
646 
651  inline Task& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
652 
653 
659  inline const Aws::String& GetDesiredStatus() const{ return m_desiredStatus; }
660 
666  inline bool DesiredStatusHasBeenSet() const { return m_desiredStatusHasBeenSet; }
667 
673  inline void SetDesiredStatus(const Aws::String& value) { m_desiredStatusHasBeenSet = true; m_desiredStatus = value; }
674 
680  inline void SetDesiredStatus(Aws::String&& value) { m_desiredStatusHasBeenSet = true; m_desiredStatus = std::move(value); }
681 
687  inline void SetDesiredStatus(const char* value) { m_desiredStatusHasBeenSet = true; m_desiredStatus.assign(value); }
688 
694  inline Task& WithDesiredStatus(const Aws::String& value) { SetDesiredStatus(value); return *this;}
695 
701  inline Task& WithDesiredStatus(Aws::String&& value) { SetDesiredStatus(std::move(value)); return *this;}
702 
708  inline Task& WithDesiredStatus(const char* value) { SetDesiredStatus(value); return *this;}
709 
710 
716  inline bool GetEnableExecuteCommand() const{ return m_enableExecuteCommand; }
717 
723  inline bool EnableExecuteCommandHasBeenSet() const { return m_enableExecuteCommandHasBeenSet; }
724 
730  inline void SetEnableExecuteCommand(bool value) { m_enableExecuteCommandHasBeenSet = true; m_enableExecuteCommand = value; }
731 
737  inline Task& WithEnableExecuteCommand(bool value) { SetEnableExecuteCommand(value); return *this;}
738 
739 
743  inline const Aws::Utils::DateTime& GetExecutionStoppedAt() const{ return m_executionStoppedAt; }
744 
748  inline bool ExecutionStoppedAtHasBeenSet() const { return m_executionStoppedAtHasBeenSet; }
749 
753  inline void SetExecutionStoppedAt(const Aws::Utils::DateTime& value) { m_executionStoppedAtHasBeenSet = true; m_executionStoppedAt = value; }
754 
758  inline void SetExecutionStoppedAt(Aws::Utils::DateTime&& value) { m_executionStoppedAtHasBeenSet = true; m_executionStoppedAt = std::move(value); }
759 
763  inline Task& WithExecutionStoppedAt(const Aws::Utils::DateTime& value) { SetExecutionStoppedAt(value); return *this;}
764 
768  inline Task& WithExecutionStoppedAt(Aws::Utils::DateTime&& value) { SetExecutionStoppedAt(std::move(value)); return *this;}
769 
770 
774  inline const Aws::String& GetGroup() const{ return m_group; }
775 
779  inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
780 
784  inline void SetGroup(const Aws::String& value) { m_groupHasBeenSet = true; m_group = value; }
785 
789  inline void SetGroup(Aws::String&& value) { m_groupHasBeenSet = true; m_group = std::move(value); }
790 
794  inline void SetGroup(const char* value) { m_groupHasBeenSet = true; m_group.assign(value); }
795 
799  inline Task& WithGroup(const Aws::String& value) { SetGroup(value); return *this;}
800 
804  inline Task& WithGroup(Aws::String&& value) { SetGroup(std::move(value)); return *this;}
805 
809  inline Task& WithGroup(const char* value) { SetGroup(value); return *this;}
810 
811 
826  inline const HealthStatus& GetHealthStatus() const{ return m_healthStatus; }
827 
842  inline bool HealthStatusHasBeenSet() const { return m_healthStatusHasBeenSet; }
843 
858  inline void SetHealthStatus(const HealthStatus& value) { m_healthStatusHasBeenSet = true; m_healthStatus = value; }
859 
874  inline void SetHealthStatus(HealthStatus&& value) { m_healthStatusHasBeenSet = true; m_healthStatus = std::move(value); }
875 
890  inline Task& WithHealthStatus(const HealthStatus& value) { SetHealthStatus(value); return *this;}
891 
906  inline Task& WithHealthStatus(HealthStatus&& value) { SetHealthStatus(std::move(value)); return *this;}
907 
908 
912  inline const Aws::Vector<InferenceAccelerator>& GetInferenceAccelerators() const{ return m_inferenceAccelerators; }
913 
917  inline bool InferenceAcceleratorsHasBeenSet() const { return m_inferenceAcceleratorsHasBeenSet; }
918 
922  inline void SetInferenceAccelerators(const Aws::Vector<InferenceAccelerator>& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators = value; }
923 
927  inline void SetInferenceAccelerators(Aws::Vector<InferenceAccelerator>&& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators = std::move(value); }
928 
932  inline Task& WithInferenceAccelerators(const Aws::Vector<InferenceAccelerator>& value) { SetInferenceAccelerators(value); return *this;}
933 
937  inline Task& WithInferenceAccelerators(Aws::Vector<InferenceAccelerator>&& value) { SetInferenceAccelerators(std::move(value)); return *this;}
938 
942  inline Task& AddInferenceAccelerators(const InferenceAccelerator& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators.push_back(value); return *this; }
943 
947  inline Task& AddInferenceAccelerators(InferenceAccelerator&& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators.push_back(std::move(value)); return *this; }
948 
949 
955  inline const Aws::String& GetLastStatus() const{ return m_lastStatus; }
956 
962  inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; }
963 
969  inline void SetLastStatus(const Aws::String& value) { m_lastStatusHasBeenSet = true; m_lastStatus = value; }
970 
976  inline void SetLastStatus(Aws::String&& value) { m_lastStatusHasBeenSet = true; m_lastStatus = std::move(value); }
977 
983  inline void SetLastStatus(const char* value) { m_lastStatusHasBeenSet = true; m_lastStatus.assign(value); }
984 
990  inline Task& WithLastStatus(const Aws::String& value) { SetLastStatus(value); return *this;}
991 
997  inline Task& WithLastStatus(Aws::String&& value) { SetLastStatus(std::move(value)); return *this;}
998 
1004  inline Task& WithLastStatus(const char* value) { SetLastStatus(value); return *this;}
1005 
1006 
1013  inline const LaunchType& GetLaunchType() const{ return m_launchType; }
1014 
1021  inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
1022 
1029  inline void SetLaunchType(const LaunchType& value) { m_launchTypeHasBeenSet = true; m_launchType = value; }
1030 
1037  inline void SetLaunchType(LaunchType&& value) { m_launchTypeHasBeenSet = true; m_launchType = std::move(value); }
1038 
1045  inline Task& WithLaunchType(const LaunchType& value) { SetLaunchType(value); return *this;}
1046 
1053  inline Task& WithLaunchType(LaunchType&& value) { SetLaunchType(std::move(value)); return *this;}
1054 
1055 
1075  inline const Aws::String& GetMemory() const{ return m_memory; }
1076 
1096  inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; }
1097 
1117  inline void SetMemory(const Aws::String& value) { m_memoryHasBeenSet = true; m_memory = value; }
1118 
1138  inline void SetMemory(Aws::String&& value) { m_memoryHasBeenSet = true; m_memory = std::move(value); }
1139 
1159  inline void SetMemory(const char* value) { m_memoryHasBeenSet = true; m_memory.assign(value); }
1160 
1180  inline Task& WithMemory(const Aws::String& value) { SetMemory(value); return *this;}
1181 
1201  inline Task& WithMemory(Aws::String&& value) { SetMemory(std::move(value)); return *this;}
1202 
1222  inline Task& WithMemory(const char* value) { SetMemory(value); return *this;}
1223 
1224 
1228  inline const TaskOverride& GetOverrides() const{ return m_overrides; }
1229 
1233  inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
1234 
1238  inline void SetOverrides(const TaskOverride& value) { m_overridesHasBeenSet = true; m_overrides = value; }
1239 
1243  inline void SetOverrides(TaskOverride&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
1244 
1248  inline Task& WithOverrides(const TaskOverride& value) { SetOverrides(value); return *this;}
1249 
1253  inline Task& WithOverrides(TaskOverride&& value) { SetOverrides(std::move(value)); return *this;}
1254 
1255 
1264  inline const Aws::String& GetPlatformVersion() const{ return m_platformVersion; }
1265 
1274  inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
1275 
1284  inline void SetPlatformVersion(const Aws::String& value) { m_platformVersionHasBeenSet = true; m_platformVersion = value; }
1285 
1294  inline void SetPlatformVersion(Aws::String&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::move(value); }
1295 
1304  inline void SetPlatformVersion(const char* value) { m_platformVersionHasBeenSet = true; m_platformVersion.assign(value); }
1305 
1314  inline Task& WithPlatformVersion(const Aws::String& value) { SetPlatformVersion(value); return *this;}
1315 
1324  inline Task& WithPlatformVersion(Aws::String&& value) { SetPlatformVersion(std::move(value)); return *this;}
1325 
1334  inline Task& WithPlatformVersion(const char* value) { SetPlatformVersion(value); return *this;}
1335 
1336 
1343  inline const Aws::String& GetPlatformFamily() const{ return m_platformFamily; }
1344 
1351  inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
1352 
1359  inline void SetPlatformFamily(const Aws::String& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = value; }
1360 
1367  inline void SetPlatformFamily(Aws::String&& value) { m_platformFamilyHasBeenSet = true; m_platformFamily = std::move(value); }
1368 
1375  inline void SetPlatformFamily(const char* value) { m_platformFamilyHasBeenSet = true; m_platformFamily.assign(value); }
1376 
1383  inline Task& WithPlatformFamily(const Aws::String& value) { SetPlatformFamily(value); return *this;}
1384 
1391  inline Task& WithPlatformFamily(Aws::String&& value) { SetPlatformFamily(std::move(value)); return *this;}
1392 
1399  inline Task& WithPlatformFamily(const char* value) { SetPlatformFamily(value); return *this;}
1400 
1401 
1405  inline const Aws::Utils::DateTime& GetPullStartedAt() const{ return m_pullStartedAt; }
1406 
1410  inline bool PullStartedAtHasBeenSet() const { return m_pullStartedAtHasBeenSet; }
1411 
1415  inline void SetPullStartedAt(const Aws::Utils::DateTime& value) { m_pullStartedAtHasBeenSet = true; m_pullStartedAt = value; }
1416 
1420  inline void SetPullStartedAt(Aws::Utils::DateTime&& value) { m_pullStartedAtHasBeenSet = true; m_pullStartedAt = std::move(value); }
1421 
1425  inline Task& WithPullStartedAt(const Aws::Utils::DateTime& value) { SetPullStartedAt(value); return *this;}
1426 
1430  inline Task& WithPullStartedAt(Aws::Utils::DateTime&& value) { SetPullStartedAt(std::move(value)); return *this;}
1431 
1432 
1436  inline const Aws::Utils::DateTime& GetPullStoppedAt() const{ return m_pullStoppedAt; }
1437 
1441  inline bool PullStoppedAtHasBeenSet() const { return m_pullStoppedAtHasBeenSet; }
1442 
1446  inline void SetPullStoppedAt(const Aws::Utils::DateTime& value) { m_pullStoppedAtHasBeenSet = true; m_pullStoppedAt = value; }
1447 
1451  inline void SetPullStoppedAt(Aws::Utils::DateTime&& value) { m_pullStoppedAtHasBeenSet = true; m_pullStoppedAt = std::move(value); }
1452 
1456  inline Task& WithPullStoppedAt(const Aws::Utils::DateTime& value) { SetPullStoppedAt(value); return *this;}
1457 
1461  inline Task& WithPullStoppedAt(Aws::Utils::DateTime&& value) { SetPullStoppedAt(std::move(value)); return *this;}
1462 
1463 
1469  inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; }
1470 
1476  inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; }
1477 
1483  inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; }
1484 
1490  inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); }
1491 
1497  inline Task& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;}
1498 
1504  inline Task& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;}
1505 
1506 
1512  inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
1513 
1519  inline bool StartedByHasBeenSet() const { return m_startedByHasBeenSet; }
1520 
1526  inline void SetStartedBy(const Aws::String& value) { m_startedByHasBeenSet = true; m_startedBy = value; }
1527 
1533  inline void SetStartedBy(Aws::String&& value) { m_startedByHasBeenSet = true; m_startedBy = std::move(value); }
1534 
1540  inline void SetStartedBy(const char* value) { m_startedByHasBeenSet = true; m_startedBy.assign(value); }
1541 
1547  inline Task& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
1548 
1554  inline Task& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
1555 
1561  inline Task& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
1562 
1563 
1568  inline const TaskStopCode& GetStopCode() const{ return m_stopCode; }
1569 
1574  inline bool StopCodeHasBeenSet() const { return m_stopCodeHasBeenSet; }
1575 
1580  inline void SetStopCode(const TaskStopCode& value) { m_stopCodeHasBeenSet = true; m_stopCode = value; }
1581 
1586  inline void SetStopCode(TaskStopCode&& value) { m_stopCodeHasBeenSet = true; m_stopCode = std::move(value); }
1587 
1592  inline Task& WithStopCode(const TaskStopCode& value) { SetStopCode(value); return *this;}
1593 
1598  inline Task& WithStopCode(TaskStopCode&& value) { SetStopCode(std::move(value)); return *this;}
1599 
1600 
1606  inline const Aws::Utils::DateTime& GetStoppedAt() const{ return m_stoppedAt; }
1607 
1613  inline bool StoppedAtHasBeenSet() const { return m_stoppedAtHasBeenSet; }
1614 
1620  inline void SetStoppedAt(const Aws::Utils::DateTime& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = value; }
1621 
1627  inline void SetStoppedAt(Aws::Utils::DateTime&& value) { m_stoppedAtHasBeenSet = true; m_stoppedAt = std::move(value); }
1628 
1634  inline Task& WithStoppedAt(const Aws::Utils::DateTime& value) { SetStoppedAt(value); return *this;}
1635 
1641  inline Task& WithStoppedAt(Aws::Utils::DateTime&& value) { SetStoppedAt(std::move(value)); return *this;}
1642 
1643 
1647  inline const Aws::String& GetStoppedReason() const{ return m_stoppedReason; }
1648 
1652  inline bool StoppedReasonHasBeenSet() const { return m_stoppedReasonHasBeenSet; }
1653 
1657  inline void SetStoppedReason(const Aws::String& value) { m_stoppedReasonHasBeenSet = true; m_stoppedReason = value; }
1658 
1662  inline void SetStoppedReason(Aws::String&& value) { m_stoppedReasonHasBeenSet = true; m_stoppedReason = std::move(value); }
1663 
1667  inline void SetStoppedReason(const char* value) { m_stoppedReasonHasBeenSet = true; m_stoppedReason.assign(value); }
1668 
1672  inline Task& WithStoppedReason(const Aws::String& value) { SetStoppedReason(value); return *this;}
1673 
1677  inline Task& WithStoppedReason(Aws::String&& value) { SetStoppedReason(std::move(value)); return *this;}
1678 
1682  inline Task& WithStoppedReason(const char* value) { SetStoppedReason(value); return *this;}
1683 
1684 
1690  inline const Aws::Utils::DateTime& GetStoppingAt() const{ return m_stoppingAt; }
1691 
1697  inline bool StoppingAtHasBeenSet() const { return m_stoppingAtHasBeenSet; }
1698 
1704  inline void SetStoppingAt(const Aws::Utils::DateTime& value) { m_stoppingAtHasBeenSet = true; m_stoppingAt = value; }
1705 
1711  inline void SetStoppingAt(Aws::Utils::DateTime&& value) { m_stoppingAtHasBeenSet = true; m_stoppingAt = std::move(value); }
1712 
1718  inline Task& WithStoppingAt(const Aws::Utils::DateTime& value) { SetStoppingAt(value); return *this;}
1719 
1725  inline Task& WithStoppingAt(Aws::Utils::DateTime&& value) { SetStoppingAt(std::move(value)); return *this;}
1726 
1727 
1747  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1748 
1768  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1769 
1789  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1790 
1810  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1811 
1831  inline Task& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1832 
1852  inline Task& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1853 
1873  inline Task& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1874 
1894  inline Task& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1895 
1896 
1900  inline const Aws::String& GetTaskArn() const{ return m_taskArn; }
1901 
1905  inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; }
1906 
1910  inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; }
1911 
1915  inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); }
1916 
1920  inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); }
1921 
1925  inline Task& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;}
1926 
1930  inline Task& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;}
1931 
1935  inline Task& WithTaskArn(const char* value) { SetTaskArn(value); return *this;}
1936 
1937 
1941  inline const Aws::String& GetTaskDefinitionArn() const{ return m_taskDefinitionArn; }
1942 
1946  inline bool TaskDefinitionArnHasBeenSet() const { return m_taskDefinitionArnHasBeenSet; }
1947 
1951  inline void SetTaskDefinitionArn(const Aws::String& value) { m_taskDefinitionArnHasBeenSet = true; m_taskDefinitionArn = value; }
1952 
1956  inline void SetTaskDefinitionArn(Aws::String&& value) { m_taskDefinitionArnHasBeenSet = true; m_taskDefinitionArn = std::move(value); }
1957 
1961  inline void SetTaskDefinitionArn(const char* value) { m_taskDefinitionArnHasBeenSet = true; m_taskDefinitionArn.assign(value); }
1962 
1966  inline Task& WithTaskDefinitionArn(const Aws::String& value) { SetTaskDefinitionArn(value); return *this;}
1967 
1971  inline Task& WithTaskDefinitionArn(Aws::String&& value) { SetTaskDefinitionArn(std::move(value)); return *this;}
1972 
1976  inline Task& WithTaskDefinitionArn(const char* value) { SetTaskDefinitionArn(value); return *this;}
1977 
1978 
1987  inline long long GetVersion() const{ return m_version; }
1988 
1997  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
1998 
2007  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
2008 
2017  inline Task& WithVersion(long long value) { SetVersion(value); return *this;}
2018 
2019 
2023  inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; }
2024 
2028  inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
2029 
2033  inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
2034 
2038  inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); }
2039 
2043  inline Task& WithEphemeralStorage(const EphemeralStorage& value) { SetEphemeralStorage(value); return *this;}
2044 
2048  inline Task& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;}
2049 
2050  private:
2051 
2052  Aws::Vector<Attachment> m_attachments;
2053  bool m_attachmentsHasBeenSet;
2054 
2055  Aws::Vector<Attribute> m_attributes;
2056  bool m_attributesHasBeenSet;
2057 
2058  Aws::String m_availabilityZone;
2059  bool m_availabilityZoneHasBeenSet;
2060 
2061  Aws::String m_capacityProviderName;
2062  bool m_capacityProviderNameHasBeenSet;
2063 
2064  Aws::String m_clusterArn;
2065  bool m_clusterArnHasBeenSet;
2066 
2067  Connectivity m_connectivity;
2068  bool m_connectivityHasBeenSet;
2069 
2070  Aws::Utils::DateTime m_connectivityAt;
2071  bool m_connectivityAtHasBeenSet;
2072 
2073  Aws::String m_containerInstanceArn;
2074  bool m_containerInstanceArnHasBeenSet;
2075 
2076  Aws::Vector<Container> m_containers;
2077  bool m_containersHasBeenSet;
2078 
2079  Aws::String m_cpu;
2080  bool m_cpuHasBeenSet;
2081 
2082  Aws::Utils::DateTime m_createdAt;
2083  bool m_createdAtHasBeenSet;
2084 
2085  Aws::String m_desiredStatus;
2086  bool m_desiredStatusHasBeenSet;
2087 
2088  bool m_enableExecuteCommand;
2089  bool m_enableExecuteCommandHasBeenSet;
2090 
2091  Aws::Utils::DateTime m_executionStoppedAt;
2092  bool m_executionStoppedAtHasBeenSet;
2093 
2094  Aws::String m_group;
2095  bool m_groupHasBeenSet;
2096 
2097  HealthStatus m_healthStatus;
2098  bool m_healthStatusHasBeenSet;
2099 
2100  Aws::Vector<InferenceAccelerator> m_inferenceAccelerators;
2101  bool m_inferenceAcceleratorsHasBeenSet;
2102 
2103  Aws::String m_lastStatus;
2104  bool m_lastStatusHasBeenSet;
2105 
2106  LaunchType m_launchType;
2107  bool m_launchTypeHasBeenSet;
2108 
2109  Aws::String m_memory;
2110  bool m_memoryHasBeenSet;
2111 
2112  TaskOverride m_overrides;
2113  bool m_overridesHasBeenSet;
2114 
2115  Aws::String m_platformVersion;
2116  bool m_platformVersionHasBeenSet;
2117 
2118  Aws::String m_platformFamily;
2119  bool m_platformFamilyHasBeenSet;
2120 
2121  Aws::Utils::DateTime m_pullStartedAt;
2122  bool m_pullStartedAtHasBeenSet;
2123 
2124  Aws::Utils::DateTime m_pullStoppedAt;
2125  bool m_pullStoppedAtHasBeenSet;
2126 
2127  Aws::Utils::DateTime m_startedAt;
2128  bool m_startedAtHasBeenSet;
2129 
2130  Aws::String m_startedBy;
2131  bool m_startedByHasBeenSet;
2132 
2133  TaskStopCode m_stopCode;
2134  bool m_stopCodeHasBeenSet;
2135 
2136  Aws::Utils::DateTime m_stoppedAt;
2137  bool m_stoppedAtHasBeenSet;
2138 
2139  Aws::String m_stoppedReason;
2140  bool m_stoppedReasonHasBeenSet;
2141 
2142  Aws::Utils::DateTime m_stoppingAt;
2143  bool m_stoppingAtHasBeenSet;
2144 
2145  Aws::Vector<Tag> m_tags;
2146  bool m_tagsHasBeenSet;
2147 
2148  Aws::String m_taskArn;
2149  bool m_taskArnHasBeenSet;
2150 
2151  Aws::String m_taskDefinitionArn;
2152  bool m_taskDefinitionArnHasBeenSet;
2153 
2154  long long m_version;
2155  bool m_versionHasBeenSet;
2156 
2157  EphemeralStorage m_ephemeralStorage;
2158  bool m_ephemeralStorageHasBeenSet;
2159  };
2160 
2161 } // namespace Model
2162 } // namespace ECS
2163 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ECS::Model::Task::SetLaunchType
void SetLaunchType(LaunchType &&value)
Definition: Task.h:1037
Aws::ECS::Model::Task::ContainerInstanceArnHasBeenSet
bool ContainerInstanceArnHasBeenSet() const
Definition: Task.h:342
Connectivity.h
Aws::ECS::Model::Task::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: Task.h:238
Aws::ECS::Model::Task::WithTaskArn
Task & WithTaskArn(const Aws::String &value)
Definition: Task.h:1925
Aws::ECS::Model::Task::WithEphemeralStorage
Task & WithEphemeralStorage(EphemeralStorage &&value)
Definition: Task.h:2048
Aws::ECS::Model::Task::WithCreatedAt
Task & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:651
Aws::ECS::Model::Task::AddInferenceAccelerators
Task & AddInferenceAccelerators(const InferenceAccelerator &value)
Definition: Task.h:942
Aws::ECS::Model::Task::GetVersion
long long GetVersion() const
Definition: Task.h:1987
Aws::ECS::Model::Task::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Task.h:1810
Aws::ECS::Model::Task::WithHealthStatus
Task & WithHealthStatus(const HealthStatus &value)
Definition: Task.h:890
Aws::ECS::Model::Task
Definition: Task.h:45
Aws::ECS::Model::Task::SetStopCode
void SetStopCode(const TaskStopCode &value)
Definition: Task.h:1580
Aws::ECS::Model::Task::AddAttributes
Task & AddAttributes(Attribute &&value)
Definition: Task.h:140
Aws::ECS::Model::Task::SetPlatformVersion
void SetPlatformVersion(const Aws::String &value)
Definition: Task.h:1284
TaskStopCode.h
Aws::ECS::Model::Task::GetDesiredStatus
const Aws::String & GetDesiredStatus() const
Definition: Task.h:659
Aws::ECS::Model::Task::Task
Task(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Task::WithConnectivityAt
Task & WithConnectivityAt(const Aws::Utils::DateTime &value)
Definition: Task.h:325
Aws::ECS::Model::Task::WithStopCode
Task & WithStopCode(TaskStopCode &&value)
Definition: Task.h:1598
Aws::ECS::Model::Task::WithCapacityProviderName
Task & WithCapacityProviderName(Aws::String &&value)
Definition: Task.h:217
Aws::ECS::Model::Task::SetConnectivityAt
void SetConnectivityAt(const Aws::Utils::DateTime &value)
Definition: Task.h:313
Aws::ECS::Model::Task::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:639
Aws::ECS::Model::Task::SetMemory
void SetMemory(const Aws::String &value)
Definition: Task.h:1117
Aws::ECS::Model::Task::MemoryHasBeenSet
bool MemoryHasBeenSet() const
Definition: Task.h:1096
Aws::ECS::Model::Task::WithCreatedAt
Task & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:645
Aws::ECS::Model::Task::SetOverrides
void SetOverrides(TaskOverride &&value)
Definition: Task.h:1243
Aws::ECS::Model::Task::WithPlatformFamily
Task & WithPlatformFamily(Aws::String &&value)
Definition: Task.h:1391
Aws::ECS::Model::Task::StoppedAtHasBeenSet
bool StoppedAtHasBeenSet() const
Definition: Task.h:1613
Aws::ECS::Model::Task::SetEnableExecuteCommand
void SetEnableExecuteCommand(bool value)
Definition: Task.h:730
Aws::ECS::Model::Task::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: Task.h:233
Aws::ECS::Model::Task::SetCapacityProviderName
void SetCapacityProviderName(Aws::String &&value)
Definition: Task.h:202
Aws::ECS::Model::Task::WithVersion
Task & WithVersion(long long value)
Definition: Task.h:2017
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::InferenceAccelerator
Definition: InferenceAccelerator.h:35
Aws::ECS::Model::Attachment
Definition: Attachment.h:35
Aws::ECS::Model::Task::WithDesiredStatus
Task & WithDesiredStatus(Aws::String &&value)
Definition: Task.h:701
Aws::ECS::Model::Task::WithStoppedAt
Task & WithStoppedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1634
Aws::ECS::Model::Task::WithAttributes
Task & WithAttributes(Aws::Vector< Attribute > &&value)
Definition: Task.h:130
Aws::ECS::Model::Task::StartedAtHasBeenSet
bool StartedAtHasBeenSet() const
Definition: Task.h:1476
Aws::ECS::Model::Task::SetAttachments
void SetAttachments(const Aws::Vector< Attachment > &value)
Definition: Task.h:69
Aws::ECS::Model::Task::OverridesHasBeenSet
bool OverridesHasBeenSet() const
Definition: Task.h:1233
Aws::ECS::Model::Task::WithClusterArn
Task & WithClusterArn(Aws::String &&value)
Definition: Task.h:258
Aws::ECS::Model::Task::GetPlatformFamily
const Aws::String & GetPlatformFamily() const
Definition: Task.h:1343
Aws::ECS::Model::Task::SetStartedBy
void SetStartedBy(const Aws::String &value)
Definition: Task.h:1526
Aws::ECS::Model::Task::SetAttachments
void SetAttachments(Aws::Vector< Attachment > &&value)
Definition: Task.h:75
Aws::ECS::Model::Task::SetStoppedReason
void SetStoppedReason(const Aws::String &value)
Definition: Task.h:1657
Aws::ECS::Model::Task::CapacityProviderNameHasBeenSet
bool CapacityProviderNameHasBeenSet() const
Definition: Task.h:192
Aws::ECS::Model::Task::SetEphemeralStorage
void SetEphemeralStorage(EphemeralStorage &&value)
Definition: Task.h:2038
Aws::ECS::Model::Task::SetStartedAt
void SetStartedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1490
Aws::ECS::Model::Task::HealthStatusHasBeenSet
bool HealthStatusHasBeenSet() const
Definition: Task.h:842
Aws::ECS::Model::Task::WithPlatformVersion
Task & WithPlatformVersion(const char *value)
Definition: Task.h:1334
Aws::ECS::Model::Task::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: Task.h:627
Aws::ECS::Model::Task::WithStopCode
Task & WithStopCode(const TaskStopCode &value)
Definition: Task.h:1592
InferenceAccelerator.h
Aws::ECS::Model::Task::WithPullStartedAt
Task & WithPullStartedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1430
Aws::ECS::Model::Task::WithContainerInstanceArn
Task & WithContainerInstanceArn(Aws::String &&value)
Definition: Task.h:367
Tag.h
Aws::ECS::Model::Task::DesiredStatusHasBeenSet
bool DesiredStatusHasBeenSet() const
Definition: Task.h:666
Aws::ECS::Model::Task::WithPlatformVersion
Task & WithPlatformVersion(Aws::String &&value)
Definition: Task.h:1324
Aws::ECS::Model::Task::SetContainers
void SetContainers(const Aws::Vector< Container > &value)
Definition: Task.h:388
DateTime.h
Aws::ECS::Model::Task::SetContainerInstanceArn
void SetContainerInstanceArn(const Aws::String &value)
Definition: Task.h:347
Aws::ECS::Model::Task::WithAvailabilityZone
Task & WithAvailabilityZone(const Aws::String &value)
Definition: Task.h:171
Aws::ECS::Model::Task::SetPullStartedAt
void SetPullStartedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1415
Aws::ECS::Model::Task::GetExecutionStoppedAt
const Aws::Utils::DateTime & GetExecutionStoppedAt() const
Definition: Task.h:743
Aws::ECS::Model::Task::GetEnableExecuteCommand
bool GetEnableExecuteCommand() const
Definition: Task.h:716
Aws::ECS::Model::Task::WithConnectivity
Task & WithConnectivity(const Connectivity &value)
Definition: Task.h:289
Aws::ECS::Model::Task::WithTaskDefinitionArn
Task & WithTaskDefinitionArn(const char *value)
Definition: Task.h:1976
Aws::ECS::Model::Task::WithPullStoppedAt
Task & WithPullStoppedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1456
Aws::ECS::Model::Task::WithOverrides
Task & WithOverrides(TaskOverride &&value)
Definition: Task.h:1253
Aws::ECS::Model::Task::SetDesiredStatus
void SetDesiredStatus(Aws::String &&value)
Definition: Task.h:680
Aws::ECS::Model::Task::WithStartedBy
Task & WithStartedBy(const char *value)
Definition: Task.h:1561
Aws::ECS::Model::Task::GetCapacityProviderName
const Aws::String & GetCapacityProviderName() const
Definition: Task.h:187
Aws::ECS::Model::Task::SetCapacityProviderName
void SetCapacityProviderName(const char *value)
Definition: Task.h:207
Aws::ECS::Model::Task::PullStartedAtHasBeenSet
bool PullStartedAtHasBeenSet() const
Definition: Task.h:1410
Aws::ECS::Model::Task::GetStoppedAt
const Aws::Utils::DateTime & GetStoppedAt() const
Definition: Task.h:1606
Aws::ECS::Model::Task::SetInferenceAccelerators
void SetInferenceAccelerators(const Aws::Vector< InferenceAccelerator > &value)
Definition: Task.h:922
Aws::ECS::Model::Task::SetCpu
void SetCpu(Aws::String &&value)
Definition: Task.h:514
Aws::ECS::Model::Task::WithMemory
Task & WithMemory(const Aws::String &value)
Definition: Task.h:1180
Aws::ECS::Model::Task::GetOverrides
const TaskOverride & GetOverrides() const
Definition: Task.h:1228
Aws::ECS::Model::Task::SetLaunchType
void SetLaunchType(const LaunchType &value)
Definition: Task.h:1029
Aws::ECS::Model::Task::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: Task.h:621
Aws::ECS::Model::Connectivity
Connectivity
Definition: Connectivity.h:17
Aws::ECS::Model::Task::EphemeralStorageHasBeenSet
bool EphemeralStorageHasBeenSet() const
Definition: Task.h:2028
Aws::ECS::Model::TaskStopCode
TaskStopCode
Definition: TaskStopCode.h:17
Aws::ECS::Model::Task::SetAvailabilityZone
void SetAvailabilityZone(const Aws::String &value)
Definition: Task.h:156
Aws::ECS::Model::Task::WithPullStartedAt
Task & WithPullStartedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1425
Aws::ECS::Model::Task::WithLastStatus
Task & WithLastStatus(const Aws::String &value)
Definition: Task.h:990
Aws::ECS::Model::Task::SetStoppedAt
void SetStoppedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1627
Aws::ECS::Model::Task::WithStoppedReason
Task & WithStoppedReason(Aws::String &&value)
Definition: Task.h:1677
Aws::ECS::Model::TaskOverride
Definition: TaskOverride.h:36
Aws::ECS::Model::Task::SetStoppingAt
void SetStoppingAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1704
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::Task::GetLastStatus
const Aws::String & GetLastStatus() const
Definition: Task.h:955
Aws::ECS::Model::Task::GetStoppingAt
const Aws::Utils::DateTime & GetStoppingAt() const
Definition: Task.h:1690
Aws::ECS::Model::Task::GetAttributes
const Aws::Vector< Attribute > & GetAttributes() const
Definition: Task.h:105
Aws::ECS::Model::Task::WithTags
Task & WithTags(const Aws::Vector< Tag > &value)
Definition: Task.h:1831
Aws::ECS::Model::Task::WithInferenceAccelerators
Task & WithInferenceAccelerators(Aws::Vector< InferenceAccelerator > &&value)
Definition: Task.h:937
Aws::ECS::Model::Task::GetConnectivity
const Connectivity & GetConnectivity() const
Definition: Task.h:269
Aws::ECS::Model::Task::SetDesiredStatus
void SetDesiredStatus(const char *value)
Definition: Task.h:687
Aws::ECS::Model::Task::ContainersHasBeenSet
bool ContainersHasBeenSet() const
Definition: Task.h:383
Aws::ECS::Model::Task::WithPullStoppedAt
Task & WithPullStoppedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1461
Aws::ECS::Model::Task::SetGroup
void SetGroup(Aws::String &&value)
Definition: Task.h:789
Aws::ECS::Model::Task::AttachmentsHasBeenSet
bool AttachmentsHasBeenSet() const
Definition: Task.h:63
Aws::ECS::Model::Tag
Definition: Tag.h:47
AWSVector.h
Aws::ECS::Model::Task::SetAvailabilityZone
void SetAvailabilityZone(Aws::String &&value)
Definition: Task.h:161
Aws::ECS::Model::Container
Definition: Container.h:37
Aws::ECS::Model::Task::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition: Task.h:110
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::Task::WithConnectivity
Task & WithConnectivity(Connectivity &&value)
Definition: Task.h:294
Aws::ECS::Model::Task::WithStartedBy
Task & WithStartedBy(Aws::String &&value)
Definition: Task.h:1554
Aws::ECS::Model::Task::ConnectivityHasBeenSet
bool ConnectivityHasBeenSet() const
Definition: Task.h:274
Aws::ECS::Model::Task::SetPullStoppedAt
void SetPullStoppedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1451
Aws::ECS::Model::Task::GetPlatformVersion
const Aws::String & GetPlatformVersion() const
Definition: Task.h:1264
Aws::ECS::Model::Task::WithCpu
Task & WithCpu(const char *value)
Definition: Task.h:614
Aws::ECS::Model::Task::WithStoppedReason
Task & WithStoppedReason(const Aws::String &value)
Definition: Task.h:1672
Aws::ECS::Model::Task::GetContainerInstanceArn
const Aws::String & GetContainerInstanceArn() const
Definition: Task.h:337
Aws::ECS::Model::Task::WithDesiredStatus
Task & WithDesiredStatus(const Aws::String &value)
Definition: Task.h:694
Aws::ECS::Model::Task::SetLastStatus
void SetLastStatus(const char *value)
Definition: Task.h:983
Aws::ECS::Model::Task::GetGroup
const Aws::String & GetGroup() const
Definition: Task.h:774
Aws::ECS::Model::Task::SetGroup
void SetGroup(const Aws::String &value)
Definition: Task.h:784
Aws::ECS::Model::Task::ConnectivityAtHasBeenSet
bool ConnectivityAtHasBeenSet() const
Definition: Task.h:307
Attribute.h
Aws::ECS::Model::Task::WithClusterArn
Task & WithClusterArn(const char *value)
Definition: Task.h:263
Aws::ECS::Model::Task::WithDesiredStatus
Task & WithDesiredStatus(const char *value)
Definition: Task.h:708
Aws::ECS::Model::LaunchType
LaunchType
Definition: LaunchType.h:17
Aws::ECS::Model::Task::SetStoppedReason
void SetStoppedReason(Aws::String &&value)
Definition: Task.h:1662
Aws::ECS::Model::Task::GetStopCode
const TaskStopCode & GetStopCode() const
Definition: Task.h:1568
Attachment.h
Aws::ECS::Model::Task::WithInferenceAccelerators
Task & WithInferenceAccelerators(const Aws::Vector< InferenceAccelerator > &value)
Definition: Task.h:932
Aws::ECS::Model::Task::StartedByHasBeenSet
bool StartedByHasBeenSet() const
Definition: Task.h:1519
Aws::ECS::Model::Task::SetTaskArn
void SetTaskArn(const Aws::String &value)
Definition: Task.h:1910
Aws::ECS::Model::Task::SetPlatformFamily
void SetPlatformFamily(Aws::String &&value)
Definition: Task.h:1367
Aws::ECS::Model::Task::WithAvailabilityZone
Task & WithAvailabilityZone(Aws::String &&value)
Definition: Task.h:176
Aws::ECS::Model::Task::SetMemory
void SetMemory(const char *value)
Definition: Task.h:1159
Aws::ECS::Model::Task::WithHealthStatus
Task & WithHealthStatus(HealthStatus &&value)
Definition: Task.h:906
LaunchType.h
Aws::ECS::Model::Task::GetLaunchType
const LaunchType & GetLaunchType() const
Definition: Task.h:1013
Aws::ECS::Model::Task::SetStartedAt
void SetStartedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1483
Aws::ECS::Model::Task::AddTags
Task & AddTags(Tag &&value)
Definition: Task.h:1894
Aws::ECS::Model::HealthStatus
HealthStatus
Definition: HealthStatus.h:17
Aws::ECS::Model::Task::AddContainers
Task & AddContainers(const Container &value)
Definition: Task.h:408
Aws::ECS::Model::Task::TaskArnHasBeenSet
bool TaskArnHasBeenSet() const
Definition: Task.h:1905
Aws::ECS::Model::Task::StoppedReasonHasBeenSet
bool StoppedReasonHasBeenSet() const
Definition: Task.h:1652
Aws::ECS::Model::EphemeralStorage
Definition: EphemeralStorage.h:38
Aws::ECS::Model::Task::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: Task.h:228
Aws::ECS::Model::Task::WithContainers
Task & WithContainers(const Aws::Vector< Container > &value)
Definition: Task.h:398
Aws::ECS::Model::Task::SetConnectivityAt
void SetConnectivityAt(Aws::Utils::DateTime &&value)
Definition: Task.h:319
Aws::ECS::Model::Task::GetTaskDefinitionArn
const Aws::String & GetTaskDefinitionArn() const
Definition: Task.h:1941
Aws::ECS::Model::Task::SetContainerInstanceArn
void SetContainerInstanceArn(Aws::String &&value)
Definition: Task.h:352
Aws::ECS::Model::Task::WithOverrides
Task & WithOverrides(const TaskOverride &value)
Definition: Task.h:1248
Aws::ECS::Model::Task::SetContainers
void SetContainers(Aws::Vector< Container > &&value)
Definition: Task.h:393
Aws::ECS::Model::Task::GetInferenceAccelerators
const Aws::Vector< InferenceAccelerator > & GetInferenceAccelerators() const
Definition: Task.h:912
Aws::ECS::Model::Task::StopCodeHasBeenSet
bool StopCodeHasBeenSet() const
Definition: Task.h:1574
Aws::ECS::Model::Task::SetCpu
void SetCpu(const char *value)
Definition: Task.h:539
Aws::ECS::Model::Task::SetExecutionStoppedAt
void SetExecutionStoppedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:758
Aws::ECS::Model::Task::SetVersion
void SetVersion(long long value)
Definition: Task.h:2007
Aws::ECS::Model::Task::WithExecutionStoppedAt
Task & WithExecutionStoppedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:763
Aws::ECS::Model::Task::WithExecutionStoppedAt
Task & WithExecutionStoppedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:768
Aws::ECS::Model::Task::SetStartedBy
void SetStartedBy(Aws::String &&value)
Definition: Task.h:1533
Aws::ECS::Model::Task::SetContainerInstanceArn
void SetContainerInstanceArn(const char *value)
Definition: Task.h:357
Aws::ECS::Model::Task::SetHealthStatus
void SetHealthStatus(HealthStatus &&value)
Definition: Task.h:874
Aws::ECS::Model::Task::WithTags
Task & WithTags(Aws::Vector< Tag > &&value)
Definition: Task.h:1852
Aws::ECS::Model::Task::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: Task.h:1997
Aws::ECS::Model::Task::TaskDefinitionArnHasBeenSet
bool TaskDefinitionArnHasBeenSet() const
Definition: Task.h:1946
Aws::ECS::Model::Task::SetAttributes
void SetAttributes(const Aws::Vector< Attribute > &value)
Definition: Task.h:115
Aws::ECS::Model::Task::SetPlatformVersion
void SetPlatformVersion(Aws::String &&value)
Definition: Task.h:1294
Aws::ECS::Model::Task::WithTaskArn
Task & WithTaskArn(Aws::String &&value)
Definition: Task.h:1930
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ECS::Model::Task::AvailabilityZoneHasBeenSet
bool AvailabilityZoneHasBeenSet() const
Definition: Task.h:151
AWSString.h
Aws::ECS::Model::Task::SetDesiredStatus
void SetDesiredStatus(const Aws::String &value)
Definition: Task.h:673
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ECS::Model::Task::WithCpu
Task & WithCpu(const Aws::String &value)
Definition: Task.h:564
Aws::ECS::Model::Task::EnableExecuteCommandHasBeenSet
bool EnableExecuteCommandHasBeenSet() const
Definition: Task.h:723
Aws::ECS::Model::Task::WithPlatformFamily
Task & WithPlatformFamily(const char *value)
Definition: Task.h:1399
Aws::ECS::Model::Task::GetPullStartedAt
const Aws::Utils::DateTime & GetPullStartedAt() const
Definition: Task.h:1405
Aws::ECS::Model::Task::operator=
Task & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ECS::Model::Task::SetConnectivity
void SetConnectivity(Connectivity &&value)
Definition: Task.h:284
Aws::ECS::Model::Task::SetPlatformFamily
void SetPlatformFamily(const char *value)
Definition: Task.h:1375
Aws::ECS::Model::Task::SetGroup
void SetGroup(const char *value)
Definition: Task.h:794
Aws::ECS::Model::Task::WithStartedAt
Task & WithStartedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1504
Aws::ECS::Model::Task::WithAttachments
Task & WithAttachments(Aws::Vector< Attachment > &&value)
Definition: Task.h:87
Aws::ECS::Model::Task::GroupHasBeenSet
bool GroupHasBeenSet() const
Definition: Task.h:779
Aws::ECS::Model::Task::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: Task.h:243
Aws::ECS::Model::Task::WithLaunchType
Task & WithLaunchType(const LaunchType &value)
Definition: Task.h:1045
Aws::ECS::Model::Task::PlatformFamilyHasBeenSet
bool PlatformFamilyHasBeenSet() const
Definition: Task.h:1351
Aws::ECS::Model::Task::GetStartedBy
const Aws::String & GetStartedBy() const
Definition: Task.h:1512
Aws::ECS::Model::Task::WithStartedAt
Task & WithStartedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1497
Aws::ECS::Model::Task::WithStoppingAt
Task & WithStoppingAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1725
EphemeralStorage.h
Aws::ECS::Model::Task::WithStartedBy
Task & WithStartedBy(const Aws::String &value)
Definition: Task.h:1547
TaskOverride.h
Aws::ECS::Model::Task::SetExecutionStoppedAt
void SetExecutionStoppedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:753
Aws::ECS::Model::Task::InferenceAcceleratorsHasBeenSet
bool InferenceAcceleratorsHasBeenSet() const
Definition: Task.h:917
Aws::ECS::Model::Task::WithTaskDefinitionArn
Task & WithTaskDefinitionArn(Aws::String &&value)
Definition: Task.h:1971
Aws::ECS::Model::Task::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Task.h:1768
Aws::ECS::Model::Task::SetPlatformFamily
void SetPlatformFamily(const Aws::String &value)
Definition: Task.h:1359
Aws::ECS::Model::Task::WithStoppedReason
Task & WithStoppedReason(const char *value)
Definition: Task.h:1682
Aws::ECS::Model::Task::SetStoppedAt
void SetStoppedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1620
Aws::ECS::Model::Task::SetCapacityProviderName
void SetCapacityProviderName(const Aws::String &value)
Definition: Task.h:197
Aws::ECS::Model::Task::WithCapacityProviderName
Task & WithCapacityProviderName(const Aws::String &value)
Definition: Task.h:212
Aws::ECS::Model::Task::WithTaskDefinitionArn
Task & WithTaskDefinitionArn(const Aws::String &value)
Definition: Task.h:1966
Aws::ECS::Model::Task::WithEphemeralStorage
Task & WithEphemeralStorage(const EphemeralStorage &value)
Definition: Task.h:2043
Aws::ECS::Model::Task::SetPlatformVersion
void SetPlatformVersion(const char *value)
Definition: Task.h:1304
Aws::ECS::Model::Task::WithClusterArn
Task & WithClusterArn(const Aws::String &value)
Definition: Task.h:253
Aws::ECS::Model::Task::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Task.h:1747
Aws::ECS::Model::Task::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Task.h:1789
Aws::ECS::Model::Task::WithEnableExecuteCommand
Task & WithEnableExecuteCommand(bool value)
Definition: Task.h:737
Aws::ECS::Model::Task::WithGroup
Task & WithGroup(Aws::String &&value)
Definition: Task.h:804
Aws::ECS::Model::Task::SetOverrides
void SetOverrides(const TaskOverride &value)
Definition: Task.h:1238
Aws::ECS::Model::Task::Task
Task()
Aws::ECS::Model::Task::WithLastStatus
Task & WithLastStatus(Aws::String &&value)
Definition: Task.h:997
HealthStatus.h
Aws::ECS::Model::Task::SetCpu
void SetCpu(const Aws::String &value)
Definition: Task.h:489
Aws::ECS::Model::Task::SetTaskDefinitionArn
void SetTaskDefinitionArn(const char *value)
Definition: Task.h:1961
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::Task::SetHealthStatus
void SetHealthStatus(const HealthStatus &value)
Definition: Task.h:858
Aws::ECS::Model::Task::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:633
Aws::ECS::Model::Task::WithAttachments
Task & WithAttachments(const Aws::Vector< Attachment > &value)
Definition: Task.h:81
Aws::ECS::Model::Task::SetPullStoppedAt
void SetPullStoppedAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1446
Aws::ECS::Model::Task::AddContainers
Task & AddContainers(Container &&value)
Definition: Task.h:413
Aws::ECS::Model::Task::SetLastStatus
void SetLastStatus(const Aws::String &value)
Definition: Task.h:969
Aws::ECS::Model::Task::SetLastStatus
void SetLastStatus(Aws::String &&value)
Definition: Task.h:976
Aws::ECS::Model::Task::WithTaskArn
Task & WithTaskArn(const char *value)
Definition: Task.h:1935
Aws::ECS::Model::Task::SetStoppingAt
void SetStoppingAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1711
Aws::ECS::Model::Task::WithStoppedAt
Task & WithStoppedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1641
Aws::ECS::Model::Task::GetTaskArn
const Aws::String & GetTaskArn() const
Definition: Task.h:1900
Aws::ECS::Model::Task::GetStoppedReason
const Aws::String & GetStoppedReason() const
Definition: Task.h:1647
Aws::ECS::Model::Task::LaunchTypeHasBeenSet
bool LaunchTypeHasBeenSet() const
Definition: Task.h:1021
Aws::ECS::Model::Task::ExecutionStoppedAtHasBeenSet
bool ExecutionStoppedAtHasBeenSet() const
Definition: Task.h:748
Aws::ECS::Model::Task::WithAttributes
Task & WithAttributes(const Aws::Vector< Attribute > &value)
Definition: Task.h:125
Aws::ECS::Model::Task::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ECS::Model::Task::SetStartedBy
void SetStartedBy(const char *value)
Definition: Task.h:1540
Aws::ECS::Model::Task::SetAttributes
void SetAttributes(Aws::Vector< Attribute > &&value)
Definition: Task.h:120
Aws::ECS::Model::Task::GetHealthStatus
const HealthStatus & GetHealthStatus() const
Definition: Task.h:826
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::Task::SetTaskArn
void SetTaskArn(Aws::String &&value)
Definition: Task.h:1915
Aws::ECS::Model::Task::GetCpu
const Aws::String & GetCpu() const
Definition: Task.h:439
Aws::ECS::Model::Task::SetAvailabilityZone
void SetAvailabilityZone(const char *value)
Definition: Task.h:166
Aws::ECS::Model::Task::PlatformVersionHasBeenSet
bool PlatformVersionHasBeenSet() const
Definition: Task.h:1274
Aws::ECS::Model::Task::WithStoppingAt
Task & WithStoppingAt(const Aws::Utils::DateTime &value)
Definition: Task.h:1718
Aws::ECS::Model::Attribute
Definition: Attribute.h:38
Aws::ECS::Model::Task::GetAttachments
const Aws::Vector< Attachment > & GetAttachments() const
Definition: Task.h:57
Aws::ECS::Model::Task::WithLaunchType
Task & WithLaunchType(LaunchType &&value)
Definition: Task.h:1053
Aws::ECS::Model::Task::SetTaskDefinitionArn
void SetTaskDefinitionArn(Aws::String &&value)
Definition: Task.h:1956
Aws::ECS::Model::Task::SetTaskArn
void SetTaskArn(const char *value)
Definition: Task.h:1920
Aws::ECS::Model::Task::SetPullStartedAt
void SetPullStartedAt(Aws::Utils::DateTime &&value)
Definition: Task.h:1420
Aws::ECS::Model::Task::WithGroup
Task & WithGroup(const char *value)
Definition: Task.h:809
Aws::ECS::Model::Task::GetPullStoppedAt
const Aws::Utils::DateTime & GetPullStoppedAt() const
Definition: Task.h:1436
Aws::ECS::Model::Task::AddTags
Task & AddTags(const Tag &value)
Definition: Task.h:1873
Aws::ECS::Model::Task::AddAttachments
Task & AddAttachments(Attachment &&value)
Definition: Task.h:99
Aws::ECS::Model::Task::WithContainerInstanceArn
Task & WithContainerInstanceArn(const Aws::String &value)
Definition: Task.h:362
Container.h
Aws::ECS::Model::Task::GetStartedAt
const Aws::Utils::DateTime & GetStartedAt() const
Definition: Task.h:1469
Aws::ECS::Model::Task::CpuHasBeenSet
bool CpuHasBeenSet() const
Definition: Task.h:464
Aws::ECS::Model::Task::StoppingAtHasBeenSet
bool StoppingAtHasBeenSet() const
Definition: Task.h:1697
Aws::ECS::Model::Task::WithMemory
Task & WithMemory(Aws::String &&value)
Definition: Task.h:1201
Aws::ECS::Model::Task::WithCpu
Task & WithCpu(Aws::String &&value)
Definition: Task.h:589
Aws::ECS::Model::Task::GetAvailabilityZone
const Aws::String & GetAvailabilityZone() const
Definition: Task.h:146
Aws::ECS::Model::Task::WithPlatformVersion
Task & WithPlatformVersion(const Aws::String &value)
Definition: Task.h:1314
Aws::ECS::Model::Task::GetConnectivityAt
const Aws::Utils::DateTime & GetConnectivityAt() const
Definition: Task.h:301
Aws::ECS::Model::Task::GetContainers
const Aws::Vector< Container > & GetContainers() const
Definition: Task.h:378
Aws::ECS::Model::Task::SetStoppedReason
void SetStoppedReason(const char *value)
Definition: Task.h:1667
Aws::ECS::Model::Task::AddAttachments
Task & AddAttachments(const Attachment &value)
Definition: Task.h:93
Aws::ECS::Model::Task::SetConnectivity
void SetConnectivity(const Connectivity &value)
Definition: Task.h:279
ECS_EXPORTS.h
Aws::ECS::Model::Task::SetEphemeralStorage
void SetEphemeralStorage(const EphemeralStorage &value)
Definition: Task.h:2033
Aws::ECS::Model::Task::AddInferenceAccelerators
Task & AddInferenceAccelerators(InferenceAccelerator &&value)
Definition: Task.h:947
Aws::ECS::Model::Task::SetStopCode
void SetStopCode(TaskStopCode &&value)
Definition: Task.h:1586
Aws::ECS::Model::Task::PullStoppedAtHasBeenSet
bool PullStoppedAtHasBeenSet() const
Definition: Task.h:1441
Aws::ECS::Model::Task::GetEphemeralStorage
const EphemeralStorage & GetEphemeralStorage() const
Definition: Task.h:2023
Aws::ECS::Model::Task::WithContainers
Task & WithContainers(Aws::Vector< Container > &&value)
Definition: Task.h:403
Aws::ECS::Model::Task::LastStatusHasBeenSet
bool LastStatusHasBeenSet() const
Definition: Task.h:962
Aws::ECS::Model::Task::AddAttributes
Task & AddAttributes(const Attribute &value)
Definition: Task.h:135
Aws::ECS::Model::Task::WithPlatformFamily
Task & WithPlatformFamily(const Aws::String &value)
Definition: Task.h:1383
Aws::ECS::Model::Task::WithMemory
Task & WithMemory(const char *value)
Definition: Task.h:1222
Aws::ECS::Model::Task::WithContainerInstanceArn
Task & WithContainerInstanceArn(const char *value)
Definition: Task.h:372
Aws::ECS::Model::Task::WithCapacityProviderName
Task & WithCapacityProviderName(const char *value)
Definition: Task.h:222
Aws::ECS::Model::Task::GetMemory
const Aws::String & GetMemory() const
Definition: Task.h:1075
Aws::ECS::Model::Task::SetClusterArn
void SetClusterArn(const char *value)
Definition: Task.h:248
Aws::ECS::Model::Task::WithAvailabilityZone
Task & WithAvailabilityZone(const char *value)
Definition: Task.h:181
Aws::ECS::Model::Task::WithLastStatus
Task & WithLastStatus(const char *value)
Definition: Task.h:1004
Aws::ECS::Model::Task::SetInferenceAccelerators
void SetInferenceAccelerators(Aws::Vector< InferenceAccelerator > &&value)
Definition: Task.h:927
Aws::ECS::Model::Task::SetTaskDefinitionArn
void SetTaskDefinitionArn(const Aws::String &value)
Definition: Task.h:1951
Aws::ECS::Model::Task::WithGroup
Task & WithGroup(const Aws::String &value)
Definition: Task.h:799
Aws::ECS::Model::Task::WithConnectivityAt
Task & WithConnectivityAt(Aws::Utils::DateTime &&value)
Definition: Task.h:331
Aws::ECS::Model::Task::SetMemory
void SetMemory(Aws::String &&value)
Definition: Task.h:1138