7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename ContainerIDT = Aws::String>
61 m_containerIDHasBeenSet =
true;
62 m_containerID = std::forward<ContainerIDT>(value);
64 template <
typename ContainerIDT = Aws::String>
79 m_exitCodeHasBeenSet =
true;
95 template <
typename ReasonT = Aws::String>
97 m_reasonHasBeenSet =
true;
98 m_reason = std::forward<ReasonT>(value);
100 template <
typename ReasonT = Aws::String>
114 bool m_nameHasBeenSet =
false;
115 bool m_containerIDHasBeenSet =
false;
116 bool m_exitCodeHasBeenSet =
false;
117 bool m_reasonHasBeenSet =
false;
const Aws::String & GetReason() const
EksAttemptContainerDetail & WithReason(ReasonT &&value)
EksAttemptContainerDetail & WithContainerID(ContainerIDT &&value)
AWS_BATCH_API EksAttemptContainerDetail(Aws::Utils::Json::JsonView jsonValue)
void SetExitCode(int value)
AWS_BATCH_API EksAttemptContainerDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContainerID(ContainerIDT &&value)
EksAttemptContainerDetail & WithExitCode(int value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
AWS_BATCH_API EksAttemptContainerDetail()=default
bool ReasonHasBeenSet() const
EksAttemptContainerDetail & WithName(NameT &&value)
const Aws::String & GetContainerID() const
void SetName(NameT &&value)
void SetReason(ReasonT &&value)
bool ContainerIDHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExitCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue