7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsEcsTaskVolumeDetails.h>
11#include <aws/securityhub/model/AwsEcsContainerDetails.h>
49 template<
typename ClusterArnT = Aws::String>
50 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
51 template<
typename ClusterArnT = Aws::String>
61 template<
typename TaskDefinitionArnT = Aws::String>
62 void SetTaskDefinitionArn(TaskDefinitionArnT&& value) { m_taskDefinitionArnHasBeenSet =
true; m_taskDefinitionArn = std::forward<TaskDefinitionArnT>(value); }
63 template<
typename TaskDefinitionArnT = Aws::String>
73 template<
typename VersionT = Aws::String>
74 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
75 template<
typename VersionT = Aws::String>
86 template<
typename CreatedAtT = Aws::String>
87 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
88 template<
typename CreatedAtT = Aws::String>
100 template<
typename StartedAtT = Aws::String>
101 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
102 template<
typename StartedAtT = Aws::String>
114 template<
typename StartedByT = Aws::String>
115 void SetStartedBy(StartedByT&& value) { m_startedByHasBeenSet =
true; m_startedBy = std::forward<StartedByT>(value); }
116 template<
typename StartedByT = Aws::String>
126 template<
typename GroupT = Aws::String>
127 void SetGroup(GroupT&& value) { m_groupHasBeenSet =
true; m_group = std::forward<GroupT>(value); }
128 template<
typename GroupT = Aws::String>
138 template<
typename VolumesT = Aws::Vector<AwsEcsTaskVolumeDetails>>
139 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
140 template<
typename VolumesT = Aws::Vector<AwsEcsTaskVolumeDetails>>
142 template<
typename VolumesT = AwsEcsTaskVolumeDetails>
143 AwsEcsTaskDetails&
AddVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes.emplace_back(std::forward<VolumesT>(value));
return *
this; }
152 template<
typename ContainersT = Aws::Vector<AwsEcsContainerDetails>>
153 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
154 template<
typename ContainersT = Aws::Vector<AwsEcsContainerDetails>>
156 template<
typename ContainersT = AwsEcsContainerDetails>
157 AwsEcsTaskDetails&
AddContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers.emplace_back(std::forward<ContainersT>(value));
return *
this; }
162 bool m_clusterArnHasBeenSet =
false;
165 bool m_taskDefinitionArnHasBeenSet =
false;
168 bool m_versionHasBeenSet =
false;
171 bool m_createdAtHasBeenSet =
false;
174 bool m_startedAtHasBeenSet =
false;
177 bool m_startedByHasBeenSet =
false;
180 bool m_groupHasBeenSet =
false;
183 bool m_volumesHasBeenSet =
false;
186 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