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/EcsLaunchType.h>
46 template <
typename CreatedAtT = Aws::Utils::DateTime>
48 m_createdAtHasBeenSet =
true;
49 m_createdAt = std::forward<CreatedAtT>(value);
51 template <
typename CreatedAtT = Aws::Utils::DateTime>
65 template <
typename TaskDefinitionArnT = Aws::String>
67 m_taskDefinitionArnHasBeenSet =
true;
68 m_taskDefinitionArn = std::forward<TaskDefinitionArnT>(value);
70 template <
typename TaskDefinitionArnT = Aws::String>
84 m_launchTypeHasBeenSet =
true;
100 template <
typename ContainerU
idsT = Aws::Vector<Aws::String>>
102 m_containerUidsHasBeenSet =
true;
103 m_containerUids = std::forward<ContainerUidsT>(value);
105 template <
typename ContainerU
idsT = Aws::Vector<Aws::String>>
110 template <
typename ContainerU
idsT = Aws::String>
112 m_containerUidsHasBeenSet =
true;
113 m_containerUids.emplace_back(std::forward<ContainerUidsT>(value));
125 bool m_createdAtHasBeenSet =
false;
126 bool m_taskDefinitionArnHasBeenSet =
false;
127 bool m_launchTypeHasBeenSet =
false;
128 bool m_containerUidsHasBeenSet =
false;
void SetContainerUids(ContainerUidsT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
EcsTask & AddContainerUids(ContainerUidsT &&value)
void SetLaunchType(EcsLaunchType value)
bool TaskDefinitionArnHasBeenSet() const
AWS_GUARDDUTY_API EcsTask()=default
AWS_GUARDDUTY_API EcsTask(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetContainerUids() const
void SetCreatedAt(CreatedAtT &&value)
bool LaunchTypeHasBeenSet() const
EcsTask & WithContainerUids(ContainerUidsT &&value)
EcsTask & WithTaskDefinitionArn(TaskDefinitionArnT &&value)
const Aws::String & GetTaskDefinitionArn() const
EcsTask & WithLaunchType(EcsLaunchType value)
bool CreatedAtHasBeenSet() const
bool ContainerUidsHasBeenSet() const
AWS_GUARDDUTY_API EcsTask & operator=(Aws::Utils::Json::JsonView jsonValue)
EcsTask & WithCreatedAt(CreatedAtT &&value)
void SetTaskDefinitionArn(TaskDefinitionArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
EcsLaunchType GetLaunchType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue