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/AwsCodeBuildProjectArtifactsDetails.h>
11#include <aws/securityhub/model/AwsCodeBuildProjectEnvironment.h>
12#include <aws/securityhub/model/AwsCodeBuildProjectLogsConfigDetails.h>
13#include <aws/securityhub/model/AwsCodeBuildProjectSource.h>
14#include <aws/securityhub/model/AwsCodeBuildProjectVpcConfig.h>
48 template <
typename EncryptionKeyT = Aws::String>
50 m_encryptionKeyHasBeenSet =
true;
51 m_encryptionKey = std::forward<EncryptionKeyT>(value);
53 template <
typename EncryptionKeyT = Aws::String>
66 template <
typename ArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
68 m_artifactsHasBeenSet =
true;
69 m_artifacts = std::forward<ArtifactsT>(value);
71 template <
typename ArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
76 template <
typename ArtifactsT = AwsCodeBuildProjectArtifactsDetails>
78 m_artifactsHasBeenSet =
true;
79 m_artifacts.emplace_back(std::forward<ArtifactsT>(value));
90 template <
typename EnvironmentT = AwsCodeBuildProjectEnvironment>
92 m_environmentHasBeenSet =
true;
93 m_environment = std::forward<EnvironmentT>(value);
95 template <
typename EnvironmentT = AwsCodeBuildProjectEnvironment>
108 template <
typename NameT = Aws::String>
110 m_nameHasBeenSet =
true;
111 m_name = std::forward<NameT>(value);
113 template <
typename NameT = Aws::String>
115 SetName(std::forward<NameT>(value));
126 template <
typename SourceT = AwsCodeBuildProjectSource>
128 m_sourceHasBeenSet =
true;
129 m_source = std::forward<SourceT>(value);
131 template <
typename SourceT = AwsCodeBuildProjectSource>
145 template <
typename ServiceRoleT = Aws::String>
147 m_serviceRoleHasBeenSet =
true;
148 m_serviceRole = std::forward<ServiceRoleT>(value);
150 template <
typename ServiceRoleT = Aws::String>
163 template <
typename LogsConfigT = AwsCodeBuildProjectLogsConfigDetails>
165 m_logsConfigHasBeenSet =
true;
166 m_logsConfig = std::forward<LogsConfigT>(value);
168 template <
typename LogsConfigT = AwsCodeBuildProjectLogsConfigDetails>
181 template <
typename VpcConfigT = AwsCodeBuildProjectVpcConfig>
183 m_vpcConfigHasBeenSet =
true;
184 m_vpcConfig = std::forward<VpcConfigT>(value);
186 template <
typename VpcConfigT = AwsCodeBuildProjectVpcConfig>
199 template <
typename SecondaryArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
201 m_secondaryArtifactsHasBeenSet =
true;
202 m_secondaryArtifacts = std::forward<SecondaryArtifactsT>(value);
204 template <
typename SecondaryArtifactsT = Aws::Vector<AwsCodeBuildProjectArtifactsDetails>>
209 template <
typename SecondaryArtifactsT = AwsCodeBuildProjectArtifactsDetails>
211 m_secondaryArtifactsHasBeenSet =
true;
212 m_secondaryArtifacts.emplace_back(std::forward<SecondaryArtifactsT>(value));
234 bool m_encryptionKeyHasBeenSet =
false;
235 bool m_artifactsHasBeenSet =
false;
236 bool m_environmentHasBeenSet =
false;
237 bool m_nameHasBeenSet =
false;
238 bool m_sourceHasBeenSet =
false;
239 bool m_serviceRoleHasBeenSet =
false;
240 bool m_logsConfigHasBeenSet =
false;
241 bool m_vpcConfigHasBeenSet =
false;
242 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