7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/EnvironmentType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/ComputeType.h>
11#include <aws/codebuild/model/ProjectFleet.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/codebuild/model/RegistryCredential.h>
14#include <aws/codebuild/model/ImagePullCredentialsType.h>
15#include <aws/codebuild/model/EnvironmentVariable.h>
104 inline void SetImage(
const char* value) { m_imageHasBeenSet =
true; m_image.assign(value); }
211 inline void SetPrivilegedMode(
bool value) { m_privilegedModeHasBeenSet =
true; m_privilegedMode = value; }
226 inline void SetCertificate(
const char* value) { m_certificateHasBeenSet =
true; m_certificate.assign(value); }
265 bool m_typeHasBeenSet =
false;
268 bool m_imageHasBeenSet =
false;
271 bool m_computeTypeHasBeenSet =
false;
274 bool m_fleetHasBeenSet =
false;
277 bool m_environmentVariablesHasBeenSet =
false;
279 bool m_privilegedMode;
280 bool m_privilegedModeHasBeenSet =
false;
283 bool m_certificateHasBeenSet =
false;
286 bool m_registryCredentialHasBeenSet =
false;
289 bool m_imagePullCredentialsTypeHasBeenSet =
false;
ProjectEnvironment & WithImage(const char *value)
ProjectEnvironment & WithRegistryCredential(RegistryCredential &&value)
void SetRegistryCredential(const RegistryCredential &value)
const ProjectFleet & GetFleet() const
void SetImagePullCredentialsType(const ImagePullCredentialsType &value)
const RegistryCredential & GetRegistryCredential() const
void SetImagePullCredentialsType(ImagePullCredentialsType &&value)
void SetImage(const char *value)
void SetCertificate(const char *value)
bool TypeHasBeenSet() const
ProjectEnvironment & WithCertificate(const Aws::String &value)
void SetPrivilegedMode(bool value)
const Aws::String & GetImage() const
void SetImage(Aws::String &&value)
void SetImage(const Aws::String &value)
void SetFleet(ProjectFleet &&value)
ProjectEnvironment & WithCertificate(Aws::String &&value)
ProjectEnvironment & AddEnvironmentVariables(const EnvironmentVariable &value)
const Aws::Vector< EnvironmentVariable > & GetEnvironmentVariables() const
bool ImageHasBeenSet() const
ProjectEnvironment & WithComputeType(ComputeType &&value)
ProjectEnvironment & WithEnvironmentVariables(Aws::Vector< EnvironmentVariable > &&value)
void SetFleet(const ProjectFleet &value)
ProjectEnvironment & WithFleet(const ProjectFleet &value)
bool RegistryCredentialHasBeenSet() const
ProjectEnvironment & WithCertificate(const char *value)
void SetEnvironmentVariables(const Aws::Vector< EnvironmentVariable > &value)
ProjectEnvironment & WithType(EnvironmentType &&value)
void SetCertificate(const Aws::String &value)
AWS_CODEBUILD_API ProjectEnvironment(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificate() const
ProjectEnvironment & WithComputeType(const ComputeType &value)
void SetCertificate(Aws::String &&value)
ProjectEnvironment & WithFleet(ProjectFleet &&value)
ProjectEnvironment & WithImagePullCredentialsType(ImagePullCredentialsType &&value)
AWS_CODEBUILD_API ProjectEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
ProjectEnvironment & WithImage(Aws::String &&value)
void SetType(EnvironmentType &&value)
bool GetPrivilegedMode() const
bool ImagePullCredentialsTypeHasBeenSet() const
ProjectEnvironment & WithImage(const Aws::String &value)
bool EnvironmentVariablesHasBeenSet() const
void SetRegistryCredential(RegistryCredential &&value)
AWS_CODEBUILD_API ProjectEnvironment()
void SetComputeType(ComputeType &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectEnvironment & WithPrivilegedMode(bool value)
const ComputeType & GetComputeType() const
void SetEnvironmentVariables(Aws::Vector< EnvironmentVariable > &&value)
void SetComputeType(const ComputeType &value)
const ImagePullCredentialsType & GetImagePullCredentialsType() const
ProjectEnvironment & WithEnvironmentVariables(const Aws::Vector< EnvironmentVariable > &value)
ProjectEnvironment & WithImagePullCredentialsType(const ImagePullCredentialsType &value)
ProjectEnvironment & WithType(const EnvironmentType &value)
ProjectEnvironment & AddEnvironmentVariables(EnvironmentVariable &&value)
const EnvironmentType & GetType() const
void SetType(const EnvironmentType &value)
ProjectEnvironment & WithRegistryCredential(const RegistryCredential &value)
bool ComputeTypeHasBeenSet() const
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