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>
52 inline void SetCertificate(
const char* value) { m_certificateHasBeenSet =
true; m_certificate.assign(value); }
80 inline void SetPrivilegedMode(
bool value) { m_privilegedModeHasBeenSet =
true; m_privilegedMode = value; }
99 inline void SetImagePullCredentialsType(
const char* value) { m_imagePullCredentialsTypeHasBeenSet =
true; m_imagePullCredentialsType.assign(value); }
141 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
149 bool m_certificateHasBeenSet =
false;
152 bool m_environmentVariablesHasBeenSet =
false;
154 bool m_privilegedMode;
155 bool m_privilegedModeHasBeenSet =
false;
158 bool m_imagePullCredentialsTypeHasBeenSet =
false;
161 bool m_registryCredentialHasBeenSet =
false;
164 bool m_typeHasBeenSet =
false;
AwsCodeBuildProjectEnvironment & WithType(const Aws::String &value)
const AwsCodeBuildProjectEnvironmentRegistryCredential & GetRegistryCredential() const
bool TypeHasBeenSet() const
AwsCodeBuildProjectEnvironment & AddEnvironmentVariables(const AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails &value)
AwsCodeBuildProjectEnvironment & WithType(const char *value)
AWS_SECURITYHUB_API AwsCodeBuildProjectEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectEnvironment & WithCertificate(const char *value)
void SetCertificate(const Aws::String &value)
void SetImagePullCredentialsType(Aws::String &&value)
void SetType(Aws::String &&value)
bool RegistryCredentialHasBeenSet() const
AwsCodeBuildProjectEnvironment & WithCertificate(Aws::String &&value)
const Aws::String & GetImagePullCredentialsType() const
AwsCodeBuildProjectEnvironment & AddEnvironmentVariables(AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails &&value)
AWS_SECURITYHUB_API AwsCodeBuildProjectEnvironment(Aws::Utils::Json::JsonView jsonValue)
bool CertificateHasBeenSet() const
bool ImagePullCredentialsTypeHasBeenSet() const
AwsCodeBuildProjectEnvironment & WithCertificate(const Aws::String &value)
AwsCodeBuildProjectEnvironment & WithImagePullCredentialsType(const Aws::String &value)
const Aws::String & GetType() const
AwsCodeBuildProjectEnvironment & WithEnvironmentVariables(const Aws::Vector< AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails > &value)
AwsCodeBuildProjectEnvironment & WithRegistryCredential(const AwsCodeBuildProjectEnvironmentRegistryCredential &value)
const Aws::Vector< AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails > & GetEnvironmentVariables() const
AwsCodeBuildProjectEnvironment & WithImagePullCredentialsType(const char *value)
AWS_SECURITYHUB_API AwsCodeBuildProjectEnvironment()
void SetType(const char *value)
void SetEnvironmentVariables(Aws::Vector< AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails > &&value)
void SetRegistryCredential(AwsCodeBuildProjectEnvironmentRegistryCredential &&value)
AwsCodeBuildProjectEnvironment & WithType(Aws::String &&value)
void SetEnvironmentVariables(const Aws::Vector< AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails > &value)
void SetImagePullCredentialsType(const char *value)
AwsCodeBuildProjectEnvironment & WithEnvironmentVariables(Aws::Vector< AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails > &&value)
void SetCertificate(Aws::String &&value)
void SetType(const Aws::String &value)
void SetCertificate(const char *value)
AwsCodeBuildProjectEnvironment & WithPrivilegedMode(bool value)
void SetRegistryCredential(const AwsCodeBuildProjectEnvironmentRegistryCredential &value)
void SetPrivilegedMode(bool value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCertificate() const
AwsCodeBuildProjectEnvironment & WithImagePullCredentialsType(Aws::String &&value)
AwsCodeBuildProjectEnvironment & WithRegistryCredential(AwsCodeBuildProjectEnvironmentRegistryCredential &&value)
bool GetPrivilegedMode() const
bool PrivilegedModeHasBeenSet() const
bool EnvironmentVariablesHasBeenSet() const
void SetImagePullCredentialsType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue