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/EksMetadata.h>
11#include <aws/batch/model/ImagePullSecret.h>
12#include <aws/batch/model/EksContainerDetail.h>
13#include <aws/batch/model/EksVolume.h>
59 template<
typename ServiceAccountNameT = Aws::String>
60 void SetServiceAccountName(ServiceAccountNameT&& value) { m_serviceAccountNameHasBeenSet =
true; m_serviceAccountName = std::forward<ServiceAccountNameT>(value); }
61 template<
typename ServiceAccountNameT = Aws::String>
79 inline void SetHostNetwork(
bool value) { m_hostNetworkHasBeenSet =
true; m_hostNetwork = value; }
108 template<
typename DnsPolicyT = Aws::String>
109 void SetDnsPolicy(DnsPolicyT&& value) { m_dnsPolicyHasBeenSet =
true; m_dnsPolicy = std::forward<DnsPolicyT>(value); }
110 template<
typename DnsPolicyT = Aws::String>
121 template<
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
122 void SetImagePullSecrets(ImagePullSecretsT&& value) { m_imagePullSecretsHasBeenSet =
true; m_imagePullSecrets = std::forward<ImagePullSecretsT>(value); }
123 template<
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
125 template<
typename ImagePullSecretsT = ImagePullSecret>
135 template<
typename ContainersT = Aws::Vector<EksContainerDetail>>
136 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
137 template<
typename ContainersT = Aws::Vector<EksContainerDetail>>
139 template<
typename ContainersT = EksContainerDetail>
150 template<
typename InitContainersT = Aws::Vector<EksContainerDetail>>
151 void SetInitContainers(InitContainersT&& value) { m_initContainersHasBeenSet =
true; m_initContainers = std::forward<InitContainersT>(value); }
152 template<
typename InitContainersT = Aws::Vector<EksContainerDetail>>
154 template<
typename InitContainersT = EksContainerDetail>
164 template<
typename VolumesT = Aws::Vector<EksVolume>>
165 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
166 template<
typename VolumesT = Aws::Vector<EksVolume>>
168 template<
typename VolumesT = EksVolume>
178 template<
typename PodNameT = Aws::String>
179 void SetPodName(PodNameT&& value) { m_podNameHasBeenSet =
true; m_podName = std::forward<PodNameT>(value); }
180 template<
typename PodNameT = Aws::String>
190 template<
typename NodeNameT = Aws::String>
191 void SetNodeName(NodeNameT&& value) { m_nodeNameHasBeenSet =
true; m_nodeName = std::forward<NodeNameT>(value); }
192 template<
typename NodeNameT = Aws::String>
206 template<
typename MetadataT = EksMetadata>
207 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
208 template<
typename MetadataT = EksMetadata>
227 bool m_serviceAccountNameHasBeenSet =
false;
229 bool m_hostNetwork{
false};
230 bool m_hostNetworkHasBeenSet =
false;
233 bool m_dnsPolicyHasBeenSet =
false;
236 bool m_imagePullSecretsHasBeenSet =
false;
239 bool m_containersHasBeenSet =
false;
242 bool m_initContainersHasBeenSet =
false;
245 bool m_volumesHasBeenSet =
false;
248 bool m_podNameHasBeenSet =
false;
251 bool m_nodeNameHasBeenSet =
false;
253 EksMetadata m_metadata;
254 bool m_metadataHasBeenSet =
false;
256 bool m_shareProcessNamespace{
false};
257 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