7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/model/EksContainer.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;
104 template <
typename DnsPolicyT = Aws::String>
106 m_dnsPolicyHasBeenSet =
true;
107 m_dnsPolicy = std::forward<DnsPolicyT>(value);
109 template <
typename DnsPolicyT = Aws::String>
124 template <
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
126 m_imagePullSecretsHasBeenSet =
true;
127 m_imagePullSecrets = std::forward<ImagePullSecretsT>(value);
129 template <
typename ImagePullSecretsT = Aws::Vector<ImagePullSecret>>
134 template <
typename ImagePullSecretsT = ImagePullSecret>
136 m_imagePullSecretsHasBeenSet =
true;
137 m_imagePullSecrets.emplace_back(std::forward<ImagePullSecretsT>(value));
149 template <
typename ContainersT = Aws::Vector<EksContainer>>
151 m_containersHasBeenSet =
true;
152 m_containers = std::forward<ContainersT>(value);
154 template <
typename ContainersT = Aws::Vector<EksContainer>>
159 template <
typename ContainersT = EksContainer>
161 m_containersHasBeenSet =
true;
162 m_containers.emplace_back(std::forward<ContainersT>(value));
180 template <
typename InitContainersT = Aws::Vector<EksContainer>>
182 m_initContainersHasBeenSet =
true;
183 m_initContainers = std::forward<InitContainersT>(value);
185 template <
typename InitContainersT = Aws::Vector<EksContainer>>
190 template <
typename InitContainersT = EksContainer>
192 m_initContainersHasBeenSet =
true;
193 m_initContainers.emplace_back(std::forward<InitContainersT>(value));
205 template <
typename VolumesT = Aws::Vector<EksVolume>>
207 m_volumesHasBeenSet =
true;
208 m_volumes = std::forward<VolumesT>(value);
210 template <
typename VolumesT = Aws::Vector<EksVolume>>
215 template <
typename VolumesT = EksVolume>
217 m_volumesHasBeenSet =
true;
218 m_volumes.emplace_back(std::forward<VolumesT>(value));
231 template <
typename MetadataT = EksMetadata>
233 m_metadataHasBeenSet =
true;
234 m_metadata = std::forward<MetadataT>(value);
236 template <
typename MetadataT = EksMetadata>
253 m_shareProcessNamespaceHasBeenSet =
true;
254 m_shareProcessNamespace = value;
264 bool m_hostNetwork{
false};
276 EksMetadata m_metadata;
278 bool m_shareProcessNamespace{
false};
279 bool m_serviceAccountNameHasBeenSet =
false;
280 bool m_hostNetworkHasBeenSet =
false;
281 bool m_dnsPolicyHasBeenSet =
false;
282 bool m_imagePullSecretsHasBeenSet =
false;
283 bool m_containersHasBeenSet =
false;
284 bool m_initContainersHasBeenSet =
false;
285 bool m_volumesHasBeenSet =
false;
286 bool m_metadataHasBeenSet =
false;
287 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