7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/Container.h>
12#include <aws/guardduty/model/Tag.h>
13#include <aws/guardduty/model/Volume.h>
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
64 template <
typename DefinitionArnT = Aws::String>
66 m_definitionArnHasBeenSet =
true;
67 m_definitionArn = std::forward<DefinitionArnT>(value);
69 template <
typename DefinitionArnT = Aws::String>
82 template <
typename VersionT = Aws::String>
84 m_versionHasBeenSet =
true;
85 m_version = std::forward<VersionT>(value);
87 template <
typename VersionT = Aws::String>
100 template <
typename TaskCreatedAtT = Aws::Utils::DateTime>
102 m_taskCreatedAtHasBeenSet =
true;
103 m_taskCreatedAt = std::forward<TaskCreatedAtT>(value);
105 template <
typename TaskCreatedAtT = Aws::Utils::DateTime>
118 template <
typename StartedAtT = Aws::Utils::DateTime>
120 m_startedAtHasBeenSet =
true;
121 m_startedAt = std::forward<StartedAtT>(value);
123 template <
typename StartedAtT = Aws::Utils::DateTime>
136 template <
typename StartedByT = Aws::String>
138 m_startedByHasBeenSet =
true;
139 m_startedBy = std::forward<StartedByT>(value);
141 template <
typename StartedByT = Aws::String>
154 template <
typename TagsT = Aws::Vector<Tag>>
156 m_tagsHasBeenSet =
true;
157 m_tags = std::forward<TagsT>(value);
159 template <
typename TagsT = Aws::Vector<Tag>>
161 SetTags(std::forward<TagsT>(value));
164 template <
typename TagsT = Tag>
166 m_tagsHasBeenSet =
true;
167 m_tags.emplace_back(std::forward<TagsT>(value));
178 template <
typename VolumesT = Aws::Vector<Volume>>
180 m_volumesHasBeenSet =
true;
181 m_volumes = std::forward<VolumesT>(value);
183 template <
typename VolumesT = Aws::Vector<Volume>>
188 template <
typename VolumesT = Volume>
190 m_volumesHasBeenSet =
true;
191 m_volumes.emplace_back(std::forward<VolumesT>(value));
202 template <
typename ContainersT = Aws::Vector<Container>>
204 m_containersHasBeenSet =
true;
205 m_containers = std::forward<ContainersT>(value);
207 template <
typename ContainersT = Aws::Vector<Container>>
212 template <
typename ContainersT = Container>
214 m_containersHasBeenSet =
true;
215 m_containers.emplace_back(std::forward<ContainersT>(value));
226 template <
typename GroupT = Aws::String>
228 m_groupHasBeenSet =
true;
229 m_group = std::forward<GroupT>(value);
231 template <
typename GroupT = Aws::String>
233 SetGroup(std::forward<GroupT>(value));
245 template <
typename LaunchTypeT = Aws::String>
247 m_launchTypeHasBeenSet =
true;
248 m_launchType = std::forward<LaunchTypeT>(value);
250 template <
typename LaunchTypeT = Aws::String>
278 bool m_arnHasBeenSet =
false;
279 bool m_definitionArnHasBeenSet =
false;
280 bool m_versionHasBeenSet =
false;
281 bool m_taskCreatedAtHasBeenSet =
false;
282 bool m_startedAtHasBeenSet =
false;
283 bool m_startedByHasBeenSet =
false;
284 bool m_tagsHasBeenSet =
false;
285 bool m_volumesHasBeenSet =
false;
286 bool m_containersHasBeenSet =
false;
287 bool m_groupHasBeenSet =
false;
288 bool m_launchTypeHasBeenSet =
false;
bool VersionHasBeenSet() const
void SetGroup(GroupT &&value)
bool VolumesHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVersion(VersionT &&value)
void SetDefinitionArn(DefinitionArnT &&value)
bool DefinitionArnHasBeenSet() const
bool TagsHasBeenSet() const
EcsTaskDetails & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetLaunchType() const
const Aws::String & GetDefinitionArn() const
EcsTaskDetails & AddContainers(ContainersT &&value)
EcsTaskDetails & WithVolumes(VolumesT &&value)
EcsTaskDetails & WithStartedAt(StartedAtT &&value)
void SetTags(TagsT &&value)
bool ContainersHasBeenSet() const
bool ArnHasBeenSet() const
EcsTaskDetails & WithDefinitionArn(DefinitionArnT &&value)
EcsTaskDetails & AddTags(TagsT &&value)
void SetTaskCreatedAt(TaskCreatedAtT &&value)
EcsTaskDetails & WithContainers(ContainersT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::Vector< Container > & GetContainers() const
const Aws::String & GetGroup() const
EcsTaskDetails & WithVersion(VersionT &&value)
EcsTaskDetails & WithStartedBy(StartedByT &&value)
bool StartedAtHasBeenSet() const
EcsTaskDetails & AddVolumes(VolumesT &&value)
bool StartedByHasBeenSet() const
EcsTaskDetails & WithGroup(GroupT &&value)
const Aws::String & GetStartedBy() const
const Aws::Utils::DateTime & GetTaskCreatedAt() const
bool GroupHasBeenSet() const
EcsTaskDetails & WithTaskCreatedAt(TaskCreatedAtT &&value)
void SetStartedBy(StartedByT &&value)
bool TaskCreatedAtHasBeenSet() const
void SetContainers(ContainersT &&value)
AWS_GUARDDUTY_API EcsTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API EcsTaskDetails()=default
EcsTaskDetails & WithArn(ArnT &&value)
void SetLaunchType(LaunchTypeT &&value)
EcsTaskDetails & WithLaunchType(LaunchTypeT &&value)
const Aws::Vector< Volume > & GetVolumes() const
AWS_GUARDDUTY_API EcsTaskDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
void SetVolumes(VolumesT &&value)
bool LaunchTypeHasBeenSet() const
const Aws::String & GetArn() const
void SetStartedAt(StartedAtT &&value)
void SetArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue