AWS SDK for C++  1.9.18
AWS SDK for C++
RegisterTaskDefinitionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 #include <aws/ecs/ECSRequest.h>
12 #include <aws/ecs/model/PidMode.h>
13 #include <aws/ecs/model/IpcMode.h>
17 #include <aws/ecs/model/Volume.h>
20 #include <aws/ecs/model/Tag.h>
22 #include <utility>
23 
24 namespace Aws
25 {
26 namespace ECS
27 {
28 namespace Model
29 {
30 
34  {
35  public:
37 
38  // Service request name is the Operation name which will send this request out,
39  // each operation should has unique request name, so that we can get operation's name from this request.
40  // Note: this is not true for response, multiple operations may have the same response name,
41  // so we can not get operation's name from response.
42  inline virtual const char* GetServiceRequestName() const override { return "RegisterTaskDefinition"; }
43 
44  Aws::String SerializePayload() const override;
45 
47 
48 
56  inline const Aws::String& GetFamily() const{ return m_family; }
57 
65  inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
66 
74  inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; }
75 
83  inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); }
84 
92  inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); }
93 
101  inline RegisterTaskDefinitionRequest& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
102 
110  inline RegisterTaskDefinitionRequest& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
111 
119  inline RegisterTaskDefinitionRequest& WithFamily(const char* value) { SetFamily(value); return *this;}
120 
121 
130  inline const Aws::String& GetTaskRoleArn() const{ return m_taskRoleArn; }
131 
140  inline bool TaskRoleArnHasBeenSet() const { return m_taskRoleArnHasBeenSet; }
141 
150  inline void SetTaskRoleArn(const Aws::String& value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn = value; }
151 
160  inline void SetTaskRoleArn(Aws::String&& value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn = std::move(value); }
161 
170  inline void SetTaskRoleArn(const char* value) { m_taskRoleArnHasBeenSet = true; m_taskRoleArn.assign(value); }
171 
180  inline RegisterTaskDefinitionRequest& WithTaskRoleArn(const Aws::String& value) { SetTaskRoleArn(value); return *this;}
181 
190  inline RegisterTaskDefinitionRequest& WithTaskRoleArn(Aws::String&& value) { SetTaskRoleArn(std::move(value)); return *this;}
191 
200  inline RegisterTaskDefinitionRequest& WithTaskRoleArn(const char* value) { SetTaskRoleArn(value); return *this;}
201 
202 
212  inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
213 
223  inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
224 
234  inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
235 
245  inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
246 
256  inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
257 
267  inline RegisterTaskDefinitionRequest& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
268 
278  inline RegisterTaskDefinitionRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
279 
289  inline RegisterTaskDefinitionRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
290 
291 
330  inline const NetworkMode& GetNetworkMode() const{ return m_networkMode; }
331 
370  inline bool NetworkModeHasBeenSet() const { return m_networkModeHasBeenSet; }
371 
410  inline void SetNetworkMode(const NetworkMode& value) { m_networkModeHasBeenSet = true; m_networkMode = value; }
411 
450  inline void SetNetworkMode(NetworkMode&& value) { m_networkModeHasBeenSet = true; m_networkMode = std::move(value); }
451 
490  inline RegisterTaskDefinitionRequest& WithNetworkMode(const NetworkMode& value) { SetNetworkMode(value); return *this;}
491 
530  inline RegisterTaskDefinitionRequest& WithNetworkMode(NetworkMode&& value) { SetNetworkMode(std::move(value)); return *this;}
531 
532 
537  inline const Aws::Vector<ContainerDefinition>& GetContainerDefinitions() const{ return m_containerDefinitions; }
538 
543  inline bool ContainerDefinitionsHasBeenSet() const { return m_containerDefinitionsHasBeenSet; }
544 
549  inline void SetContainerDefinitions(const Aws::Vector<ContainerDefinition>& value) { m_containerDefinitionsHasBeenSet = true; m_containerDefinitions = value; }
550 
555  inline void SetContainerDefinitions(Aws::Vector<ContainerDefinition>&& value) { m_containerDefinitionsHasBeenSet = true; m_containerDefinitions = std::move(value); }
556 
561  inline RegisterTaskDefinitionRequest& WithContainerDefinitions(const Aws::Vector<ContainerDefinition>& value) { SetContainerDefinitions(value); return *this;}
562 
567  inline RegisterTaskDefinitionRequest& WithContainerDefinitions(Aws::Vector<ContainerDefinition>&& value) { SetContainerDefinitions(std::move(value)); return *this;}
568 
573  inline RegisterTaskDefinitionRequest& AddContainerDefinitions(const ContainerDefinition& value) { m_containerDefinitionsHasBeenSet = true; m_containerDefinitions.push_back(value); return *this; }
574 
579  inline RegisterTaskDefinitionRequest& AddContainerDefinitions(ContainerDefinition&& value) { m_containerDefinitionsHasBeenSet = true; m_containerDefinitions.push_back(std::move(value)); return *this; }
580 
581 
586  inline const Aws::Vector<Volume>& GetVolumes() const{ return m_volumes; }
587 
592  inline bool VolumesHasBeenSet() const { return m_volumesHasBeenSet; }
593 
598  inline void SetVolumes(const Aws::Vector<Volume>& value) { m_volumesHasBeenSet = true; m_volumes = value; }
599 
604  inline void SetVolumes(Aws::Vector<Volume>&& value) { m_volumesHasBeenSet = true; m_volumes = std::move(value); }
605 
610  inline RegisterTaskDefinitionRequest& WithVolumes(const Aws::Vector<Volume>& value) { SetVolumes(value); return *this;}
611 
616  inline RegisterTaskDefinitionRequest& WithVolumes(Aws::Vector<Volume>&& value) { SetVolumes(std::move(value)); return *this;}
617 
622  inline RegisterTaskDefinitionRequest& AddVolumes(const Volume& value) { m_volumesHasBeenSet = true; m_volumes.push_back(value); return *this; }
623 
628  inline RegisterTaskDefinitionRequest& AddVolumes(Volume&& value) { m_volumesHasBeenSet = true; m_volumes.push_back(std::move(value)); return *this; }
629 
630 
636  inline const Aws::Vector<TaskDefinitionPlacementConstraint>& GetPlacementConstraints() const{ return m_placementConstraints; }
637 
643  inline bool PlacementConstraintsHasBeenSet() const { return m_placementConstraintsHasBeenSet; }
644 
650  inline void SetPlacementConstraints(const Aws::Vector<TaskDefinitionPlacementConstraint>& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = value; }
651 
657  inline void SetPlacementConstraints(Aws::Vector<TaskDefinitionPlacementConstraint>&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints = std::move(value); }
658 
664  inline RegisterTaskDefinitionRequest& WithPlacementConstraints(const Aws::Vector<TaskDefinitionPlacementConstraint>& value) { SetPlacementConstraints(value); return *this;}
665 
671  inline RegisterTaskDefinitionRequest& WithPlacementConstraints(Aws::Vector<TaskDefinitionPlacementConstraint>&& value) { SetPlacementConstraints(std::move(value)); return *this;}
672 
678  inline RegisterTaskDefinitionRequest& AddPlacementConstraints(const TaskDefinitionPlacementConstraint& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(value); return *this; }
679 
685  inline RegisterTaskDefinitionRequest& AddPlacementConstraints(TaskDefinitionPlacementConstraint&& value) { m_placementConstraintsHasBeenSet = true; m_placementConstraints.push_back(std::move(value)); return *this; }
686 
687 
694  inline const Aws::Vector<Compatibility>& GetRequiresCompatibilities() const{ return m_requiresCompatibilities; }
695 
702  inline bool RequiresCompatibilitiesHasBeenSet() const { return m_requiresCompatibilitiesHasBeenSet; }
703 
710  inline void SetRequiresCompatibilities(const Aws::Vector<Compatibility>& value) { m_requiresCompatibilitiesHasBeenSet = true; m_requiresCompatibilities = value; }
711 
718  inline void SetRequiresCompatibilities(Aws::Vector<Compatibility>&& value) { m_requiresCompatibilitiesHasBeenSet = true; m_requiresCompatibilities = std::move(value); }
719 
726  inline RegisterTaskDefinitionRequest& WithRequiresCompatibilities(const Aws::Vector<Compatibility>& value) { SetRequiresCompatibilities(value); return *this;}
727 
734  inline RegisterTaskDefinitionRequest& WithRequiresCompatibilities(Aws::Vector<Compatibility>&& value) { SetRequiresCompatibilities(std::move(value)); return *this;}
735 
742  inline RegisterTaskDefinitionRequest& AddRequiresCompatibilities(const Compatibility& value) { m_requiresCompatibilitiesHasBeenSet = true; m_requiresCompatibilities.push_back(value); return *this; }
743 
750  inline RegisterTaskDefinitionRequest& AddRequiresCompatibilities(Compatibility&& value) { m_requiresCompatibilitiesHasBeenSet = true; m_requiresCompatibilities.push_back(std::move(value)); return *this; }
751 
752 
776  inline const Aws::String& GetCpu() const{ return m_cpu; }
777 
801  inline bool CpuHasBeenSet() const { return m_cpuHasBeenSet; }
802 
826  inline void SetCpu(const Aws::String& value) { m_cpuHasBeenSet = true; m_cpu = value; }
827 
851  inline void SetCpu(Aws::String&& value) { m_cpuHasBeenSet = true; m_cpu = std::move(value); }
852 
876  inline void SetCpu(const char* value) { m_cpuHasBeenSet = true; m_cpu.assign(value); }
877 
901  inline RegisterTaskDefinitionRequest& WithCpu(const Aws::String& value) { SetCpu(value); return *this;}
902 
926  inline RegisterTaskDefinitionRequest& WithCpu(Aws::String&& value) { SetCpu(std::move(value)); return *this;}
927 
951  inline RegisterTaskDefinitionRequest& WithCpu(const char* value) { SetCpu(value); return *this;}
952 
953 
975  inline const Aws::String& GetMemory() const{ return m_memory; }
976 
998  inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; }
999 
1021  inline void SetMemory(const Aws::String& value) { m_memoryHasBeenSet = true; m_memory = value; }
1022 
1044  inline void SetMemory(Aws::String&& value) { m_memoryHasBeenSet = true; m_memory = std::move(value); }
1045 
1067  inline void SetMemory(const char* value) { m_memoryHasBeenSet = true; m_memory.assign(value); }
1068 
1090  inline RegisterTaskDefinitionRequest& WithMemory(const Aws::String& value) { SetMemory(value); return *this;}
1091 
1113  inline RegisterTaskDefinitionRequest& WithMemory(Aws::String&& value) { SetMemory(std::move(value)); return *this;}
1114 
1136  inline RegisterTaskDefinitionRequest& WithMemory(const char* value) { SetMemory(value); return *this;}
1137 
1138 
1157  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1158 
1177  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1178 
1197  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1198 
1217  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1218 
1237  inline RegisterTaskDefinitionRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1238 
1257  inline RegisterTaskDefinitionRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1258 
1277  inline RegisterTaskDefinitionRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1278 
1297  inline RegisterTaskDefinitionRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1298 
1299 
1316  inline const PidMode& GetPidMode() const{ return m_pidMode; }
1317 
1334  inline bool PidModeHasBeenSet() const { return m_pidModeHasBeenSet; }
1335 
1352  inline void SetPidMode(const PidMode& value) { m_pidModeHasBeenSet = true; m_pidMode = value; }
1353 
1370  inline void SetPidMode(PidMode&& value) { m_pidModeHasBeenSet = true; m_pidMode = std::move(value); }
1371 
1388  inline RegisterTaskDefinitionRequest& WithPidMode(const PidMode& value) { SetPidMode(value); return *this;}
1389 
1406  inline RegisterTaskDefinitionRequest& WithPidMode(PidMode&& value) { SetPidMode(std::move(value)); return *this;}
1407 
1408 
1438  inline const IpcMode& GetIpcMode() const{ return m_ipcMode; }
1439 
1469  inline bool IpcModeHasBeenSet() const { return m_ipcModeHasBeenSet; }
1470 
1500  inline void SetIpcMode(const IpcMode& value) { m_ipcModeHasBeenSet = true; m_ipcMode = value; }
1501 
1531  inline void SetIpcMode(IpcMode&& value) { m_ipcModeHasBeenSet = true; m_ipcMode = std::move(value); }
1532 
1562  inline RegisterTaskDefinitionRequest& WithIpcMode(const IpcMode& value) { SetIpcMode(value); return *this;}
1563 
1593  inline RegisterTaskDefinitionRequest& WithIpcMode(IpcMode&& value) { SetIpcMode(std::move(value)); return *this;}
1594 
1595 
1609  inline const ProxyConfiguration& GetProxyConfiguration() const{ return m_proxyConfiguration; }
1610 
1624  inline bool ProxyConfigurationHasBeenSet() const { return m_proxyConfigurationHasBeenSet; }
1625 
1639  inline void SetProxyConfiguration(const ProxyConfiguration& value) { m_proxyConfigurationHasBeenSet = true; m_proxyConfiguration = value; }
1640 
1654  inline void SetProxyConfiguration(ProxyConfiguration&& value) { m_proxyConfigurationHasBeenSet = true; m_proxyConfiguration = std::move(value); }
1655 
1669  inline RegisterTaskDefinitionRequest& WithProxyConfiguration(const ProxyConfiguration& value) { SetProxyConfiguration(value); return *this;}
1670 
1684  inline RegisterTaskDefinitionRequest& WithProxyConfiguration(ProxyConfiguration&& value) { SetProxyConfiguration(std::move(value)); return *this;}
1685 
1686 
1690  inline const Aws::Vector<InferenceAccelerator>& GetInferenceAccelerators() const{ return m_inferenceAccelerators; }
1691 
1695  inline bool InferenceAcceleratorsHasBeenSet() const { return m_inferenceAcceleratorsHasBeenSet; }
1696 
1700  inline void SetInferenceAccelerators(const Aws::Vector<InferenceAccelerator>& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators = value; }
1701 
1705  inline void SetInferenceAccelerators(Aws::Vector<InferenceAccelerator>&& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators = std::move(value); }
1706 
1710  inline RegisterTaskDefinitionRequest& WithInferenceAccelerators(const Aws::Vector<InferenceAccelerator>& value) { SetInferenceAccelerators(value); return *this;}
1711 
1715  inline RegisterTaskDefinitionRequest& WithInferenceAccelerators(Aws::Vector<InferenceAccelerator>&& value) { SetInferenceAccelerators(std::move(value)); return *this;}
1716 
1720  inline RegisterTaskDefinitionRequest& AddInferenceAccelerators(const InferenceAccelerator& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators.push_back(value); return *this; }
1721 
1725  inline RegisterTaskDefinitionRequest& AddInferenceAccelerators(InferenceAccelerator&& value) { m_inferenceAcceleratorsHasBeenSet = true; m_inferenceAccelerators.push_back(std::move(value)); return *this; }
1726 
1727 
1737  inline const EphemeralStorage& GetEphemeralStorage() const{ return m_ephemeralStorage; }
1738 
1748  inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
1749 
1759  inline void SetEphemeralStorage(const EphemeralStorage& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = value; }
1760 
1770  inline void SetEphemeralStorage(EphemeralStorage&& value) { m_ephemeralStorageHasBeenSet = true; m_ephemeralStorage = std::move(value); }
1771 
1781  inline RegisterTaskDefinitionRequest& WithEphemeralStorage(const EphemeralStorage& value) { SetEphemeralStorage(value); return *this;}
1782 
1792  inline RegisterTaskDefinitionRequest& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;}
1793 
1794  private:
1795 
1796  Aws::String m_family;
1797  bool m_familyHasBeenSet;
1798 
1799  Aws::String m_taskRoleArn;
1800  bool m_taskRoleArnHasBeenSet;
1801 
1802  Aws::String m_executionRoleArn;
1803  bool m_executionRoleArnHasBeenSet;
1804 
1805  NetworkMode m_networkMode;
1806  bool m_networkModeHasBeenSet;
1807 
1808  Aws::Vector<ContainerDefinition> m_containerDefinitions;
1809  bool m_containerDefinitionsHasBeenSet;
1810 
1811  Aws::Vector<Volume> m_volumes;
1812  bool m_volumesHasBeenSet;
1813 
1814  Aws::Vector<TaskDefinitionPlacementConstraint> m_placementConstraints;
1815  bool m_placementConstraintsHasBeenSet;
1816 
1817  Aws::Vector<Compatibility> m_requiresCompatibilities;
1818  bool m_requiresCompatibilitiesHasBeenSet;
1819 
1820  Aws::String m_cpu;
1821  bool m_cpuHasBeenSet;
1822 
1823  Aws::String m_memory;
1824  bool m_memoryHasBeenSet;
1825 
1826  Aws::Vector<Tag> m_tags;
1827  bool m_tagsHasBeenSet;
1828 
1829  PidMode m_pidMode;
1830  bool m_pidModeHasBeenSet;
1831 
1832  IpcMode m_ipcMode;
1833  bool m_ipcModeHasBeenSet;
1834 
1835  ProxyConfiguration m_proxyConfiguration;
1836  bool m_proxyConfigurationHasBeenSet;
1837 
1838  Aws::Vector<InferenceAccelerator> m_inferenceAccelerators;
1839  bool m_inferenceAcceleratorsHasBeenSet;
1840 
1841  EphemeralStorage m_ephemeralStorage;
1842  bool m_ephemeralStorageHasBeenSet;
1843  };
1844 
1845 } // namespace Model
1846 } // namespace ECS
1847 } // namespace Aws
ProxyConfiguration.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetIpcMode
void SetIpcMode(IpcMode &&value)
Definition: RegisterTaskDefinitionRequest.h:1531
Aws::ECS::Model::RegisterTaskDefinitionRequest::PidModeHasBeenSet
bool PidModeHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:1334
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithEphemeralStorage
RegisterTaskDefinitionRequest & WithEphemeralStorage(const EphemeralStorage &value)
Definition: RegisterTaskDefinitionRequest.h:1781
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetProxyConfiguration
const ProxyConfiguration & GetProxyConfiguration() const
Definition: RegisterTaskDefinitionRequest.h:1609
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetTaskRoleArn
void SetTaskRoleArn(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:150
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetTaskRoleArn
void SetTaskRoleArn(const char *value)
Definition: RegisterTaskDefinitionRequest.h:170
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithTaskRoleArn
RegisterTaskDefinitionRequest & WithTaskRoleArn(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:180
Aws::ECS::Model::RegisterTaskDefinitionRequest::ContainerDefinitionsHasBeenSet
bool ContainerDefinitionsHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:543
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetContainerDefinitions
const Aws::Vector< ContainerDefinition > & GetContainerDefinitions() const
Definition: RegisterTaskDefinitionRequest.h:537
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetCpu
void SetCpu(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:851
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithTags
RegisterTaskDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: RegisterTaskDefinitionRequest.h:1237
IpcMode.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetEphemeralStorage
void SetEphemeralStorage(EphemeralStorage &&value)
Definition: RegisterTaskDefinitionRequest.h:1770
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::InferenceAccelerator
Definition: InferenceAccelerator.h:35
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetContainerDefinitions
void SetContainerDefinitions(Aws::Vector< ContainerDefinition > &&value)
Definition: RegisterTaskDefinitionRequest.h:555
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddVolumes
RegisterTaskDefinitionRequest & AddVolumes(Volume &&value)
Definition: RegisterTaskDefinitionRequest.h:628
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddRequiresCompatibilities
RegisterTaskDefinitionRequest & AddRequiresCompatibilities(const Compatibility &value)
Definition: RegisterTaskDefinitionRequest.h:742
Aws::ECS::Model::RegisterTaskDefinitionRequest
Definition: RegisterTaskDefinitionRequest.h:34
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithProxyConfiguration
RegisterTaskDefinitionRequest & WithProxyConfiguration(const ProxyConfiguration &value)
Definition: RegisterTaskDefinitionRequest.h:1669
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddRequiresCompatibilities
RegisterTaskDefinitionRequest & AddRequiresCompatibilities(Compatibility &&value)
Definition: RegisterTaskDefinitionRequest.h:750
InferenceAccelerator.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetProxyConfiguration
void SetProxyConfiguration(ProxyConfiguration &&value)
Definition: RegisterTaskDefinitionRequest.h:1654
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddContainerDefinitions
RegisterTaskDefinitionRequest & AddContainerDefinitions(const ContainerDefinition &value)
Definition: RegisterTaskDefinitionRequest.h:573
Aws::ECS::Model::Compatibility
Compatibility
Definition: Compatibility.h:17
Aws::ECS::Model::TaskDefinitionPlacementConstraint
Definition: TaskDefinitionPlacementConstraint.h:38
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithPlacementConstraints
RegisterTaskDefinitionRequest & WithPlacementConstraints(Aws::Vector< TaskDefinitionPlacementConstraint > &&value)
Definition: RegisterTaskDefinitionRequest.h:671
Tag.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetInferenceAccelerators
void SetInferenceAccelerators(const Aws::Vector< InferenceAccelerator > &value)
Definition: RegisterTaskDefinitionRequest.h:1700
Aws::ECS::Model::RegisterTaskDefinitionRequest::MemoryHasBeenSet
bool MemoryHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:998
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetMemory
void SetMemory(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:1044
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithVolumes
RegisterTaskDefinitionRequest & WithVolumes(Aws::Vector< Volume > &&value)
Definition: RegisterTaskDefinitionRequest.h:616
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithExecutionRoleArn
RegisterTaskDefinitionRequest & WithExecutionRoleArn(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:267
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddContainerDefinitions
RegisterTaskDefinitionRequest & AddContainerDefinitions(ContainerDefinition &&value)
Definition: RegisterTaskDefinitionRequest.h:579
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddInferenceAccelerators
RegisterTaskDefinitionRequest & AddInferenceAccelerators(const InferenceAccelerator &value)
Definition: RegisterTaskDefinitionRequest.h:1720
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: RegisterTaskDefinitionRequest.h:1197
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetPidMode
const PidMode & GetPidMode() const
Definition: RegisterTaskDefinitionRequest.h:1316
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetProxyConfiguration
void SetProxyConfiguration(const ProxyConfiguration &value)
Definition: RegisterTaskDefinitionRequest.h:1639
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithMemory
RegisterTaskDefinitionRequest & WithMemory(const char *value)
Definition: RegisterTaskDefinitionRequest.h:1136
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetIpcMode
const IpcMode & GetIpcMode() const
Definition: RegisterTaskDefinitionRequest.h:1438
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetFamily
const Aws::String & GetFamily() const
Definition: RegisterTaskDefinitionRequest.h:56
Aws::ECS::Model::RegisterTaskDefinitionRequest::RegisterTaskDefinitionRequest
RegisterTaskDefinitionRequest()
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetRequiresCompatibilities
void SetRequiresCompatibilities(Aws::Vector< Compatibility > &&value)
Definition: RegisterTaskDefinitionRequest.h:718
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithRequiresCompatibilities
RegisterTaskDefinitionRequest & WithRequiresCompatibilities(Aws::Vector< Compatibility > &&value)
Definition: RegisterTaskDefinitionRequest.h:734
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetPlacementConstraints
void SetPlacementConstraints(const Aws::Vector< TaskDefinitionPlacementConstraint > &value)
Definition: RegisterTaskDefinitionRequest.h:650
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddTags
RegisterTaskDefinitionRequest & AddTags(Tag &&value)
Definition: RegisterTaskDefinitionRequest.h:1297
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithCpu
RegisterTaskDefinitionRequest & WithCpu(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:926
Aws::ECS::Model::Tag
Definition: Tag.h:47
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithCpu
RegisterTaskDefinitionRequest & WithCpu(const char *value)
Definition: RegisterTaskDefinitionRequest.h:951
Aws::ECS::Model::ProxyConfiguration
Definition: ProxyConfiguration.h:43
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetCpu
void SetCpu(const char *value)
Definition: RegisterTaskDefinitionRequest.h:876
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetFamily
void SetFamily(const char *value)
Definition: RegisterTaskDefinitionRequest.h:92
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddVolumes
RegisterTaskDefinitionRequest & AddVolumes(const Volume &value)
Definition: RegisterTaskDefinitionRequest.h:622
Compatibility.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::VolumesHasBeenSet
bool VolumesHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:592
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithEphemeralStorage
RegisterTaskDefinitionRequest & WithEphemeralStorage(EphemeralStorage &&value)
Definition: RegisterTaskDefinitionRequest.h:1792
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetNetworkMode
void SetNetworkMode(NetworkMode &&value)
Definition: RegisterTaskDefinitionRequest.h:450
PidMode.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetPlacementConstraints
void SetPlacementConstraints(Aws::Vector< TaskDefinitionPlacementConstraint > &&value)
Definition: RegisterTaskDefinitionRequest.h:657
Aws::ECS::Model::Volume
Definition: Volume.h:45
Aws::ECS::Model::RegisterTaskDefinitionRequest::NetworkModeHasBeenSet
bool NetworkModeHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:370
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: RegisterTaskDefinitionRequest.h:1157
Aws::ECS::Model::PidMode
PidMode
Definition: PidMode.h:17
Aws::ECS::ECSRequest
Definition: ECSRequest.h:17
Aws::ECS::Model::RegisterTaskDefinitionRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:1177
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithFamily
RegisterTaskDefinitionRequest & WithFamily(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:101
Aws::ECS::Model::RegisterTaskDefinitionRequest::CpuHasBeenSet
bool CpuHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:801
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetNetworkMode
void SetNetworkMode(const NetworkMode &value)
Definition: RegisterTaskDefinitionRequest.h:410
Aws::ECS::Model::EphemeralStorage
Definition: EphemeralStorage.h:37
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetIpcMode
void SetIpcMode(const IpcMode &value)
Definition: RegisterTaskDefinitionRequest.h:1500
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithNetworkMode
RegisterTaskDefinitionRequest & WithNetworkMode(NetworkMode &&value)
Definition: RegisterTaskDefinitionRequest.h:530
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetInferenceAccelerators
void SetInferenceAccelerators(Aws::Vector< InferenceAccelerator > &&value)
Definition: RegisterTaskDefinitionRequest.h:1705
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddTags
RegisterTaskDefinitionRequest & AddTags(const Tag &value)
Definition: RegisterTaskDefinitionRequest.h:1277
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddInferenceAccelerators
RegisterTaskDefinitionRequest & AddInferenceAccelerators(InferenceAccelerator &&value)
Definition: RegisterTaskDefinitionRequest.h:1725
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetExecutionRoleArn
void SetExecutionRoleArn(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:234
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetFamily
void SetFamily(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:83
Aws::ECS::Model::RegisterTaskDefinitionRequest::EphemeralStorageHasBeenSet
bool EphemeralStorageHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:1748
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetInferenceAccelerators
const Aws::Vector< InferenceAccelerator > & GetInferenceAccelerators() const
Definition: RegisterTaskDefinitionRequest.h:1690
AWSString.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::RequiresCompatibilitiesHasBeenSet
bool RequiresCompatibilitiesHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:702
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithPidMode
RegisterTaskDefinitionRequest & WithPidMode(PidMode &&value)
Definition: RegisterTaskDefinitionRequest.h:1406
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetCpu
void SetCpu(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:826
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithProxyConfiguration
RegisterTaskDefinitionRequest & WithProxyConfiguration(ProxyConfiguration &&value)
Definition: RegisterTaskDefinitionRequest.h:1684
Aws::ECS::Model::RegisterTaskDefinitionRequest::IpcModeHasBeenSet
bool IpcModeHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:1469
Aws::ECS::Model::ContainerDefinition
Definition: ContainerDefinition.h:51
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithInferenceAccelerators
RegisterTaskDefinitionRequest & WithInferenceAccelerators(Aws::Vector< InferenceAccelerator > &&value)
Definition: RegisterTaskDefinitionRequest.h:1715
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetExecutionRoleArn
void SetExecutionRoleArn(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:245
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetPidMode
void SetPidMode(const PidMode &value)
Definition: RegisterTaskDefinitionRequest.h:1352
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetNetworkMode
const NetworkMode & GetNetworkMode() const
Definition: RegisterTaskDefinitionRequest.h:330
Aws::ECS::Model::IpcMode
IpcMode
Definition: IpcMode.h:17
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetTaskRoleArn
const Aws::String & GetTaskRoleArn() const
Definition: RegisterTaskDefinitionRequest.h:130
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithContainerDefinitions
RegisterTaskDefinitionRequest & WithContainerDefinitions(const Aws::Vector< ContainerDefinition > &value)
Definition: RegisterTaskDefinitionRequest.h:561
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetRequiresCompatibilities
const Aws::Vector< Compatibility > & GetRequiresCompatibilities() const
Definition: RegisterTaskDefinitionRequest.h:694
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetEphemeralStorage
const EphemeralStorage & GetEphemeralStorage() const
Definition: RegisterTaskDefinitionRequest.h:1737
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetContainerDefinitions
void SetContainerDefinitions(const Aws::Vector< ContainerDefinition > &value)
Definition: RegisterTaskDefinitionRequest.h:549
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetVolumes
void SetVolumes(const Aws::Vector< Volume > &value)
Definition: RegisterTaskDefinitionRequest.h:598
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithMemory
RegisterTaskDefinitionRequest & WithMemory(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:1113
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddPlacementConstraints
RegisterTaskDefinitionRequest & AddPlacementConstraints(TaskDefinitionPlacementConstraint &&value)
Definition: RegisterTaskDefinitionRequest.h:685
EphemeralStorage.h
NetworkMode.h
TaskDefinitionPlacementConstraint.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetPidMode
void SetPidMode(PidMode &&value)
Definition: RegisterTaskDefinitionRequest.h:1370
Aws::ECS::Model::NetworkMode
NetworkMode
Definition: NetworkMode.h:17
Aws::ECS::Model::RegisterTaskDefinitionRequest::FamilyHasBeenSet
bool FamilyHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:65
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RegisterTaskDefinitionRequest.h:42
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithPidMode
RegisterTaskDefinitionRequest & WithPidMode(const PidMode &value)
Definition: RegisterTaskDefinitionRequest.h:1388
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithIpcMode
RegisterTaskDefinitionRequest & WithIpcMode(IpcMode &&value)
Definition: RegisterTaskDefinitionRequest.h:1593
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetMemory
const Aws::String & GetMemory() const
Definition: RegisterTaskDefinitionRequest.h:975
ContainerDefinition.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetRequiresCompatibilities
void SetRequiresCompatibilities(const Aws::Vector< Compatibility > &value)
Definition: RegisterTaskDefinitionRequest.h:710
Aws::ECS::Model::RegisterTaskDefinitionRequest::ExecutionRoleArnHasBeenSet
bool ExecutionRoleArnHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:223
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithTaskRoleArn
RegisterTaskDefinitionRequest & WithTaskRoleArn(const char *value)
Definition: RegisterTaskDefinitionRequest.h:200
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetPlacementConstraints
const Aws::Vector< TaskDefinitionPlacementConstraint > & GetPlacementConstraints() const
Definition: RegisterTaskDefinitionRequest.h:636
Aws::ECS::Model::RegisterTaskDefinitionRequest::InferenceAcceleratorsHasBeenSet
bool InferenceAcceleratorsHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:1695
Aws::ECS::Model::RegisterTaskDefinitionRequest::ProxyConfigurationHasBeenSet
bool ProxyConfigurationHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:1624
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetFamily
void SetFamily(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:74
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithInferenceAccelerators
RegisterTaskDefinitionRequest & WithInferenceAccelerators(const Aws::Vector< InferenceAccelerator > &value)
Definition: RegisterTaskDefinitionRequest.h:1710
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithTaskRoleArn
RegisterTaskDefinitionRequest & WithTaskRoleArn(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:190
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: RegisterTaskDefinitionRequest.h:1217
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithExecutionRoleArn
RegisterTaskDefinitionRequest & WithExecutionRoleArn(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:278
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetVolumes
void SetVolumes(Aws::Vector< Volume > &&value)
Definition: RegisterTaskDefinitionRequest.h:604
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithMemory
RegisterTaskDefinitionRequest & WithMemory(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:1090
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithVolumes
RegisterTaskDefinitionRequest & WithVolumes(const Aws::Vector< Volume > &value)
Definition: RegisterTaskDefinitionRequest.h:610
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetTaskRoleArn
void SetTaskRoleArn(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetExecutionRoleArn
const Aws::String & GetExecutionRoleArn() const
Definition: RegisterTaskDefinitionRequest.h:212
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithPlacementConstraints
RegisterTaskDefinitionRequest & WithPlacementConstraints(const Aws::Vector< TaskDefinitionPlacementConstraint > &value)
Definition: RegisterTaskDefinitionRequest.h:664
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetEphemeralStorage
void SetEphemeralStorage(const EphemeralStorage &value)
Definition: RegisterTaskDefinitionRequest.h:1759
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithFamily
RegisterTaskDefinitionRequest & WithFamily(Aws::String &&value)
Definition: RegisterTaskDefinitionRequest.h:110
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithContainerDefinitions
RegisterTaskDefinitionRequest & WithContainerDefinitions(Aws::Vector< ContainerDefinition > &&value)
Definition: RegisterTaskDefinitionRequest.h:567
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetCpu
const Aws::String & GetCpu() const
Definition: RegisterTaskDefinitionRequest.h:776
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithNetworkMode
RegisterTaskDefinitionRequest & WithNetworkMode(const NetworkMode &value)
Definition: RegisterTaskDefinitionRequest.h:490
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithTags
RegisterTaskDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: RegisterTaskDefinitionRequest.h:1257
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetMemory
void SetMemory(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:1021
Aws::ECS::Model::RegisterTaskDefinitionRequest::PlacementConstraintsHasBeenSet
bool PlacementConstraintsHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:643
Aws::ECS::Model::RegisterTaskDefinitionRequest::GetVolumes
const Aws::Vector< Volume > & GetVolumes() const
Definition: RegisterTaskDefinitionRequest.h:586
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithCpu
RegisterTaskDefinitionRequest & WithCpu(const Aws::String &value)
Definition: RegisterTaskDefinitionRequest.h:901
Aws::ECS::Model::RegisterTaskDefinitionRequest::TaskRoleArnHasBeenSet
bool TaskRoleArnHasBeenSet() const
Definition: RegisterTaskDefinitionRequest.h:140
Aws::ECS::Model::RegisterTaskDefinitionRequest::AddPlacementConstraints
RegisterTaskDefinitionRequest & AddPlacementConstraints(const TaskDefinitionPlacementConstraint &value)
Definition: RegisterTaskDefinitionRequest.h:678
Aws::ECS::Model::RegisterTaskDefinitionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetMemory
void SetMemory(const char *value)
Definition: RegisterTaskDefinitionRequest.h:1067
Aws::ECS::Model::RegisterTaskDefinitionRequest::SetExecutionRoleArn
void SetExecutionRoleArn(const char *value)
Definition: RegisterTaskDefinitionRequest.h:256
Volume.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithExecutionRoleArn
RegisterTaskDefinitionRequest & WithExecutionRoleArn(const char *value)
Definition: RegisterTaskDefinitionRequest.h:289
ECS_EXPORTS.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithIpcMode
RegisterTaskDefinitionRequest & WithIpcMode(const IpcMode &value)
Definition: RegisterTaskDefinitionRequest.h:1562
ECSRequest.h
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithFamily
RegisterTaskDefinitionRequest & WithFamily(const char *value)
Definition: RegisterTaskDefinitionRequest.h:119
Aws::ECS::Model::RegisterTaskDefinitionRequest::WithRequiresCompatibilities
RegisterTaskDefinitionRequest & WithRequiresCompatibilities(const Aws::Vector< Compatibility > &value)
Definition: RegisterTaskDefinitionRequest.h:726