AWS SDK for C++  1.9.72
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::AwsCodeBuildProjectSource Class Reference

#include <AwsCodeBuildProjectSource.h>

Public Member Functions

 AwsCodeBuildProjectSource ()
 
 AwsCodeBuildProjectSource (Aws::Utils::Json::JsonView jsonValue)
 
AwsCodeBuildProjectSourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
AwsCodeBuildProjectSourceWithType (const Aws::String &value)
 
AwsCodeBuildProjectSourceWithType (Aws::String &&value)
 
AwsCodeBuildProjectSourceWithType (const char *value)
 
const Aws::StringGetLocation () const
 
bool LocationHasBeenSet () const
 
void SetLocation (const Aws::String &value)
 
void SetLocation (Aws::String &&value)
 
void SetLocation (const char *value)
 
AwsCodeBuildProjectSourceWithLocation (const Aws::String &value)
 
AwsCodeBuildProjectSourceWithLocation (Aws::String &&value)
 
AwsCodeBuildProjectSourceWithLocation (const char *value)
 
int GetGitCloneDepth () const
 
bool GitCloneDepthHasBeenSet () const
 
void SetGitCloneDepth (int value)
 
AwsCodeBuildProjectSourceWithGitCloneDepth (int value)
 
bool GetInsecureSsl () const
 
bool InsecureSslHasBeenSet () const
 
void SetInsecureSsl (bool value)
 
AwsCodeBuildProjectSourceWithInsecureSsl (bool value)
 

Detailed Description

Information about the build input source code for this build project.

See Also:

AWS API Reference

Definition at line 32 of file AwsCodeBuildProjectSource.h.

Constructor & Destructor Documentation

◆ AwsCodeBuildProjectSource() [1/2]

Aws::SecurityHub::Model::AwsCodeBuildProjectSource::AwsCodeBuildProjectSource ( )

◆ AwsCodeBuildProjectSource() [2/2]

Aws::SecurityHub::Model::AwsCodeBuildProjectSource::AwsCodeBuildProjectSource ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetGitCloneDepth()

int Aws::SecurityHub::Model::AwsCodeBuildProjectSource::GetGitCloneDepth ( ) const
inline

Information about the Git clone depth for the build project.

Definition at line 342 of file AwsCodeBuildProjectSource.h.

◆ GetInsecureSsl()

bool Aws::SecurityHub::Model::AwsCodeBuildProjectSource::GetInsecureSsl ( ) const
inline

Whether to ignore SSL warnings while connecting to the project source code.

Definition at line 364 of file AwsCodeBuildProjectSource.h.

◆ GetLocation()

const Aws::String& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::GetLocation ( ) const
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 182 of file AwsCodeBuildProjectSource.h.

◆ GetType()

const Aws::String& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::GetType ( ) const
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 54 of file AwsCodeBuildProjectSource.h.

◆ GitCloneDepthHasBeenSet()

bool Aws::SecurityHub::Model::AwsCodeBuildProjectSource::GitCloneDepthHasBeenSet ( ) const
inline

Information about the Git clone depth for the build project.

Definition at line 347 of file AwsCodeBuildProjectSource.h.

◆ InsecureSslHasBeenSet()

bool Aws::SecurityHub::Model::AwsCodeBuildProjectSource::InsecureSslHasBeenSet ( ) const
inline

Whether to ignore SSL warnings while connecting to the project source code.

Definition at line 370 of file AwsCodeBuildProjectSource.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::AwsCodeBuildProjectSource::Jsonize ( ) const

◆ LocationHasBeenSet()

bool Aws::SecurityHub::Model::AwsCodeBuildProjectSource::LocationHasBeenSet ( ) const
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 204 of file AwsCodeBuildProjectSource.h.

◆ operator=()

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetGitCloneDepth()

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetGitCloneDepth ( int  value)
inline

Information about the Git clone depth for the build project.

Definition at line 352 of file AwsCodeBuildProjectSource.h.

◆ SetInsecureSsl()

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetInsecureSsl ( bool  value)
inline

Whether to ignore SSL warnings while connecting to the project source code.

Definition at line 376 of file AwsCodeBuildProjectSource.h.

◆ SetLocation() [1/3]

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetLocation ( Aws::String &&  value)
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 248 of file AwsCodeBuildProjectSource.h.

◆ SetLocation() [2/3]

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetLocation ( const Aws::String value)
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 226 of file AwsCodeBuildProjectSource.h.

◆ SetLocation() [3/3]

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetLocation ( const char *  value)
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 270 of file AwsCodeBuildProjectSource.h.

◆ SetType() [1/3]

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetType ( Aws::String &&  value)
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 99 of file AwsCodeBuildProjectSource.h.

◆ SetType() [2/3]

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetType ( const Aws::String value)
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 84 of file AwsCodeBuildProjectSource.h.

◆ SetType() [3/3]

void Aws::SecurityHub::Model::AwsCodeBuildProjectSource::SetType ( const char *  value)
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 114 of file AwsCodeBuildProjectSource.h.

◆ TypeHasBeenSet()

bool Aws::SecurityHub::Model::AwsCodeBuildProjectSource::TypeHasBeenSet ( ) const
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 69 of file AwsCodeBuildProjectSource.h.

◆ WithGitCloneDepth()

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithGitCloneDepth ( int  value)
inline

Information about the Git clone depth for the build project.

Definition at line 357 of file AwsCodeBuildProjectSource.h.

◆ WithInsecureSsl()

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithInsecureSsl ( bool  value)
inline

Whether to ignore SSL warnings while connecting to the project source code.

Definition at line 382 of file AwsCodeBuildProjectSource.h.

◆ WithLocation() [1/3]

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithLocation ( Aws::String &&  value)
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 314 of file AwsCodeBuildProjectSource.h.

◆ WithLocation() [2/3]

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithLocation ( const Aws::String value)
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 292 of file AwsCodeBuildProjectSource.h.

◆ WithLocation() [3/3]

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithLocation ( const char *  value)
inline

Information about the location of the source code to be built.

Valid values include:

  • For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value.

  • For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the build spec file (for example, https://git-codecommit.region-ID.amazonaws.com/v1/repos/repo-name ).

  • For source code in an S3 input bucket, one of the following.

    • The path to the ZIP file that contains the source code (for example, bucket-name/path/to/object-name.zip).

    • The path to the folder that contains the source code (for example, bucket-name/path/to/source-code/folder/).

  • For source code in a GitHub repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

  • For source code in a Bitbucket repository, the HTTPS clone URL to the repository that contains the source and the build spec file.

Definition at line 336 of file AwsCodeBuildProjectSource.h.

◆ WithType() [1/3]

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithType ( Aws::String &&  value)
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 144 of file AwsCodeBuildProjectSource.h.

◆ WithType() [2/3]

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithType ( const Aws::String value)
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 129 of file AwsCodeBuildProjectSource.h.

◆ WithType() [3/3]

AwsCodeBuildProjectSource& Aws::SecurityHub::Model::AwsCodeBuildProjectSource::WithType ( const char *  value)
inline

The type of repository that contains the source code to be built. Valid values are:

  • BITBUCKET - The source code is in a Bitbucket repository.

  • CODECOMMIT - The source code is in an CodeCommit repository.

  • CODEPIPELINE - The source code settings are specified in the source action of a pipeline in CodePipeline.

  • GITHUB - The source code is in a GitHub repository.

  • GITHUB_ENTERPRISE - The source code is in a GitHub Enterprise repository.

  • NO_SOURCE - The project does not have input source code.

  • S3 - The source code is in an S3 input bucket.

Definition at line 159 of file AwsCodeBuildProjectSource.h.


The documentation for this class was generated from the following file: