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/ComputeConfiguration.h>
12#include <aws/codebuild/model/ProjectFleet.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/codebuild/model/RegistryCredential.h>
15#include <aws/codebuild/model/ImagePullCredentialsType.h>
16#include <aws/codebuild/model/DockerServer.h>
17#include <aws/codebuild/model/EnvironmentVariable.h>
81 template<
typename ImageT = Aws::String>
82 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
83 template<
typename ImageT = Aws::String>
151 template<
typename ComputeConfigurationT = ComputeConfiguration>
152 void SetComputeConfiguration(ComputeConfigurationT&& value) { m_computeConfigurationHasBeenSet =
true; m_computeConfiguration = std::forward<ComputeConfigurationT>(value); }
153 template<
typename ComputeConfigurationT = ComputeConfiguration>
163 template<
typename FleetT = ProjectFleet>
164 void SetFleet(FleetT&& value) { m_fleetHasBeenSet =
true; m_fleet = std::forward<FleetT>(value); }
165 template<
typename FleetT = ProjectFleet>
176 template<
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
177 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
178 template<
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariable>>
180 template<
typename EnvironmentVariablesT = EnvironmentVariable>
204 inline void SetPrivilegedMode(
bool value) { m_privilegedModeHasBeenSet =
true; m_privilegedMode = value; }
217 template<
typename CertificateT = Aws::String>
218 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet =
true; m_certificate = std::forward<CertificateT>(value); }
219 template<
typename CertificateT = Aws::String>
229 template<
typename RegistryCredentialT = RegistryCredential>
230 void SetRegistryCredential(RegistryCredentialT&& value) { m_registryCredentialHasBeenSet =
true; m_registryCredential = std::forward<RegistryCredentialT>(value); }
231 template<
typename RegistryCredentialT = RegistryCredential>
258 template<
typename DockerServerT = DockerServer>
259 void SetDockerServer(DockerServerT&& value) { m_dockerServerHasBeenSet =
true; m_dockerServer = std::forward<DockerServerT>(value); }
260 template<
typename DockerServerT = DockerServer>
266 bool m_typeHasBeenSet =
false;
269 bool m_imageHasBeenSet =
false;
272 bool m_computeTypeHasBeenSet =
false;
274 ComputeConfiguration m_computeConfiguration;
275 bool m_computeConfigurationHasBeenSet =
false;
277 ProjectFleet m_fleet;
278 bool m_fleetHasBeenSet =
false;
281 bool m_environmentVariablesHasBeenSet =
false;
283 bool m_privilegedMode{
false};
284 bool m_privilegedModeHasBeenSet =
false;
287 bool m_certificateHasBeenSet =
false;
289 RegistryCredential m_registryCredential;
290 bool m_registryCredentialHasBeenSet =
false;
293 bool m_imagePullCredentialsTypeHasBeenSet =
false;
295 DockerServer m_dockerServer;
296 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