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/ImagePullCredentialsType.h>
14#include <aws/codebuild/model/ProjectFleet.h>
15#include <aws/codebuild/model/RegistryCredential.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
55 m_typeHasBeenSet =
true;
81 template <
typename ImageT = Aws::String>
83 m_imageHasBeenSet =
true;
84 m_image = std::forward<ImageT>(value);
86 template <
typename ImageT = Aws::String>
88 SetImage(std::forward<ImageT>(value));
147 m_computeTypeHasBeenSet =
true;
148 m_computeType = value;
163 template <
typename ComputeConfigurationT = ComputeConfiguration>
165 m_computeConfigurationHasBeenSet =
true;
166 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
168 template <
typename ComputeConfigurationT = ComputeConfiguration>
181 template <
typename FleetT = ProjectFleet>
183 m_fleetHasBeenSet =
true;
184 m_fleet = std::forward<FleetT>(value);
186 template <
typename FleetT = ProjectFleet>
188 SetFleet(std::forward<FleetT>(value));
200 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
202 m_environmentVariablesHasBeenSet =
true;
203 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
205 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
210 template <
typename EnvironmentVariablesT = EnvironmentVariable>
212 m_environmentVariablesHasBeenSet =
true;
213 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
239 m_privilegedModeHasBeenSet =
true;
240 m_privilegedMode = value;
257 template <
typename CertificateT = Aws::String>
259 m_certificateHasBeenSet =
true;
260 m_certificate = std::forward<CertificateT>(value);
262 template <
typename CertificateT = Aws::String>
275 template <
typename RegistryCredentialT = RegistryCredential>
277 m_registryCredentialHasBeenSet =
true;
278 m_registryCredential = std::forward<RegistryCredentialT>(value);
280 template <
typename RegistryCredentialT = RegistryCredential>
301 m_imagePullCredentialsTypeHasBeenSet =
true;
302 m_imagePullCredentialsType = value;
316 template <
typename DockerServerT = DockerServer>
318 m_dockerServerHasBeenSet =
true;
319 m_dockerServer = std::forward<DockerServerT>(value);
321 template <
typename DockerServerT = DockerServer>
329 bool m_typeHasBeenSet =
false;
332 bool m_imageHasBeenSet =
false;
335 bool m_computeTypeHasBeenSet =
false;
337 ComputeConfiguration m_computeConfiguration;
338 bool m_computeConfigurationHasBeenSet =
false;
340 ProjectFleet m_fleet;
341 bool m_fleetHasBeenSet =
false;
344 bool m_environmentVariablesHasBeenSet =
false;
346 bool m_privilegedMode{
false};
347 bool m_privilegedModeHasBeenSet =
false;
350 bool m_certificateHasBeenSet =
false;
352 RegistryCredential m_registryCredential;
353 bool m_registryCredentialHasBeenSet =
false;
356 bool m_imagePullCredentialsTypeHasBeenSet =
false;
358 DockerServer m_dockerServer;
359 bool m_dockerServerHasBeenSet =
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)
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
bool ComputeConfigurationHasBeenSet() const
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
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