7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/ComputeConfiguration.h>
9#include <aws/codebuild/model/ComputeType.h>
10#include <aws/codebuild/model/DockerServer.h>
11#include <aws/codebuild/model/EnvironmentType.h>
12#include <aws/codebuild/model/EnvironmentVariable.h>
13#include <aws/codebuild/model/HostKernel.h>
14#include <aws/codebuild/model/ImagePullCredentialsType.h>
15#include <aws/codebuild/model/ProjectFleet.h>
16#include <aws/codebuild/model/RegistryCredential.h>
17#include <aws/core/utils/memory/stl/AWSString.h>
18#include <aws/core/utils/memory/stl/AWSVector.h>
56 m_typeHasBeenSet =
true;
82 template <
typename ImageT = Aws::String>
84 m_imageHasBeenSet =
true;
85 m_image = std::forward<ImageT>(value);
87 template <
typename ImageT = Aws::String>
89 SetImage(std::forward<ImageT>(value));
148 m_computeTypeHasBeenSet =
true;
149 m_computeType = value;
164 template <
typename ComputeConfigurationT = ComputeConfiguration>
166 m_computeConfigurationHasBeenSet =
true;
167 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
169 template <
typename ComputeConfigurationT = ComputeConfiguration>
182 template <
typename FleetT = ProjectFleet>
184 m_fleetHasBeenSet =
true;
185 m_fleet = std::forward<FleetT>(value);
187 template <
typename FleetT = ProjectFleet>
189 SetFleet(std::forward<FleetT>(value));
201 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
203 m_environmentVariablesHasBeenSet =
true;
204 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
206 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
211 template <
typename EnvironmentVariablesT = EnvironmentVariable>
213 m_environmentVariablesHasBeenSet =
true;
214 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
240 m_privilegedModeHasBeenSet =
true;
241 m_privilegedMode = value;
258 template <
typename CertificateT = Aws::String>
260 m_certificateHasBeenSet =
true;
261 m_certificate = std::forward<CertificateT>(value);
263 template <
typename CertificateT = Aws::String>
276 template <
typename RegistryCredentialT = RegistryCredential>
278 m_registryCredentialHasBeenSet =
true;
279 m_registryCredential = std::forward<RegistryCredentialT>(value);
281 template <
typename RegistryCredentialT = RegistryCredential>
302 m_imagePullCredentialsTypeHasBeenSet =
true;
303 m_imagePullCredentialsType = value;
317 template <
typename DockerServerT = DockerServer>
319 m_dockerServerHasBeenSet =
true;
320 m_dockerServer = std::forward<DockerServerT>(value);
322 template <
typename DockerServerT = DockerServer>
345 m_hostKernelHasBeenSet =
true;
346 m_hostKernel = value;
360 ComputeConfiguration m_computeConfiguration;
362 ProjectFleet m_fleet;
366 bool m_privilegedMode{
false};
370 RegistryCredential m_registryCredential;
374 DockerServer m_dockerServer;
377 bool m_typeHasBeenSet =
false;
378 bool m_imageHasBeenSet =
false;
379 bool m_computeTypeHasBeenSet =
false;
380 bool m_computeConfigurationHasBeenSet =
false;
381 bool m_fleetHasBeenSet =
false;
382 bool m_environmentVariablesHasBeenSet =
false;
383 bool m_privilegedModeHasBeenSet =
false;
384 bool m_certificateHasBeenSet =
false;
385 bool m_registryCredentialHasBeenSet =
false;
386 bool m_imagePullCredentialsTypeHasBeenSet =
false;
387 bool m_dockerServerHasBeenSet =
false;
388 bool m_hostKernelHasBeenSet =
false;
const ProjectFleet & GetFleet() const
ProjectEnvironment & WithImagePullCredentialsType(ImagePullCredentialsType value)
const RegistryCredential & GetRegistryCredential() const
void SetComputeType(ComputeType value)
bool TypeHasBeenSet() const
bool DockerServerHasBeenSet() const
ProjectEnvironment & WithImage(ImageT &&value)
void SetPrivilegedMode(bool value)
const Aws::String & GetImage() const
void SetDockerServer(DockerServerT &&value)
void SetRegistryCredential(RegistryCredentialT &&value)
ProjectEnvironment & WithFleet(FleetT &&value)
bool HostKernelHasBeenSet() const
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
bool ImageHasBeenSet() const
EnvironmentType GetType() const
ProjectEnvironment & WithDockerServer(DockerServerT &&value)
void SetType(EnvironmentType value)
AWS_CODEBUILD_API ProjectEnvironment()=default
bool RegistryCredentialHasBeenSet() const
void SetHostKernel(HostKernel value)
bool ComputeConfigurationHasBeenSet() const
ProjectEnvironment & WithHostKernel(HostKernel value)
ProjectEnvironment & WithType(EnvironmentType value)
AWS_CODEBUILD_API ProjectEnvironment(Aws::Utils::Json::JsonView jsonValue)
void SetImagePullCredentialsType(ImagePullCredentialsType value)
ComputeType GetComputeType() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
ProjectEnvironment & WithRegistryCredential(RegistryCredentialT &&value)
ImagePullCredentialsType GetImagePullCredentialsType() const
const Aws::String & GetCertificate() const
ProjectEnvironment & AddEnvironmentVariables(EnvironmentVariablesT &&value)
void SetComputeConfiguration(ComputeConfigurationT &&value)
AWS_CODEBUILD_API ProjectEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFleet(FleetT &&value)
ProjectEnvironment & WithEnvironmentVariables(EnvironmentVariablesT &&value)
bool GetPrivilegedMode() const
const ComputeConfiguration & GetComputeConfiguration() const
bool ImagePullCredentialsTypeHasBeenSet() const
HostKernel GetHostKernel() const
bool EnvironmentVariablesHasBeenSet() const
ProjectEnvironment & WithComputeType(ComputeType value)
void SetImage(ImageT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectEnvironment & WithPrivilegedMode(bool value)
const DockerServer & GetDockerServer() const
void SetCertificate(CertificateT &&value)
ProjectEnvironment & WithCertificate(CertificateT &&value)
bool ComputeTypeHasBeenSet() const
ProjectEnvironment & WithComputeConfiguration(ComputeConfigurationT &&value)
bool FleetHasBeenSet() const
bool CertificateHasBeenSet() const
bool PrivilegedModeHasBeenSet() 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