7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/EksAttemptContainerDetail.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename ContainersT = Aws::Vector<EksAttemptContainerDetail>>
45 m_containersHasBeenSet =
true;
46 m_containers = std::forward<ContainersT>(value);
48 template <
typename ContainersT = Aws::Vector<EksAttemptContainerDetail>>
53 template <
typename ContainersT = EksAttemptContainerDetail>
55 m_containersHasBeenSet =
true;
56 m_containers.emplace_back(std::forward<ContainersT>(value));
67 template <
typename InitContainersT = Aws::Vector<EksAttemptContainerDetail>>
69 m_initContainersHasBeenSet =
true;
70 m_initContainers = std::forward<InitContainersT>(value);
72 template <
typename InitContainersT = Aws::Vector<EksAttemptContainerDetail>>
77 template <
typename InitContainersT = EksAttemptContainerDetail>
79 m_initContainersHasBeenSet =
true;
80 m_initContainers.emplace_back(std::forward<InitContainersT>(value));
91 template <
typename EksClusterArnT = Aws::String>
93 m_eksClusterArnHasBeenSet =
true;
94 m_eksClusterArn = std::forward<EksClusterArnT>(value);
96 template <
typename EksClusterArnT = Aws::String>
109 template <
typename PodNameT = Aws::String>
111 m_podNameHasBeenSet =
true;
112 m_podName = std::forward<PodNameT>(value);
114 template <
typename PodNameT = Aws::String>
127 template <
typename PodNamespaceT = Aws::String>
129 m_podNamespaceHasBeenSet =
true;
130 m_podNamespace = std::forward<PodNamespaceT>(value);
132 template <
typename PodNamespaceT = Aws::String>
145 template <
typename NodeNameT = Aws::String>
147 m_nodeNameHasBeenSet =
true;
148 m_nodeName = std::forward<NodeNameT>(value);
150 template <
typename NodeNameT = Aws::String>
166 m_startedAtHasBeenSet =
true;
184 m_stoppedAtHasBeenSet =
true;
200 template <
typename StatusReasonT = Aws::String>
202 m_statusReasonHasBeenSet =
true;
203 m_statusReason = std::forward<StatusReasonT>(value);
205 template <
typename StatusReasonT = Aws::String>
224 long long m_startedAt{0};
226 long long m_stoppedAt{0};
229 bool m_containersHasBeenSet =
false;
230 bool m_initContainersHasBeenSet =
false;
231 bool m_eksClusterArnHasBeenSet =
false;
232 bool m_podNameHasBeenSet =
false;
233 bool m_podNamespaceHasBeenSet =
false;
234 bool m_nodeNameHasBeenSet =
false;
235 bool m_startedAtHasBeenSet =
false;
236 bool m_stoppedAtHasBeenSet =
false;
237 bool m_statusReasonHasBeenSet =
false;
bool StoppedAtHasBeenSet() const
EksAttemptDetail & WithEksClusterArn(EksClusterArnT &&value)
EksAttemptDetail & WithStartedAt(long long value)
bool StartedAtHasBeenSet() const
EksAttemptDetail & AddContainers(ContainersT &&value)
EksAttemptDetail & WithInitContainers(InitContainersT &&value)
long long GetStoppedAt() const
const Aws::String & GetPodNamespace() const
EksAttemptDetail & WithStoppedAt(long long value)
const Aws::String & GetPodName() const
void SetStatusReason(StatusReasonT &&value)
const Aws::String & GetStatusReason() const
void SetStartedAt(long long value)
bool PodNamespaceHasBeenSet() const
long long GetStartedAt() const
void SetPodNamespace(PodNamespaceT &&value)
AWS_BATCH_API EksAttemptDetail()=default
void SetContainers(ContainersT &&value)
bool EksClusterArnHasBeenSet() const
bool PodNameHasBeenSet() const
const Aws::String & GetEksClusterArn() const
const Aws::Vector< EksAttemptContainerDetail > & GetContainers() const
void SetPodName(PodNameT &&value)
EksAttemptDetail & WithPodName(PodNameT &&value)
EksAttemptDetail & WithStatusReason(StatusReasonT &&value)
EksAttemptDetail & AddInitContainers(InitContainersT &&value)
AWS_BATCH_API EksAttemptDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInitContainers(InitContainersT &&value)
const Aws::String & GetNodeName() const
EksAttemptDetail & WithNodeName(NodeNameT &&value)
bool StatusReasonHasBeenSet() const
void SetNodeName(NodeNameT &&value)
EksAttemptDetail & WithPodNamespace(PodNamespaceT &&value)
const Aws::Vector< EksAttemptContainerDetail > & GetInitContainers() const
void SetEksClusterArn(EksClusterArnT &&value)
AWS_BATCH_API EksAttemptDetail(Aws::Utils::Json::JsonView jsonValue)
bool NodeNameHasBeenSet() const
bool InitContainersHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStoppedAt(long long value)
bool ContainersHasBeenSet() const
EksAttemptDetail & WithContainers(ContainersT &&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