7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ecs/model/NetworkMode.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ecs/model/PidMode.h>
13#include <aws/ecs/model/IpcMode.h>
14#include <aws/ecs/model/ProxyConfiguration.h>
15#include <aws/ecs/model/EphemeralStorage.h>
16#include <aws/ecs/model/RuntimePlatform.h>
17#include <aws/ecs/model/ContainerDefinition.h>
18#include <aws/ecs/model/Volume.h>
19#include <aws/ecs/model/TaskDefinitionPlacementConstraint.h>
20#include <aws/ecs/model/Compatibility.h>
21#include <aws/ecs/model/Tag.h>
22#include <aws/ecs/model/InferenceAccelerator.h>
61 inline void SetFamily(
const char* value) { m_familyHasBeenSet =
true; m_family.assign(value); }
80 inline void SetTaskRoleArn(
const char* value) { m_taskRoleArnHasBeenSet =
true; m_taskRoleArn.assign(value); }
99 inline void SetExecutionRoleArn(
const char* value) { m_executionRoleArnHasBeenSet =
true; m_executionRoleArn.assign(value); }
244 inline void SetCpu(
const char* value) { m_cpuHasBeenSet =
true; m_cpu.assign(value); }
282 inline void SetMemory(
const char* value) { m_memoryHasBeenSet =
true; m_memory.assign(value); }
344 inline void SetPidMode(
PidMode&& value) { m_pidModeHasBeenSet =
true; m_pidMode = std::move(value); }
382 inline void SetIpcMode(
IpcMode&& value) { m_ipcModeHasBeenSet =
true; m_ipcMode = std::move(value); }
458 bool m_familyHasBeenSet =
false;
461 bool m_taskRoleArnHasBeenSet =
false;
464 bool m_executionRoleArnHasBeenSet =
false;
467 bool m_networkModeHasBeenSet =
false;
470 bool m_containerDefinitionsHasBeenSet =
false;
473 bool m_volumesHasBeenSet =
false;
476 bool m_placementConstraintsHasBeenSet =
false;
479 bool m_requiresCompatibilitiesHasBeenSet =
false;
482 bool m_cpuHasBeenSet =
false;
485 bool m_memoryHasBeenSet =
false;
488 bool m_tagsHasBeenSet =
false;
491 bool m_pidModeHasBeenSet =
false;
494 bool m_ipcModeHasBeenSet =
false;
497 bool m_proxyConfigurationHasBeenSet =
false;
500 bool m_inferenceAcceleratorsHasBeenSet =
false;
503 bool m_ephemeralStorageHasBeenSet =
false;
506 bool m_runtimePlatformHasBeenSet =
false;
void SetEphemeralStorage(EphemeralStorage &&value)
virtual const char * GetServiceRequestName() const override
bool VolumesHasBeenSet() const
RegisterTaskDefinitionRequest & WithPlacementConstraints(const Aws::Vector< TaskDefinitionPlacementConstraint > &value)
void SetTags(const Aws::Vector< Tag > &value)
RegisterTaskDefinitionRequest & WithMemory(const char *value)
AWS_ECS_API Aws::String SerializePayload() const override
const Aws::Vector< ContainerDefinition > & GetContainerDefinitions() const
void SetRequiresCompatibilities(Aws::Vector< Compatibility > &&value)
RegisterTaskDefinitionRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetTaskRoleArn() const
void SetRuntimePlatform(const RuntimePlatform &value)
RegisterTaskDefinitionRequest & WithProxyConfiguration(ProxyConfiguration &&value)
RegisterTaskDefinitionRequest & WithContainerDefinitions(const Aws::Vector< ContainerDefinition > &value)
const Aws::String & GetExecutionRoleArn() const
RegisterTaskDefinitionRequest & WithExecutionRoleArn(const char *value)
bool NetworkModeHasBeenSet() const
void SetInferenceAccelerators(const Aws::Vector< InferenceAccelerator > &value)
RegisterTaskDefinitionRequest & WithInferenceAccelerators(Aws::Vector< InferenceAccelerator > &&value)
RegisterTaskDefinitionRequest & WithVolumes(const Aws::Vector< Volume > &value)
bool CpuHasBeenSet() const
RegisterTaskDefinitionRequest & AddContainerDefinitions(const ContainerDefinition &value)
bool ContainerDefinitionsHasBeenSet() const
void SetContainerDefinitions(const Aws::Vector< ContainerDefinition > &value)
void SetCpu(Aws::String &&value)
void SetIpcMode(IpcMode &&value)
RegisterTaskDefinitionRequest & WithEphemeralStorage(EphemeralStorage &&value)
RegisterTaskDefinitionRequest & WithVolumes(Aws::Vector< Volume > &&value)
void SetExecutionRoleArn(Aws::String &&value)
RegisterTaskDefinitionRequest & WithEphemeralStorage(const EphemeralStorage &value)
void SetPidMode(PidMode &&value)
RegisterTaskDefinitionRequest & WithFamily(const Aws::String &value)
RegisterTaskDefinitionRequest & WithRuntimePlatform(const RuntimePlatform &value)
void SetTaskRoleArn(const char *value)
const Aws::Vector< Volume > & GetVolumes() const
AWS_ECS_API RegisterTaskDefinitionRequest()
RegisterTaskDefinitionRequest & AddInferenceAccelerators(InferenceAccelerator &&value)
bool EphemeralStorageHasBeenSet() const
bool PlacementConstraintsHasBeenSet() const
RegisterTaskDefinitionRequest & WithPidMode(PidMode &&value)
RegisterTaskDefinitionRequest & WithExecutionRoleArn(Aws::String &&value)
RegisterTaskDefinitionRequest & WithNetworkMode(const NetworkMode &value)
void SetEphemeralStorage(const EphemeralStorage &value)
void SetFamily(Aws::String &&value)
const Aws::String & GetCpu() const
const Aws::Vector< Tag > & GetTags() const
void SetInferenceAccelerators(Aws::Vector< InferenceAccelerator > &&value)
bool RuntimePlatformHasBeenSet() const
RegisterTaskDefinitionRequest & WithRequiresCompatibilities(Aws::Vector< Compatibility > &&value)
void SetProxyConfiguration(const ProxyConfiguration &value)
void SetContainerDefinitions(Aws::Vector< ContainerDefinition > &&value)
bool TaskRoleArnHasBeenSet() const
RegisterTaskDefinitionRequest & WithTags(const Aws::Vector< Tag > &value)
bool InferenceAcceleratorsHasBeenSet() const
RegisterTaskDefinitionRequest & WithCpu(Aws::String &&value)
RegisterTaskDefinitionRequest & WithInferenceAccelerators(const Aws::Vector< InferenceAccelerator > &value)
bool MemoryHasBeenSet() const
RegisterTaskDefinitionRequest & AddContainerDefinitions(ContainerDefinition &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(Aws::Vector< Tag > &&value)
RegisterTaskDefinitionRequest & WithNetworkMode(NetworkMode &&value)
RegisterTaskDefinitionRequest & AddInferenceAccelerators(const InferenceAccelerator &value)
RegisterTaskDefinitionRequest & WithExecutionRoleArn(const Aws::String &value)
RegisterTaskDefinitionRequest & AddTags(const Tag &value)
RegisterTaskDefinitionRequest & AddPlacementConstraints(TaskDefinitionPlacementConstraint &&value)
const RuntimePlatform & GetRuntimePlatform() const
const Aws::Vector< Compatibility > & GetRequiresCompatibilities() const
RegisterTaskDefinitionRequest & WithTaskRoleArn(const char *value)
RegisterTaskDefinitionRequest & WithFamily(const char *value)
RegisterTaskDefinitionRequest & WithIpcMode(const IpcMode &value)
RegisterTaskDefinitionRequest & WithMemory(const Aws::String &value)
RegisterTaskDefinitionRequest & WithProxyConfiguration(const ProxyConfiguration &value)
bool ExecutionRoleArnHasBeenSet() const
void SetNetworkMode(const NetworkMode &value)
void SetRuntimePlatform(RuntimePlatform &&value)
RegisterTaskDefinitionRequest & WithContainerDefinitions(Aws::Vector< ContainerDefinition > &&value)
void SetProxyConfiguration(ProxyConfiguration &&value)
RegisterTaskDefinitionRequest & WithIpcMode(IpcMode &&value)
RegisterTaskDefinitionRequest & WithMemory(Aws::String &&value)
void SetCpu(const char *value)
void SetPlacementConstraints(Aws::Vector< TaskDefinitionPlacementConstraint > &&value)
const Aws::Vector< InferenceAccelerator > & GetInferenceAccelerators() const
void SetTaskRoleArn(const Aws::String &value)
const PidMode & GetPidMode() const
bool TagsHasBeenSet() const
const Aws::String & GetFamily() const
const ProxyConfiguration & GetProxyConfiguration() const
RegisterTaskDefinitionRequest & AddVolumes(const Volume &value)
void SetNetworkMode(NetworkMode &&value)
RegisterTaskDefinitionRequest & WithPidMode(const PidMode &value)
bool RequiresCompatibilitiesHasBeenSet() const
const NetworkMode & GetNetworkMode() const
void SetExecutionRoleArn(const char *value)
void SetIpcMode(const IpcMode &value)
void SetFamily(const char *value)
const Aws::Vector< TaskDefinitionPlacementConstraint > & GetPlacementConstraints() const
RegisterTaskDefinitionRequest & WithPlacementConstraints(Aws::Vector< TaskDefinitionPlacementConstraint > &&value)
bool FamilyHasBeenSet() const
void SetExecutionRoleArn(const Aws::String &value)
void SetPidMode(const PidMode &value)
void SetPlacementConstraints(const Aws::Vector< TaskDefinitionPlacementConstraint > &value)
RegisterTaskDefinitionRequest & WithRuntimePlatform(RuntimePlatform &&value)
void SetCpu(const Aws::String &value)
void SetVolumes(const Aws::Vector< Volume > &value)
bool PidModeHasBeenSet() const
void SetMemory(Aws::String &&value)
bool ProxyConfigurationHasBeenSet() const
void SetRequiresCompatibilities(const Aws::Vector< Compatibility > &value)
RegisterTaskDefinitionRequest & AddRequiresCompatibilities(Compatibility &&value)
RegisterTaskDefinitionRequest & WithCpu(const char *value)
RegisterTaskDefinitionRequest & WithCpu(const Aws::String &value)
RegisterTaskDefinitionRequest & AddTags(Tag &&value)
const EphemeralStorage & GetEphemeralStorage() const
void SetMemory(const Aws::String &value)
void SetVolumes(Aws::Vector< Volume > &&value)
const IpcMode & GetIpcMode() const
const Aws::String & GetMemory() const
RegisterTaskDefinitionRequest & AddRequiresCompatibilities(const Compatibility &value)
RegisterTaskDefinitionRequest & AddVolumes(Volume &&value)
RegisterTaskDefinitionRequest & WithFamily(Aws::String &&value)
RegisterTaskDefinitionRequest & WithTaskRoleArn(Aws::String &&value)
RegisterTaskDefinitionRequest & AddPlacementConstraints(const TaskDefinitionPlacementConstraint &value)
bool IpcModeHasBeenSet() const
RegisterTaskDefinitionRequest & WithRequiresCompatibilities(const Aws::Vector< Compatibility > &value)
RegisterTaskDefinitionRequest & WithTaskRoleArn(const Aws::String &value)
void SetTaskRoleArn(Aws::String &&value)
void SetMemory(const char *value)
void SetFamily(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector