7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsEcsContainerDetails.h>
11#include <aws/securityhub/model/AwsEcsTaskVolumeDetails.h>
43 template <
typename ClusterArnT = Aws::String>
45 m_clusterArnHasBeenSet =
true;
46 m_clusterArn = std::forward<ClusterArnT>(value);
48 template <
typename ClusterArnT = Aws::String>
61 template <
typename TaskDefinitionArnT = Aws::String>
63 m_taskDefinitionArnHasBeenSet =
true;
64 m_taskDefinitionArn = std::forward<TaskDefinitionArnT>(value);
66 template <
typename TaskDefinitionArnT = Aws::String>
79 template <
typename VersionT = Aws::String>
81 m_versionHasBeenSet =
true;
82 m_version = std::forward<VersionT>(value);
84 template <
typename VersionT = Aws::String>
98 template <
typename CreatedAtT = Aws::String>
100 m_createdAtHasBeenSet =
true;
101 m_createdAt = std::forward<CreatedAtT>(value);
103 template <
typename CreatedAtT = Aws::String>
118 template <
typename StartedAtT = Aws::String>
120 m_startedAtHasBeenSet =
true;
121 m_startedAt = std::forward<StartedAtT>(value);
123 template <
typename StartedAtT = Aws::String>
138 template <
typename StartedByT = Aws::String>
140 m_startedByHasBeenSet =
true;
141 m_startedBy = std::forward<StartedByT>(value);
143 template <
typename StartedByT = Aws::String>
156 template <
typename GroupT = Aws::String>
158 m_groupHasBeenSet =
true;
159 m_group = std::forward<GroupT>(value);
161 template <
typename GroupT = Aws::String>
163 SetGroup(std::forward<GroupT>(value));
174 template <
typename VolumesT = Aws::Vector<AwsEcsTaskVolumeDetails>>
176 m_volumesHasBeenSet =
true;
177 m_volumes = std::forward<VolumesT>(value);
179 template <
typename VolumesT = Aws::Vector<AwsEcsTaskVolumeDetails>>
184 template <
typename VolumesT = AwsEcsTaskVolumeDetails>
186 m_volumesHasBeenSet =
true;
187 m_volumes.emplace_back(std::forward<VolumesT>(value));
198 template <
typename ContainersT = Aws::Vector<AwsEcsContainerDetails>>
200 m_containersHasBeenSet =
true;
201 m_containers = std::forward<ContainersT>(value);
203 template <
typename ContainersT = Aws::Vector<AwsEcsContainerDetails>>
208 template <
typename ContainersT = AwsEcsContainerDetails>
210 m_containersHasBeenSet =
true;
211 m_containers.emplace_back(std::forward<ContainersT>(value));
233 bool m_clusterArnHasBeenSet =
false;
234 bool m_taskDefinitionArnHasBeenSet =
false;
235 bool m_versionHasBeenSet =
false;
236 bool m_createdAtHasBeenSet =
false;
237 bool m_startedAtHasBeenSet =
false;
238 bool m_startedByHasBeenSet =
false;
239 bool m_groupHasBeenSet =
false;
240 bool m_volumesHasBeenSet =
false;
241 bool m_containersHasBeenSet =
false;
AwsEcsTaskDetails & AddContainers(ContainersT &&value)
const Aws::String & GetStartedBy() const
AwsEcsTaskDetails & WithClusterArn(ClusterArnT &&value)
const Aws::String & GetCreatedAt() const
AwsEcsTaskDetails & WithTaskDefinitionArn(TaskDefinitionArnT &&value)
bool TaskDefinitionArnHasBeenSet() const
void SetClusterArn(ClusterArnT &&value)
AWS_SECURITYHUB_API AwsEcsTaskDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsEcsContainerDetails > & GetContainers() const
AwsEcsTaskDetails & AddVolumes(VolumesT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetGroup() const
AwsEcsTaskDetails & WithVolumes(VolumesT &&value)
bool CreatedAtHasBeenSet() const
void SetGroup(GroupT &&value)
AwsEcsTaskDetails & WithGroup(GroupT &&value)
void SetContainers(ContainersT &&value)
const Aws::String & GetStartedAt() const
AwsEcsTaskDetails & WithVersion(VersionT &&value)
AwsEcsTaskDetails & WithStartedAt(StartedAtT &&value)
AwsEcsTaskDetails & WithContainers(ContainersT &&value)
const Aws::String & GetTaskDefinitionArn() const
const Aws::String & GetVersion() const
AwsEcsTaskDetails & WithCreatedAt(CreatedAtT &&value)
bool StartedAtHasBeenSet() const
bool VersionHasBeenSet() const
AWS_SECURITYHUB_API AwsEcsTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(StartedAtT &&value)
AwsEcsTaskDetails & WithStartedBy(StartedByT &&value)
bool ContainersHasBeenSet() const
bool VolumesHasBeenSet() const
AWS_SECURITYHUB_API AwsEcsTaskDetails()=default
void SetVersion(VersionT &&value)
bool StartedByHasBeenSet() const
bool ClusterArnHasBeenSet() const
const Aws::String & GetClusterArn() const
void SetVolumes(VolumesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool GroupHasBeenSet() const
void SetStartedBy(StartedByT &&value)
const Aws::Vector< AwsEcsTaskVolumeDetails > & GetVolumes() const
void SetTaskDefinitionArn(TaskDefinitionArnT &&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