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>
54 template<
typename EncryptionKeyT = Aws::String>
55 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet =
true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
56 template<
typename EncryptionKeyT = Aws::String>
66 template<
typename ArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
67 void SetArtifacts(ArtifactsT&& value) { m_artifactsHasBeenSet =
true; m_artifacts = std::forward<ArtifactsT>(value); }
68 template<
typename ArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
70 template<
typename ArtifactsT = AwsCodeBuildProjectArtifactsDetails>
80 template<
typename EnvironmentT = AwsCodeBuildProjectEnvironment>
81 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet =
true; m_environment = std::forward<EnvironmentT>(value); }
82 template<
typename EnvironmentT = AwsCodeBuildProjectEnvironment>
92 template<
typename NameT = Aws::String>
93 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
94 template<
typename NameT = Aws::String>
104 template<
typename SourceT = AwsCodeBuildProjectSource>
105 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
106 template<
typename SourceT = AwsCodeBuildProjectSource>
117 template<
typename ServiceRoleT = Aws::String>
118 void SetServiceRole(ServiceRoleT&& value) { m_serviceRoleHasBeenSet =
true; m_serviceRole = std::forward<ServiceRoleT>(value); }
119 template<
typename ServiceRoleT = Aws::String>
129 template<
typename LogsConfigT = AwsCodeBuildProjectLogsConfigDetails>
130 void SetLogsConfig(LogsConfigT&& value) { m_logsConfigHasBeenSet =
true; m_logsConfig = std::forward<LogsConfigT>(value); }
131 template<
typename LogsConfigT = AwsCodeBuildProjectLogsConfigDetails>
141 template<
typename VpcConfigT = AwsCodeBuildProjectVpcConfig>
142 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
143 template<
typename VpcConfigT = AwsCodeBuildProjectVpcConfig>
153 template<
typename SecondaryArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
154 void SetSecondaryArtifacts(SecondaryArtifactsT&& value) { m_secondaryArtifactsHasBeenSet =
true; m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value); }
155 template<
typename SecondaryArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
157 template<
typename SecondaryArtifactsT = AwsCodeBuildProjectArtifactsDetails>
163 bool m_encryptionKeyHasBeenSet =
false;
166 bool m_artifactsHasBeenSet =
false;
169 bool m_environmentHasBeenSet =
false;
172 bool m_nameHasBeenSet =
false;
175 bool m_sourceHasBeenSet =
false;
178 bool m_serviceRoleHasBeenSet =
false;
181 bool m_logsConfigHasBeenSet =
false;
184 bool m_vpcConfigHasBeenSet =
false;
187 bool m_secondaryArtifactsHasBeenSet =
false;
bool VpcConfigHasBeenSet() const
AWS_SECURITYHUB_API AwsCodeBuildProjectDetails()=default
bool ServiceRoleHasBeenSet() const
void SetLogsConfig(LogsConfigT &&value)
const AwsCodeBuildProjectEnvironment & GetEnvironment() const
bool ArtifactsHasBeenSet() const
AwsCodeBuildProjectDetails & AddSecondaryArtifacts(SecondaryArtifactsT &&value)
void SetEncryptionKey(EncryptionKeyT &&value)
void SetEnvironment(EnvironmentT &&value)
AwsCodeBuildProjectDetails & WithName(NameT &&value)
void SetSource(SourceT &&value)
const Aws::String & GetEncryptionKey() const
AwsCodeBuildProjectDetails & WithEnvironment(EnvironmentT &&value)
const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > & GetSecondaryArtifacts() const
const Aws::String & GetServiceRole() const
const AwsCodeBuildProjectSource & GetSource() const
void SetName(NameT &&value)
const Aws::Vector< AwsCodeBuildProjectArtifactsDetails > & GetArtifacts() const
void SetVpcConfig(VpcConfigT &&value)
AwsCodeBuildProjectDetails & WithArtifacts(ArtifactsT &&value)
const AwsCodeBuildProjectVpcConfig & GetVpcConfig() const
bool EncryptionKeyHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsCodeBuildProjectLogsConfigDetails & GetLogsConfig() const
AwsCodeBuildProjectDetails & WithLogsConfig(LogsConfigT &&value)
bool EnvironmentHasBeenSet() const
void SetSecondaryArtifacts(SecondaryArtifactsT &&value)
AWS_SECURITYHUB_API AwsCodeBuildProjectDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsCodeBuildProjectDetails & WithSecondaryArtifacts(SecondaryArtifactsT &&value)
bool NameHasBeenSet() const
AwsCodeBuildProjectDetails & WithServiceRole(ServiceRoleT &&value)
AwsCodeBuildProjectDetails & WithSource(SourceT &&value)
bool SourceHasBeenSet() const
AwsCodeBuildProjectDetails & WithVpcConfig(VpcConfigT &&value)
AwsCodeBuildProjectDetails & WithEncryptionKey(EncryptionKeyT &&value)
void SetServiceRole(ServiceRoleT &&value)
AwsCodeBuildProjectDetails & AddArtifacts(ArtifactsT &&value)
void SetArtifacts(ArtifactsT &&value)
bool SecondaryArtifactsHasBeenSet() const
AWS_SECURITYHUB_API AwsCodeBuildProjectDetails(Aws::Utils::Json::JsonView jsonValue)
bool LogsConfigHasBeenSet() const
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