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/NetworkInterface.h>
52 inline void SetContainerInstanceArn(
const char* value) { m_containerInstanceArnHasBeenSet =
true; m_containerInstanceArn.assign(value); }
68 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
81 inline void SetExitCode(
int value) { m_exitCodeHasBeenSet =
true; m_exitCode = value; }
94 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
111 inline void SetLogStreamName(
const char* value) { m_logStreamNameHasBeenSet =
true; m_logStreamName.assign(value); }
133 bool m_containerInstanceArnHasBeenSet =
false;
136 bool m_taskArnHasBeenSet =
false;
139 bool m_exitCodeHasBeenSet =
false;
142 bool m_reasonHasBeenSet =
false;
145 bool m_logStreamNameHasBeenSet =
false;
148 bool m_networkInterfacesHasBeenSet =
false;
AttemptContainerDetail & AddNetworkInterfaces(NetworkInterface &&value)
bool ReasonHasBeenSet() const
AttemptContainerDetail & WithContainerInstanceArn(const Aws::String &value)
AWS_BATCH_API AttemptContainerDetail()
const Aws::String & GetTaskArn() const
AttemptContainerDetail & WithNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const Aws::String & GetLogStreamName() const
AttemptContainerDetail & WithTaskArn(const char *value)
void SetReason(const char *value)
void SetNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
const Aws::Vector< NetworkInterface > & GetNetworkInterfaces() const
void SetExitCode(int value)
AttemptContainerDetail & WithContainerInstanceArn(const char *value)
void SetReason(const Aws::String &value)
void SetLogStreamName(Aws::String &&value)
void SetTaskArn(const Aws::String &value)
void SetContainerInstanceArn(Aws::String &&value)
AWS_BATCH_API AttemptContainerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ContainerInstanceArnHasBeenSet() const
void SetContainerInstanceArn(const char *value)
AWS_BATCH_API AttemptContainerDetail(Aws::Utils::Json::JsonView jsonValue)
AttemptContainerDetail & WithTaskArn(Aws::String &&value)
AttemptContainerDetail & WithReason(Aws::String &&value)
AttemptContainerDetail & WithNetworkInterfaces(const Aws::Vector< NetworkInterface > &value)
AttemptContainerDetail & WithReason(const char *value)
AttemptContainerDetail & WithLogStreamName(Aws::String &&value)
bool NetworkInterfacesHasBeenSet() const
AttemptContainerDetail & WithExitCode(int value)
void SetContainerInstanceArn(const Aws::String &value)
void SetTaskArn(const char *value)
AttemptContainerDetail & WithContainerInstanceArn(Aws::String &&value)
void SetTaskArn(Aws::String &&value)
void SetReason(Aws::String &&value)
AttemptContainerDetail & WithReason(const Aws::String &value)
bool TaskArnHasBeenSet() const
AttemptContainerDetail & AddNetworkInterfaces(const NetworkInterface &value)
void SetNetworkInterfaces(Aws::Vector< NetworkInterface > &&value)
const Aws::String & GetReason() const
void SetLogStreamName(const Aws::String &value)
bool LogStreamNameHasBeenSet() const
bool ExitCodeHasBeenSet() const
void SetLogStreamName(const char *value)
AttemptContainerDetail & WithTaskArn(const Aws::String &value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetContainerInstanceArn() const
AttemptContainerDetail & WithLogStreamName(const Aws::String &value)
AttemptContainerDetail & WithLogStreamName(const char *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