7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/guardduty/model/Tag.h>
12#include <aws/guardduty/model/Volume.h>
13#include <aws/guardduty/model/Container.h>
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename DefinitionArnT = Aws::String>
65 void SetDefinitionArn(DefinitionArnT&& value) { m_definitionArnHasBeenSet =
true; m_definitionArn = std::forward<DefinitionArnT>(value); }
66 template<
typename DefinitionArnT = Aws::String>
76 template<
typename VersionT = Aws::String>
77 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
78 template<
typename VersionT = Aws::String>
88 template<
typename TaskCreatedAtT = Aws::Utils::DateTime>
89 void SetTaskCreatedAt(TaskCreatedAtT&& value) { m_taskCreatedAtHasBeenSet =
true; m_taskCreatedAt = std::forward<TaskCreatedAtT>(value); }
90 template<
typename TaskCreatedAtT = Aws::Utils::DateTime>
100 template<
typename StartedAtT = Aws::Utils::DateTime>
101 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
102 template<
typename StartedAtT = Aws::Utils::DateTime>
112 template<
typename StartedByT = Aws::String>
113 void SetStartedBy(StartedByT&& value) { m_startedByHasBeenSet =
true; m_startedBy = std::forward<StartedByT>(value); }
114 template<
typename StartedByT = Aws::String>
124 template<
typename TagsT = Aws::Vector<Tag>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Vector<Tag>>
128 template<
typename TagsT = Tag>
129 EcsTaskDetails&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
138 template<
typename VolumesT = Aws::Vector<Volume>>
139 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
140 template<
typename VolumesT = Aws::Vector<Volume>>
142 template<
typename VolumesT = Volume>
143 EcsTaskDetails&
AddVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes.emplace_back(std::forward<VolumesT>(value));
return *
this; }
152 template<
typename ContainersT = Aws::Vector<Container>>
153 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
154 template<
typename ContainersT = Aws::Vector<Container>>
156 template<
typename ContainersT = Container>
157 EcsTaskDetails&
AddContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers.emplace_back(std::forward<ContainersT>(value));
return *
this; }
166 template<
typename GroupT = Aws::String>
167 void SetGroup(GroupT&& value) { m_groupHasBeenSet =
true; m_group = std::forward<GroupT>(value); }
168 template<
typename GroupT = Aws::String>
179 template<
typename LaunchTypeT = Aws::String>
180 void SetLaunchType(LaunchTypeT&& value) { m_launchTypeHasBeenSet =
true; m_launchType = std::forward<LaunchTypeT>(value); }
181 template<
typename LaunchTypeT = Aws::String>
187 bool m_arnHasBeenSet =
false;
190 bool m_definitionArnHasBeenSet =
false;
193 bool m_versionHasBeenSet =
false;
196 bool m_taskCreatedAtHasBeenSet =
false;
199 bool m_startedAtHasBeenSet =
false;
202 bool m_startedByHasBeenSet =
false;
205 bool m_tagsHasBeenSet =
false;
208 bool m_volumesHasBeenSet =
false;
211 bool m_containersHasBeenSet =
false;
214 bool m_groupHasBeenSet =
false;
217 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