7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/EksContainerDetail.h>
9#include <aws/batch/model/EksMetadata.h>
10#include <aws/batch/model/EksVolume.h>
11#include <aws/batch/model/ImagePullSecret.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
53 template <
typename ServiceAccountNameT = Aws::String>
55 m_serviceAccountNameHasBeenSet =
true;
56 m_serviceAccountName = std::forward<ServiceAccountNameT>(value);
58 template <
typename ServiceAccountNameT = Aws::String>
80 m_hostNetworkHasBeenSet =
true;
81 m_hostNetwork = value;
114 template <
typename DnsPolicyT = Aws::String>
116 m_dnsPolicyHasBeenSet =
true;
117 m_dnsPolicy = std::forward<DnsPolicyT>(value);
119 template <
typename DnsPolicyT = Aws::String>
133 template <
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
135 m_imagePullSecretsHasBeenSet =
true;
136 m_imagePullSecrets = std::forward<ImagePullSecretsT>(value);
138 template <
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
143 template <
typename ImagePullSecretsT = ImagePullSecret>
145 m_imagePullSecretsHasBeenSet =
true;
146 m_imagePullSecrets.emplace_back(std::forward<ImagePullSecretsT>(value));
157 template <
typename ContainersT = Aws::Vector<EksContainerDetail>>
159 m_containersHasBeenSet =
true;
160 m_containers = std::forward<ContainersT>(value);
162 template <
typename ContainersT = Aws::Vector<EksContainerDetail>>
167 template <
typename ContainersT = EksContainerDetail>
169 m_containersHasBeenSet =
true;
170 m_containers.emplace_back(std::forward<ContainersT>(value));
182 template <
typename InitContainersT = Aws::Vector<EksContainerDetail>>
184 m_initContainersHasBeenSet =
true;
185 m_initContainers = std::forward<InitContainersT>(value);
187 template <
typename InitContainersT = Aws::Vector<EksContainerDetail>>
192 template <
typename InitContainersT = EksContainerDetail>
194 m_initContainersHasBeenSet =
true;
195 m_initContainers.emplace_back(std::forward<InitContainersT>(value));
206 template <
typename VolumesT = Aws::Vector<EksVolume>>
208 m_volumesHasBeenSet =
true;
209 m_volumes = std::forward<VolumesT>(value);
211 template <
typename VolumesT = Aws::Vector<EksVolume>>
216 template <
typename VolumesT = EksVolume>
218 m_volumesHasBeenSet =
true;
219 m_volumes.emplace_back(std::forward<VolumesT>(value));
230 template <
typename PodNameT = Aws::String>
232 m_podNameHasBeenSet =
true;
233 m_podName = std::forward<PodNameT>(value);
235 template <
typename PodNameT = Aws::String>
248 template <
typename NodeNameT = Aws::String>
250 m_nodeNameHasBeenSet =
true;
251 m_nodeName = std::forward<NodeNameT>(value);
253 template <
typename NodeNameT = Aws::String>
270 template <
typename MetadataT = EksMetadata>
272 m_metadataHasBeenSet =
true;
273 m_metadata = std::forward<MetadataT>(value);
275 template <
typename MetadataT = EksMetadata>
292 m_shareProcessNamespaceHasBeenSet =
true;
293 m_shareProcessNamespace = value;
303 bool m_hostNetwork{
false};
319 EksMetadata m_metadata;
321 bool m_shareProcessNamespace{
false};
322 bool m_serviceAccountNameHasBeenSet =
false;
323 bool m_hostNetworkHasBeenSet =
false;
324 bool m_dnsPolicyHasBeenSet =
false;
325 bool m_imagePullSecretsHasBeenSet =
false;
326 bool m_containersHasBeenSet =
false;
327 bool m_initContainersHasBeenSet =
false;
328 bool m_volumesHasBeenSet =
false;
329 bool m_podNameHasBeenSet =
false;
330 bool m_nodeNameHasBeenSet =
false;
331 bool m_metadataHasBeenSet =
false;
332 bool m_shareProcessNamespaceHasBeenSet =
false;
EksPodPropertiesDetail & WithPodName(PodNameT &&value)
EksPodPropertiesDetail & WithContainers(ContainersT &&value)
bool DnsPolicyHasBeenSet() const
bool ContainersHasBeenSet() const
AWS_BATCH_API EksPodPropertiesDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
EksPodPropertiesDetail & WithServiceAccountName(ServiceAccountNameT &&value)
EksPodPropertiesDetail & AddVolumes(VolumesT &&value)
bool ServiceAccountNameHasBeenSet() const
void SetHostNetwork(bool value)
const Aws::Vector< EksContainerDetail > & GetInitContainers() const
bool GetShareProcessNamespace() const
void SetServiceAccountName(ServiceAccountNameT &&value)
void SetPodName(PodNameT &&value)
void SetDnsPolicy(DnsPolicyT &&value)
const Aws::String & GetPodName() const
bool PodNameHasBeenSet() const
const Aws::String & GetDnsPolicy() const
const Aws::String & GetServiceAccountName() const
EksPodPropertiesDetail & WithMetadata(MetadataT &&value)
EksPodPropertiesDetail & WithDnsPolicy(DnsPolicyT &&value)
bool HostNetworkHasBeenSet() const
void SetMetadata(MetadataT &&value)
EksPodPropertiesDetail & WithShareProcessNamespace(bool value)
bool ShareProcessNamespaceHasBeenSet() const
const Aws::Vector< EksContainerDetail > & GetContainers() const
void SetImagePullSecrets(ImagePullSecretsT &&value)
EksPodPropertiesDetail & WithImagePullSecrets(ImagePullSecretsT &&value)
AWS_BATCH_API EksPodPropertiesDetail()=default
EksPodPropertiesDetail & WithVolumes(VolumesT &&value)
bool VolumesHasBeenSet() const
EksPodPropertiesDetail & AddImagePullSecrets(ImagePullSecretsT &&value)
AWS_BATCH_API EksPodPropertiesDetail(Aws::Utils::Json::JsonView jsonValue)
void SetShareProcessNamespace(bool value)
void SetInitContainers(InitContainersT &&value)
EksPodPropertiesDetail & AddContainers(ContainersT &&value)
void SetVolumes(VolumesT &&value)
EksPodPropertiesDetail & WithHostNetwork(bool value)
bool ImagePullSecretsHasBeenSet() const
EksPodPropertiesDetail & WithInitContainers(InitContainersT &&value)
void SetContainers(ContainersT &&value)
bool InitContainersHasBeenSet() const
const Aws::Vector< ImagePullSecret > & GetImagePullSecrets() const
bool NodeNameHasBeenSet() const
EksPodPropertiesDetail & AddInitContainers(InitContainersT &&value)
void SetNodeName(NodeNameT &&value)
EksPodPropertiesDetail & WithNodeName(NodeNameT &&value)
const Aws::String & GetNodeName() const
bool GetHostNetwork() const
const EksMetadata & GetMetadata() const
bool MetadataHasBeenSet() const
const Aws::Vector< EksVolume > & GetVolumes() 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