7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECSRequest.h>
10#include <aws/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/DaemonContainerDefinition.h>
12#include <aws/ecs/model/DaemonVolume.h>
13#include <aws/ecs/model/Tag.h>
45 template <
typename FamilyT = Aws::String>
47 m_familyHasBeenSet =
true;
48 m_family = std::forward<FamilyT>(value);
50 template <
typename FamilyT = Aws::String>
65 template <
typename TaskRoleArnT = Aws::String>
67 m_taskRoleArnHasBeenSet =
true;
68 m_taskRoleArn = std::forward<TaskRoleArnT>(value);
70 template <
typename TaskRoleArnT = Aws::String>
86 template <
typename ExecutionRoleArnT = Aws::String>
88 m_executionRoleArnHasBeenSet =
true;
89 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
91 template <
typename ExecutionRoleArnT = Aws::String>
105 template <
typename ContainerDefinitionsT = Aws::Vector<DaemonContainerDefinition>>
107 m_containerDefinitionsHasBeenSet =
true;
108 m_containerDefinitions = std::forward<ContainerDefinitionsT>(value);
110 template <
typename ContainerDefinitionsT = Aws::Vector<DaemonContainerDefinition>>
115 template <
typename ContainerDefinitionsT = DaemonContainerDefinition>
117 m_containerDefinitionsHasBeenSet =
true;
118 m_containerDefinitions.emplace_back(std::forward<ContainerDefinitionsT>(value));
130 template <
typename CpuT = Aws::String>
132 m_cpuHasBeenSet =
true;
133 m_cpu = std::forward<CpuT>(value);
135 template <
typename CpuT = Aws::String>
137 SetCpu(std::forward<CpuT>(value));
149 template <
typename MemoryT = Aws::String>
151 m_memoryHasBeenSet =
true;
152 m_memory = std::forward<MemoryT>(value);
154 template <
typename MemoryT = Aws::String>
168 template <
typename VolumesT = Aws::Vector<DaemonVolume>>
170 m_volumesHasBeenSet =
true;
171 m_volumes = std::forward<VolumesT>(value);
173 template <
typename VolumesT = Aws::Vector<DaemonVolume>>
178 template <
typename VolumesT = DaemonVolume>
180 m_volumesHasBeenSet =
true;
181 m_volumes.emplace_back(std::forward<VolumesT>(value));
208 template <
typename TagsT = Aws::Vector<Tag>>
210 m_tagsHasBeenSet =
true;
211 m_tags = std::forward<TagsT>(value);
213 template <
typename TagsT = Aws::Vector<Tag>>
215 SetTags(std::forward<TagsT>(value));
218 template <
typename TagsT = Tag>
220 m_tagsHasBeenSet =
true;
221 m_tags.emplace_back(std::forward<TagsT>(value));
241 bool m_familyHasBeenSet =
false;
242 bool m_taskRoleArnHasBeenSet =
false;
243 bool m_executionRoleArnHasBeenSet =
false;
244 bool m_containerDefinitionsHasBeenSet =
false;
245 bool m_cpuHasBeenSet =
false;
246 bool m_memoryHasBeenSet =
false;
247 bool m_volumesHasBeenSet =
false;
248 bool m_tagsHasBeenSet =
false;
bool MemoryHasBeenSet() const
RegisterDaemonTaskDefinitionRequest & WithMemory(MemoryT &&value)
bool VolumesHasBeenSet() const
RegisterDaemonTaskDefinitionRequest & AddContainerDefinitions(ContainerDefinitionsT &&value)
void SetMemory(MemoryT &&value)
void SetContainerDefinitions(ContainerDefinitionsT &&value)
const Aws::Vector< DaemonContainerDefinition > & GetContainerDefinitions() const
AWS_ECS_API RegisterDaemonTaskDefinitionRequest()=default
const Aws::String & GetTaskRoleArn() const
bool CpuHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
RegisterDaemonTaskDefinitionRequest & AddVolumes(VolumesT &&value)
void SetVolumes(VolumesT &&value)
bool ExecutionRoleArnHasBeenSet() const
void SetCpu(CpuT &&value)
void SetTags(TagsT &&value)
RegisterDaemonTaskDefinitionRequest & AddTags(TagsT &&value)
void SetFamily(FamilyT &&value)
RegisterDaemonTaskDefinitionRequest & WithCpu(CpuT &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RegisterDaemonTaskDefinitionRequest & WithTags(TagsT &&value)
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
const Aws::String & GetExecutionRoleArn() const
void SetTaskRoleArn(TaskRoleArnT &&value)
RegisterDaemonTaskDefinitionRequest & WithTaskRoleArn(TaskRoleArnT &&value)
bool TaskRoleArnHasBeenSet() const
AWS_ECS_API Aws::String SerializePayload() const override
RegisterDaemonTaskDefinitionRequest & WithVolumes(VolumesT &&value)
bool ContainerDefinitionsHasBeenSet() const
RegisterDaemonTaskDefinitionRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
virtual const char * GetServiceRequestName() const override
bool FamilyHasBeenSet() const
const Aws::String & GetFamily() const
const Aws::Vector< DaemonVolume > & GetVolumes() const
RegisterDaemonTaskDefinitionRequest & WithFamily(FamilyT &&value)
const Aws::String & GetMemory() const
const Aws::String & GetCpu() const
RegisterDaemonTaskDefinitionRequest & WithContainerDefinitions(ContainerDefinitionsT &&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