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>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetDefinitionArn(
const char* value) { m_definitionArnHasBeenSet =
true; m_definitionArn.assign(value); }
82 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
120 inline void SetStartedBy(
const char* value) { m_startedByHasBeenSet =
true; m_startedBy.assign(value); }
176 inline void SetGroup(
const char* value) { m_groupHasBeenSet =
true; m_group.assign(value); }
191 inline void SetLaunchType(
const char* value) { m_launchTypeHasBeenSet =
true; m_launchType.assign(value); }
199 bool m_arnHasBeenSet =
false;
202 bool m_definitionArnHasBeenSet =
false;
205 bool m_versionHasBeenSet =
false;
208 bool m_taskCreatedAtHasBeenSet =
false;
211 bool m_startedAtHasBeenSet =
false;
214 bool m_startedByHasBeenSet =
false;
217 bool m_tagsHasBeenSet =
false;
220 bool m_volumesHasBeenSet =
false;
223 bool m_containersHasBeenSet =
false;
226 bool m_groupHasBeenSet =
false;
229 bool m_launchTypeHasBeenSet =
false;
bool VersionHasBeenSet() const
EcsTaskDetails & AddContainers(Container &&value)
EcsTaskDetails & WithStartedBy(Aws::String &&value)
EcsTaskDetails & WithArn(const char *value)
EcsTaskDetails & WithStartedAt(const Aws::Utils::DateTime &value)
void SetGroup(const char *value)
bool VolumesHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
EcsTaskDetails & AddTags(const Tag &value)
void SetArn(Aws::String &&value)
EcsTaskDetails & WithLaunchType(const char *value)
EcsTaskDetails & WithGroup(Aws::String &&value)
bool DefinitionArnHasBeenSet() const
bool TagsHasBeenSet() const
void SetStartedAt(const Aws::Utils::DateTime &value)
EcsTaskDetails & WithVersion(Aws::String &&value)
EcsTaskDetails & WithLaunchType(Aws::String &&value)
EcsTaskDetails & WithTaskCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< Tag > & GetTags() const
void SetVersion(const Aws::String &value)
EcsTaskDetails & WithVersion(const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::String & GetLaunchType() const
const Aws::String & GetDefinitionArn() const
EcsTaskDetails & WithGroup(const Aws::String &value)
void SetDefinitionArn(const Aws::String &value)
void SetTaskCreatedAt(const Aws::Utils::DateTime &value)
void SetStartedBy(const Aws::String &value)
EcsTaskDetails & WithStartedBy(const char *value)
EcsTaskDetails & WithVolumes(const Aws::Vector< Volume > &value)
void SetGroup(const Aws::String &value)
EcsTaskDetails & WithContainers(Aws::Vector< Container > &&value)
void SetLaunchType(const Aws::String &value)
EcsTaskDetails & WithArn(const Aws::String &value)
EcsTaskDetails & AddVolumes(Volume &&value)
EcsTaskDetails & WithDefinitionArn(Aws::String &&value)
EcsTaskDetails & WithArn(Aws::String &&value)
void SetContainers(const Aws::Vector< Container > &value)
EcsTaskDetails & WithVolumes(Aws::Vector< Volume > &&value)
EcsTaskDetails & WithLaunchType(const Aws::String &value)
EcsTaskDetails & WithTags(Aws::Vector< Tag > &&value)
void SetVolumes(Aws::Vector< Volume > &&value)
bool ContainersHasBeenSet() const
EcsTaskDetails & AddTags(Tag &&value)
bool ArnHasBeenSet() const
AWS_GUARDDUTY_API EcsTaskDetails()
EcsTaskDetails & WithTaskCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetLaunchType(Aws::String &&value)
EcsTaskDetails & AddVolumes(const Volume &value)
const Aws::Vector< Container > & GetContainers() const
const Aws::String & GetGroup() const
void SetDefinitionArn(Aws::String &&value)
EcsTaskDetails & WithStartedBy(const Aws::String &value)
bool StartedAtHasBeenSet() const
void SetStartedAt(Aws::Utils::DateTime &&value)
bool StartedByHasBeenSet() const
const Aws::String & GetStartedBy() const
EcsTaskDetails & WithStartedAt(Aws::Utils::DateTime &&value)
EcsTaskDetails & WithVersion(const char *value)
const Aws::Utils::DateTime & GetTaskCreatedAt() const
void SetTags(Aws::Vector< Tag > &&value)
EcsTaskDetails & WithDefinitionArn(const char *value)
bool GroupHasBeenSet() const
void SetContainers(Aws::Vector< Container > &&value)
void SetVersion(const char *value)
void SetArn(const char *value)
void SetStartedBy(Aws::String &&value)
bool TaskCreatedAtHasBeenSet() const
void SetVersion(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetTaskCreatedAt(Aws::Utils::DateTime &&value)
AWS_GUARDDUTY_API EcsTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
EcsTaskDetails & WithTags(const Aws::Vector< Tag > &value)
EcsTaskDetails & WithDefinitionArn(const Aws::String &value)
void SetGroup(Aws::String &&value)
void SetDefinitionArn(const char *value)
EcsTaskDetails & WithGroup(const char *value)
const Aws::Vector< Volume > & GetVolumes() const
void SetLaunchType(const char *value)
AWS_GUARDDUTY_API EcsTaskDetails(Aws::Utils::Json::JsonView jsonValue)
EcsTaskDetails & WithContainers(const Aws::Vector< Container > &value)
void SetStartedBy(const char *value)
void SetVolumes(const Aws::Vector< Volume > &value)
const Aws::String & GetVersion() const
bool LaunchTypeHasBeenSet() const
const Aws::String & GetArn() const
EcsTaskDetails & AddContainers(const Container &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