7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsCodeBuildProjectEnvironmentRegistryCredential.h>
11#include <aws/securityhub/model/AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails.h>
50 template<
typename CertificateT = Aws::String>
51 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet =
true; m_certificate = std::forward<CertificateT>(value); }
52 template<
typename CertificateT = Aws::String>
63 template<
typename EnvironmentVariablesT = Aws::Vector<AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails>>
64 void SetEnvironmentVariables(EnvironmentVariablesT&& value) { m_environmentVariablesHasBeenSet =
true; m_environmentVariables = std::forward<EnvironmentVariablesT>(value); }
65 template<
typename EnvironmentVariablesT = Aws::Vector<AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails>>
67 template<
typename EnvironmentVariablesT = AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails>
78 inline void SetPrivilegedMode(
bool value) { m_privilegedModeHasBeenSet =
true; m_privilegedMode = value; }
95 template<
typename ImagePullCredentialsTypeT = Aws::String>
96 void SetImagePullCredentialsType(ImagePullCredentialsTypeT&& value) { m_imagePullCredentialsTypeHasBeenSet =
true; m_imagePullCredentialsType = std::forward<ImagePullCredentialsTypeT>(value); }
97 template<
typename ImagePullCredentialsTypeT = Aws::String>
107 template<
typename RegistryCredentialT = AwsCodeBuildProjectEnvironmentRegistryCredential>
108 void SetRegistryCredential(RegistryCredentialT&& value) { m_registryCredentialHasBeenSet =
true; m_registryCredential = std::forward<RegistryCredentialT>(value); }
109 template<
typename RegistryCredentialT = AwsCodeBuildProjectEnvironmentRegistryCredential>
135 template<
typename TypeT = Aws::String>
136 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
137 template<
typename TypeT = Aws::String>
143 bool m_certificateHasBeenSet =
false;
146 bool m_environmentVariablesHasBeenSet =
false;
148 bool m_privilegedMode{
false};
149 bool m_privilegedModeHasBeenSet =
false;
152 bool m_imagePullCredentialsTypeHasBeenSet =
false;
154 AwsCodeBuildProjectEnvironmentRegistryCredential m_registryCredential;
155 bool m_registryCredentialHasBeenSet =
false;
158 bool m_typeHasBeenSet =
false;
const AwsCodeBuildProjectEnvironmentRegistryCredential & GetRegistryCredential() const
bool TypeHasBeenSet() const
AWS_SECURITYHUB_API AwsCodeBuildProjectEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCertificate(CertificateT &&value)
bool RegistryCredentialHasBeenSet() const
const Aws::String & GetImagePullCredentialsType() const
AWS_SECURITYHUB_API AwsCodeBuildProjectEnvironment(Aws::Utils::Json::JsonView jsonValue)
bool CertificateHasBeenSet() const
bool ImagePullCredentialsTypeHasBeenSet() const
const Aws::String & GetType() const
const Aws::Vector< AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails > & GetEnvironmentVariables() const
void SetType(TypeT &&value)
AWS_SECURITYHUB_API AwsCodeBuildProjectEnvironment()=default
void SetImagePullCredentialsType(ImagePullCredentialsTypeT &&value)
AwsCodeBuildProjectEnvironment & AddEnvironmentVariables(EnvironmentVariablesT &&value)
AwsCodeBuildProjectEnvironment & WithEnvironmentVariables(EnvironmentVariablesT &&value)
AwsCodeBuildProjectEnvironment & WithImagePullCredentialsType(ImagePullCredentialsTypeT &&value)
AwsCodeBuildProjectEnvironment & WithPrivilegedMode(bool value)
void SetPrivilegedMode(bool value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCertificate() const
AwsCodeBuildProjectEnvironment & WithCertificate(CertificateT &&value)
AwsCodeBuildProjectEnvironment & WithRegistryCredential(RegistryCredentialT &&value)
AwsCodeBuildProjectEnvironment & WithType(TypeT &&value)
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
bool GetPrivilegedMode() const
void SetRegistryCredential(RegistryCredentialT &&value)
bool PrivilegedModeHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() 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