7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails.h>
11#include <aws/securityhub/model/AwsCodeBuildProjectEnvironmentRegistryCredential.h>
44 template <
typename CertificateT = Aws::String>
46 m_certificateHasBeenSet =
true;
47 m_certificate = std::forward<CertificateT>(value);
49 template <
typename CertificateT = Aws::String>
62 return m_environmentVariables;
65 template <
typename EnvironmentVariablesT = Aws::Vector<AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails>>
67 m_environmentVariablesHasBeenSet =
true;
68 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
70 template <
typename EnvironmentVariablesT = Aws::Vector<AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails>>
75 template <
typename EnvironmentVariablesT = AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails>
77 m_environmentVariablesHasBeenSet =
true;
78 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
91 m_privilegedModeHasBeenSet =
true;
92 m_privilegedMode = value;
113 template <
typename ImagePullCredentialsTypeT = Aws::String>
115 m_imagePullCredentialsTypeHasBeenSet =
true;
116 m_imagePullCredentialsType = std::forward<ImagePullCredentialsTypeT>(value);
118 template <
typename ImagePullCredentialsTypeT = Aws::String>
131 template <
typename RegistryCredentialT = AwsCodeBuildProjectEnvironmentRegistryCredential>
133 m_registryCredentialHasBeenSet =
true;
134 m_registryCredential = std::forward<RegistryCredentialT>(value);
136 template <
typename RegistryCredentialT = AwsCodeBuildProjectEnvironmentRegistryCredential>
165 template <
typename TypeT = Aws::String>
167 m_typeHasBeenSet =
true;
168 m_type = std::forward<TypeT>(value);
170 template <
typename TypeT = Aws::String>
172 SetType(std::forward<TypeT>(value));
181 bool m_privilegedMode{
false};
185 AwsCodeBuildProjectEnvironmentRegistryCredential m_registryCredential;
188 bool m_certificateHasBeenSet =
false;
189 bool m_environmentVariablesHasBeenSet =
false;
190 bool m_privilegedModeHasBeenSet =
false;
191 bool m_imagePullCredentialsTypeHasBeenSet =
false;
192 bool m_registryCredentialHasBeenSet =
false;
193 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