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/EksContainer.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; }
98 template<
typename DnsPolicyT = Aws::String>
99 void SetDnsPolicy(DnsPolicyT&& value) { m_dnsPolicyHasBeenSet =
true; m_dnsPolicy = std::forward<DnsPolicyT>(value); }
100 template<
typename DnsPolicyT = Aws::String>
112 template<
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
113 void SetImagePullSecrets(ImagePullSecretsT&& value) { m_imagePullSecretsHasBeenSet =
true; m_imagePullSecrets = std::forward<ImagePullSecretsT>(value); }
114 template<
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
116 template<
typename ImagePullSecretsT = ImagePullSecret>
117 EksPodProperties&
AddImagePullSecrets(ImagePullSecretsT&& value) { m_imagePullSecretsHasBeenSet =
true; m_imagePullSecrets.emplace_back(std::forward<ImagePullSecretsT>(value));
return *
this; }
127 template<
typename ContainersT = Aws::Vector<EksContainer>>
128 void SetContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers = std::forward<ContainersT>(value); }
129 template<
typename ContainersT = Aws::Vector<EksContainer>>
131 template<
typename ContainersT = EksContainer>
132 EksPodProperties&
AddContainers(ContainersT&& value) { m_containersHasBeenSet =
true; m_containers.emplace_back(std::forward<ContainersT>(value));
return *
this; }
148 template<
typename InitContainersT = Aws::Vector<EksContainer>>
149 void SetInitContainers(InitContainersT&& value) { m_initContainersHasBeenSet =
true; m_initContainers = std::forward<InitContainersT>(value); }
150 template<
typename InitContainersT = Aws::Vector<EksContainer>>
152 template<
typename InitContainersT = EksContainer>
153 EksPodProperties&
AddInitContainers(InitContainersT&& value) { m_initContainersHasBeenSet =
true; m_initContainers.emplace_back(std::forward<InitContainersT>(value));
return *
this; }
163 template<
typename VolumesT = Aws::Vector<EksVolume>>
164 void SetVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes = std::forward<VolumesT>(value); }
165 template<
typename VolumesT = Aws::Vector<EksVolume>>
167 template<
typename VolumesT = EksVolume>
168 EksPodProperties&
AddVolumes(VolumesT&& value) { m_volumesHasBeenSet =
true; m_volumes.emplace_back(std::forward<VolumesT>(value));
return *
this; }
179 template<
typename MetadataT = EksMetadata>
180 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet =
true; m_metadata = std::forward<MetadataT>(value); }
181 template<
typename MetadataT = EksMetadata>
200 bool m_serviceAccountNameHasBeenSet =
false;
202 bool m_hostNetwork{
false};
203 bool m_hostNetworkHasBeenSet =
false;
206 bool m_dnsPolicyHasBeenSet =
false;
209 bool m_imagePullSecretsHasBeenSet =
false;
212 bool m_containersHasBeenSet =
false;
215 bool m_initContainersHasBeenSet =
false;
218 bool m_volumesHasBeenSet =
false;
220 EksMetadata m_metadata;
221 bool m_metadataHasBeenSet =
false;
223 bool m_shareProcessNamespace{
false};
224 bool m_shareProcessNamespaceHasBeenSet =
false;
bool InitContainersHasBeenSet() const
const Aws::String & GetDnsPolicy() const
void SetShareProcessNamespace(bool value)
EksPodProperties & WithHostNetwork(bool value)
AWS_BATCH_API EksPodProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMetadata(MetadataT &&value)
bool MetadataHasBeenSet() const
bool GetHostNetwork() const
const EksMetadata & GetMetadata() const
EksPodProperties & WithImagePullSecrets(ImagePullSecretsT &&value)
const Aws::String & GetServiceAccountName() const
EksPodProperties & WithDnsPolicy(DnsPolicyT &&value)
EksPodProperties & AddImagePullSecrets(ImagePullSecretsT &&value)
EksPodProperties & WithContainers(ContainersT &&value)
void SetVolumes(VolumesT &&value)
void SetImagePullSecrets(ImagePullSecretsT &&value)
void SetServiceAccountName(ServiceAccountNameT &&value)
bool ImagePullSecretsHasBeenSet() const
void SetDnsPolicy(DnsPolicyT &&value)
EksPodProperties & WithInitContainers(InitContainersT &&value)
EksPodProperties & AddInitContainers(InitContainersT &&value)
EksPodProperties & WithMetadata(MetadataT &&value)
bool HostNetworkHasBeenSet() const
EksPodProperties & AddVolumes(VolumesT &&value)
bool GetShareProcessNamespace() const
AWS_BATCH_API EksPodProperties(Aws::Utils::Json::JsonView jsonValue)
bool VolumesHasBeenSet() const
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< EksContainer > & GetInitContainers() const
bool ShareProcessNamespaceHasBeenSet() const
EksPodProperties & WithServiceAccountName(ServiceAccountNameT &&value)
const Aws::Vector< EksContainer > & GetContainers() const
const Aws::Vector< ImagePullSecret > & GetImagePullSecrets() const
AWS_BATCH_API EksPodProperties()=default
const Aws::Vector< EksVolume > & GetVolumes() const
void SetContainers(ContainersT &&value)
EksPodProperties & WithVolumes(VolumesT &&value)
EksPodProperties & AddContainers(ContainersT &&value)
void SetInitContainers(InitContainersT &&value)
bool DnsPolicyHasBeenSet() const
bool ContainersHasBeenSet() const
bool ServiceAccountNameHasBeenSet() const
void SetHostNetwork(bool value)
EksPodProperties & WithShareProcessNamespace(bool 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