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/AwsCodeBuildProjectEnvironment.h>
11#include <aws/securityhub/model/AwsCodeBuildProjectSource.h>
12#include <aws/securityhub/model/AwsCodeBuildProjectLogsConfigDetails.h>
13#include <aws/securityhub/model/AwsCodeBuildProjectVpcConfig.h>
14#include <aws/securityhub/model/AwsCodeBuildProjectArtifactsDetails.h>
56 inline void SetEncryptionKey(
const char* value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey.assign(value); }
96 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
123 inline void SetServiceRole(
const char* value) { m_serviceRoleHasBeenSet =
true; m_serviceRole.assign(value); }
169 bool m_encryptionKeyHasBeenSet =
false;
172 bool m_artifactsHasBeenSet =
false;
175 bool m_environmentHasBeenSet =
false;
178 bool m_nameHasBeenSet =
false;
181 bool m_sourceHasBeenSet =
false;
184 bool m_serviceRoleHasBeenSet =
false;
187 bool m_logsConfigHasBeenSet =
false;
190 bool m_vpcConfigHasBeenSet =
false;
193 bool m_secondaryArtifactsHasBeenSet =
false;
void SetSource(const AwsCodeBuildProjectSource &value)
void SetSource(AwsCodeBuildProjectSource &&value)
bool VpcConfigHasBeenSet() const
AwsCodeBuildProjectDetails & WithEncryptionKey(const Aws::String &value)
bool ServiceRoleHasBeenSet() const
const AwsCodeBuildProjectEnvironment & GetEnvironment() const
void SetServiceRole(const Aws::String &value)
bool ArtifactsHasBeenSet() const
AwsCodeBuildProjectDetails & WithSecondaryArtifacts(const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &value)
void SetEncryptionKey(Aws::String &&value)
void SetEnvironment(const AwsCodeBuildProjectEnvironment &value)
void SetSecondaryArtifacts(Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &&value)
void SetEncryptionKey(const char *value)
void SetArtifacts(Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &&value)
void SetName(Aws::String &&value)
AwsCodeBuildProjectDetails & WithName(const Aws::String &value)
AwsCodeBuildProjectDetails & AddArtifacts(AwsCodeBuildProjectArtifactsDetails &&value)
const Aws::String & GetEncryptionKey() const
void SetName(const Aws::String &value)
AwsCodeBuildProjectDetails & WithArtifacts(Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &&value)
AwsCodeBuildProjectDetails & WithEncryptionKey(Aws::String &&value)
const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > & GetSecondaryArtifacts() const
AwsCodeBuildProjectDetails & WithServiceRole(const char *value)
const Aws::String & GetServiceRole() const
const AwsCodeBuildProjectSource & GetSource() const
void SetServiceRole(const char *value)
void SetLogsConfig(const AwsCodeBuildProjectLogsConfigDetails &value)
const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > & GetArtifacts() const
AwsCodeBuildProjectDetails & WithSecondaryArtifacts(Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &&value)
void SetSecondaryArtifacts(const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &value)
void SetEnvironment(AwsCodeBuildProjectEnvironment &&value)
AwsCodeBuildProjectDetails & WithVpcConfig(AwsCodeBuildProjectVpcConfig &&value)
void SetLogsConfig(AwsCodeBuildProjectLogsConfigDetails &&value)
AwsCodeBuildProjectDetails & WithName(Aws::String &&value)
AwsCodeBuildProjectDetails & WithSource(AwsCodeBuildProjectSource &&value)
void SetName(const char *value)
const AwsCodeBuildProjectVpcConfig & GetVpcConfig() const
bool EncryptionKeyHasBeenSet() const
AwsCodeBuildProjectDetails & AddSecondaryArtifacts(const AwsCodeBuildProjectArtifactsDetails &value)
void SetArtifacts(const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsCodeBuildProjectLogsConfigDetails & GetLogsConfig() const
AwsCodeBuildProjectDetails & WithVpcConfig(const AwsCodeBuildProjectVpcConfig &value)
AwsCodeBuildProjectDetails & WithEnvironment(AwsCodeBuildProjectEnvironment &&value)
AwsCodeBuildProjectDetails & WithServiceRole(Aws::String &&value)
bool EnvironmentHasBeenSet() const
AwsCodeBuildProjectDetails & WithEnvironment(const AwsCodeBuildProjectEnvironment &value)
AwsCodeBuildProjectDetails & AddSecondaryArtifacts(AwsCodeBuildProjectArtifactsDetails &&value)
void SetEncryptionKey(const Aws::String &value)
void SetVpcConfig(AwsCodeBuildProjectVpcConfig &&value)
AWS_SECURITYHUB_API AwsCodeBuildProjectDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectDetails & WithSource(const AwsCodeBuildProjectSource &value)
AwsCodeBuildProjectDetails & WithLogsConfig(const AwsCodeBuildProjectLogsConfigDetails &value)
bool NameHasBeenSet() const
void SetServiceRole(Aws::String &&value)
void SetVpcConfig(const AwsCodeBuildProjectVpcConfig &value)
AwsCodeBuildProjectDetails & WithLogsConfig(AwsCodeBuildProjectLogsConfigDetails &&value)
AWS_SECURITYHUB_API AwsCodeBuildProjectDetails()
bool SourceHasBeenSet() const
AwsCodeBuildProjectDetails & AddArtifacts(const AwsCodeBuildProjectArtifactsDetails &value)
AwsCodeBuildProjectDetails & WithEncryptionKey(const char *value)
AwsCodeBuildProjectDetails & WithArtifacts(const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > &value)
AwsCodeBuildProjectDetails & WithServiceRole(const Aws::String &value)
bool SecondaryArtifactsHasBeenSet() const
AWS_SECURITYHUB_API AwsCodeBuildProjectDetails(Aws::Utils::Json::JsonView jsonValue)
bool LogsConfigHasBeenSet() const
AwsCodeBuildProjectDetails & WithName(const char *value)
const Aws::String & GetName() 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