7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/batch/model/AttemptTaskContainerDetails.h>
52 inline void SetContainerInstanceArn(
const char* value) { m_containerInstanceArnHasBeenSet =
true; m_containerInstanceArn.assign(value); }
66 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
89 bool m_containerInstanceArnHasBeenSet =
false;
92 bool m_taskArnHasBeenSet =
false;
95 bool m_containersHasBeenSet =
false;
AttemptEcsTaskDetails & WithContainers(const Aws::Vector< AttemptTaskContainerDetails > &value)
bool ContainersHasBeenSet() const
void SetTaskArn(const char *value)
AttemptEcsTaskDetails & WithTaskArn(const Aws::String &value)
void SetContainerInstanceArn(Aws::String &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContainerInstanceArn(const char *value)
AWS_BATCH_API AttemptEcsTaskDetails(Aws::Utils::Json::JsonView jsonValue)
AttemptEcsTaskDetails & AddContainers(const AttemptTaskContainerDetails &value)
bool ContainerInstanceArnHasBeenSet() const
AttemptEcsTaskDetails & WithContainerInstanceArn(const Aws::String &value)
AttemptEcsTaskDetails & WithContainerInstanceArn(Aws::String &&value)
const Aws::String & GetTaskArn() const
void SetContainers(const Aws::Vector< AttemptTaskContainerDetails > &value)
const Aws::String & GetContainerInstanceArn() const
const Aws::Vector< AttemptTaskContainerDetails > & GetContainers() const
AttemptEcsTaskDetails & WithContainerInstanceArn(const char *value)
void SetTaskArn(const Aws::String &value)
void SetTaskArn(Aws::String &&value)
AWS_BATCH_API AttemptEcsTaskDetails()
void SetContainers(Aws::Vector< AttemptTaskContainerDetails > &&value)
AttemptEcsTaskDetails & WithContainers(Aws::Vector< AttemptTaskContainerDetails > &&value)
bool TaskArnHasBeenSet() const
AttemptEcsTaskDetails & WithTaskArn(const char *value)
void SetContainerInstanceArn(const Aws::String &value)
AttemptEcsTaskDetails & AddContainers(AttemptTaskContainerDetails &&value)
AWS_BATCH_API AttemptEcsTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AttemptEcsTaskDetails & WithTaskArn(Aws::String &&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