AWS SDK for C++  1.8.94
AWS SDK for C++
Public Member Functions | List of all members
Aws::CodeGuruReviewer::Model::RepositoryAssociation Class Reference

#include <RepositoryAssociation.h>

Public Member Functions

 RepositoryAssociation ()
 
 RepositoryAssociation (Aws::Utils::Json::JsonView jsonValue)
 
RepositoryAssociationoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetAssociationId () const
 
bool AssociationIdHasBeenSet () const
 
void SetAssociationId (const Aws::String &value)
 
void SetAssociationId (Aws::String &&value)
 
void SetAssociationId (const char *value)
 
RepositoryAssociationWithAssociationId (const Aws::String &value)
 
RepositoryAssociationWithAssociationId (Aws::String &&value)
 
RepositoryAssociationWithAssociationId (const char *value)
 
const Aws::StringGetAssociationArn () const
 
bool AssociationArnHasBeenSet () const
 
void SetAssociationArn (const Aws::String &value)
 
void SetAssociationArn (Aws::String &&value)
 
void SetAssociationArn (const char *value)
 
RepositoryAssociationWithAssociationArn (const Aws::String &value)
 
RepositoryAssociationWithAssociationArn (Aws::String &&value)
 
RepositoryAssociationWithAssociationArn (const char *value)
 
const Aws::StringGetConnectionArn () const
 
bool ConnectionArnHasBeenSet () const
 
void SetConnectionArn (const Aws::String &value)
 
void SetConnectionArn (Aws::String &&value)
 
void SetConnectionArn (const char *value)
 
RepositoryAssociationWithConnectionArn (const Aws::String &value)
 
RepositoryAssociationWithConnectionArn (Aws::String &&value)
 
RepositoryAssociationWithConnectionArn (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
RepositoryAssociationWithName (const Aws::String &value)
 
RepositoryAssociationWithName (Aws::String &&value)
 
RepositoryAssociationWithName (const char *value)
 
const Aws::StringGetOwner () const
 
bool OwnerHasBeenSet () const
 
void SetOwner (const Aws::String &value)
 
void SetOwner (Aws::String &&value)
 
void SetOwner (const char *value)
 
RepositoryAssociationWithOwner (const Aws::String &value)
 
RepositoryAssociationWithOwner (Aws::String &&value)
 
RepositoryAssociationWithOwner (const char *value)
 
const ProviderTypeGetProviderType () const
 
bool ProviderTypeHasBeenSet () const
 
void SetProviderType (const ProviderType &value)
 
void SetProviderType (ProviderType &&value)
 
RepositoryAssociationWithProviderType (const ProviderType &value)
 
RepositoryAssociationWithProviderType (ProviderType &&value)
 
const RepositoryAssociationStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const RepositoryAssociationState &value)
 
void SetState (RepositoryAssociationState &&value)
 
RepositoryAssociationWithState (const RepositoryAssociationState &value)
 
RepositoryAssociationWithState (RepositoryAssociationState &&value)
 
const Aws::StringGetStateReason () const
 
bool StateReasonHasBeenSet () const
 
void SetStateReason (const Aws::String &value)
 
void SetStateReason (Aws::String &&value)
 
void SetStateReason (const char *value)
 
RepositoryAssociationWithStateReason (const Aws::String &value)
 
RepositoryAssociationWithStateReason (Aws::String &&value)
 
RepositoryAssociationWithStateReason (const char *value)
 
const Aws::Utils::DateTimeGetLastUpdatedTimeStamp () const
 
bool LastUpdatedTimeStampHasBeenSet () const
 
void SetLastUpdatedTimeStamp (const Aws::Utils::DateTime &value)
 
void SetLastUpdatedTimeStamp (Aws::Utils::DateTime &&value)
 
RepositoryAssociationWithLastUpdatedTimeStamp (const Aws::Utils::DateTime &value)
 
RepositoryAssociationWithLastUpdatedTimeStamp (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetCreatedTimeStamp () const
 
bool CreatedTimeStampHasBeenSet () const
 
void SetCreatedTimeStamp (const Aws::Utils::DateTime &value)
 
void SetCreatedTimeStamp (Aws::Utils::DateTime &&value)
 
RepositoryAssociationWithCreatedTimeStamp (const Aws::Utils::DateTime &value)
 
RepositoryAssociationWithCreatedTimeStamp (Aws::Utils::DateTime &&value)
 

Detailed Description

Information about a repository association. The DescribeRepositoryAssociation operation returns a RepositoryAssociation object.

See Also:

AWS API Reference

Definition at line 37 of file RepositoryAssociation.h.

Constructor & Destructor Documentation

◆ RepositoryAssociation() [1/2]

Aws::CodeGuruReviewer::Model::RepositoryAssociation::RepositoryAssociation ( )

◆ RepositoryAssociation() [2/2]

Aws::CodeGuruReviewer::Model::RepositoryAssociation::RepositoryAssociation ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AssociationArnHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::AssociationArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 95 of file RepositoryAssociation.h.

◆ AssociationIdHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::AssociationIdHasBeenSet ( ) const
inline

The ID of the repository association.

Definition at line 54 of file RepositoryAssociation.h.

◆ ConnectionArnHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::ConnectionArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 148 of file RepositoryAssociation.h.

◆ CreatedTimeStampHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::CreatedTimeStampHasBeenSet ( ) const
inline

The time, in milliseconds since the epoch, when the repository association was created.

Definition at line 599 of file RepositoryAssociation.h.

◆ GetAssociationArn()

const Aws::String& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetAssociationArn ( ) const
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 90 of file RepositoryAssociation.h.

◆ GetAssociationId()

const Aws::String& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetAssociationId ( ) const
inline

The ID of the repository association.

Definition at line 49 of file RepositoryAssociation.h.

◆ GetConnectionArn()

const Aws::String& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetConnectionArn ( ) const
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 137 of file RepositoryAssociation.h.

◆ GetCreatedTimeStamp()

const Aws::Utils::DateTime& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetCreatedTimeStamp ( ) const
inline

The time, in milliseconds since the epoch, when the repository association was created.

Definition at line 593 of file RepositoryAssociation.h.

◆ GetLastUpdatedTimeStamp()

const Aws::Utils::DateTime& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetLastUpdatedTimeStamp ( ) const
inline

The time, in milliseconds since the epoch, when the repository association was last updated.

Definition at line 556 of file RepositoryAssociation.h.

◆ GetName()

const Aws::String& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetName ( ) const
inline

The name of the repository.

Definition at line 220 of file RepositoryAssociation.h.

◆ GetOwner()

const Aws::String& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetOwner ( ) const
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 264 of file RepositoryAssociation.h.

◆ GetProviderType()

const ProviderType& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetProviderType ( ) const
inline

The provider type of the repository association.

Definition at line 326 of file RepositoryAssociation.h.

◆ GetState()

const RepositoryAssociationState& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetState ( ) const
inline

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Definition at line 378 of file RepositoryAssociation.h.

◆ GetStateReason()

const Aws::String& Aws::CodeGuruReviewer::Model::RepositoryAssociation::GetStateReason ( ) const
inline

A description of why the repository association is in the current state.

Definition at line 514 of file RepositoryAssociation.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CodeGuruReviewer::Model::RepositoryAssociation::Jsonize ( ) const

◆ LastUpdatedTimeStampHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::LastUpdatedTimeStampHasBeenSet ( ) const
inline

The time, in milliseconds since the epoch, when the repository association was last updated.

Definition at line 562 of file RepositoryAssociation.h.

◆ NameHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::NameHasBeenSet ( ) const
inline

The name of the repository.

Definition at line 225 of file RepositoryAssociation.h.

◆ operator=()

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OwnerHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::OwnerHasBeenSet ( ) const
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 272 of file RepositoryAssociation.h.

◆ ProviderTypeHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::ProviderTypeHasBeenSet ( ) const
inline

The provider type of the repository association.

Definition at line 331 of file RepositoryAssociation.h.

◆ SetAssociationArn() [1/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetAssociationArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 100 of file RepositoryAssociation.h.

◆ SetAssociationArn() [2/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetAssociationArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 105 of file RepositoryAssociation.h.

◆ SetAssociationArn() [3/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetAssociationArn ( const char *  value)
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 110 of file RepositoryAssociation.h.

◆ SetAssociationId() [1/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetAssociationId ( const Aws::String value)
inline

The ID of the repository association.

Definition at line 59 of file RepositoryAssociation.h.

◆ SetAssociationId() [2/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetAssociationId ( Aws::String &&  value)
inline

The ID of the repository association.

Definition at line 64 of file RepositoryAssociation.h.

◆ SetAssociationId() [3/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetAssociationId ( const char *  value)
inline

The ID of the repository association.

Definition at line 69 of file RepositoryAssociation.h.

◆ SetConnectionArn() [1/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetConnectionArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 159 of file RepositoryAssociation.h.

◆ SetConnectionArn() [2/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetConnectionArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 170 of file RepositoryAssociation.h.

◆ SetConnectionArn() [3/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetConnectionArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 181 of file RepositoryAssociation.h.

◆ SetCreatedTimeStamp() [1/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetCreatedTimeStamp ( const Aws::Utils::DateTime value)
inline

The time, in milliseconds since the epoch, when the repository association was created.

Definition at line 605 of file RepositoryAssociation.h.

◆ SetCreatedTimeStamp() [2/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetCreatedTimeStamp ( Aws::Utils::DateTime &&  value)
inline

The time, in milliseconds since the epoch, when the repository association was created.

Definition at line 611 of file RepositoryAssociation.h.

◆ SetLastUpdatedTimeStamp() [1/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetLastUpdatedTimeStamp ( const Aws::Utils::DateTime value)
inline

The time, in milliseconds since the epoch, when the repository association was last updated.

Definition at line 568 of file RepositoryAssociation.h.

◆ SetLastUpdatedTimeStamp() [2/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetLastUpdatedTimeStamp ( Aws::Utils::DateTime &&  value)
inline

The time, in milliseconds since the epoch, when the repository association was last updated.

Definition at line 574 of file RepositoryAssociation.h.

◆ SetName() [1/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetName ( const Aws::String value)
inline

The name of the repository.

Definition at line 230 of file RepositoryAssociation.h.

◆ SetName() [2/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetName ( Aws::String &&  value)
inline

The name of the repository.

Definition at line 235 of file RepositoryAssociation.h.

◆ SetName() [3/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetName ( const char *  value)
inline

The name of the repository.

Definition at line 240 of file RepositoryAssociation.h.

◆ SetOwner() [1/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetOwner ( const Aws::String value)
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 280 of file RepositoryAssociation.h.

◆ SetOwner() [2/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetOwner ( Aws::String &&  value)
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 288 of file RepositoryAssociation.h.

◆ SetOwner() [3/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetOwner ( const char *  value)
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 296 of file RepositoryAssociation.h.

◆ SetProviderType() [1/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetProviderType ( const ProviderType value)
inline

The provider type of the repository association.

Definition at line 336 of file RepositoryAssociation.h.

◆ SetProviderType() [2/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetProviderType ( ProviderType &&  value)
inline

The provider type of the repository association.

Definition at line 341 of file RepositoryAssociation.h.

◆ SetState() [1/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetState ( const RepositoryAssociationState value)
inline

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Definition at line 430 of file RepositoryAssociation.h.

◆ SetState() [2/2]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetState ( RepositoryAssociationState &&  value)
inline

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Definition at line 456 of file RepositoryAssociation.h.

◆ SetStateReason() [1/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetStateReason ( const Aws::String value)
inline

A description of why the repository association is in the current state.

Definition at line 524 of file RepositoryAssociation.h.

◆ SetStateReason() [2/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetStateReason ( Aws::String &&  value)
inline

A description of why the repository association is in the current state.

Definition at line 529 of file RepositoryAssociation.h.

◆ SetStateReason() [3/3]

void Aws::CodeGuruReviewer::Model::RepositoryAssociation::SetStateReason ( const char *  value)
inline

A description of why the repository association is in the current state.

Definition at line 534 of file RepositoryAssociation.h.

◆ StateHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::StateHasBeenSet ( ) const
inline

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Definition at line 404 of file RepositoryAssociation.h.

◆ StateReasonHasBeenSet()

bool Aws::CodeGuruReviewer::Model::RepositoryAssociation::StateReasonHasBeenSet ( ) const
inline

A description of why the repository association is in the current state.

Definition at line 519 of file RepositoryAssociation.h.

◆ WithAssociationArn() [1/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithAssociationArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 115 of file RepositoryAssociation.h.

◆ WithAssociationArn() [2/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithAssociationArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 120 of file RepositoryAssociation.h.

◆ WithAssociationArn() [3/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithAssociationArn ( const char *  value)
inline

The Amazon Resource Name (ARN) identifying the repository association.

Definition at line 125 of file RepositoryAssociation.h.

◆ WithAssociationId() [1/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithAssociationId ( const Aws::String value)
inline

The ID of the repository association.

Definition at line 74 of file RepositoryAssociation.h.

◆ WithAssociationId() [2/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithAssociationId ( Aws::String &&  value)
inline

The ID of the repository association.

Definition at line 79 of file RepositoryAssociation.h.

◆ WithAssociationId() [3/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithAssociationId ( const char *  value)
inline

The ID of the repository association.

Definition at line 84 of file RepositoryAssociation.h.

◆ WithConnectionArn() [1/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithConnectionArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 192 of file RepositoryAssociation.h.

◆ WithConnectionArn() [2/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithConnectionArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 203 of file RepositoryAssociation.h.

◆ WithConnectionArn() [3/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithConnectionArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of an AWS CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id. For more information, see Connection in the AWS CodeStar Connections API Reference.

Definition at line 214 of file RepositoryAssociation.h.

◆ WithCreatedTimeStamp() [1/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithCreatedTimeStamp ( const Aws::Utils::DateTime value)
inline

The time, in milliseconds since the epoch, when the repository association was created.

Definition at line 617 of file RepositoryAssociation.h.

◆ WithCreatedTimeStamp() [2/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithCreatedTimeStamp ( Aws::Utils::DateTime &&  value)
inline

The time, in milliseconds since the epoch, when the repository association was created.

Definition at line 623 of file RepositoryAssociation.h.

◆ WithLastUpdatedTimeStamp() [1/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithLastUpdatedTimeStamp ( const Aws::Utils::DateTime value)
inline

The time, in milliseconds since the epoch, when the repository association was last updated.

Definition at line 580 of file RepositoryAssociation.h.

◆ WithLastUpdatedTimeStamp() [2/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithLastUpdatedTimeStamp ( Aws::Utils::DateTime &&  value)
inline

The time, in milliseconds since the epoch, when the repository association was last updated.

Definition at line 586 of file RepositoryAssociation.h.

◆ WithName() [1/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithName ( const Aws::String value)
inline

The name of the repository.

Definition at line 245 of file RepositoryAssociation.h.

◆ WithName() [2/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithName ( Aws::String &&  value)
inline

The name of the repository.

Definition at line 250 of file RepositoryAssociation.h.

◆ WithName() [3/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithName ( const char *  value)
inline

The name of the repository.

Definition at line 255 of file RepositoryAssociation.h.

◆ WithOwner() [1/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithOwner ( const Aws::String value)
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 304 of file RepositoryAssociation.h.

◆ WithOwner() [2/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithOwner ( Aws::String &&  value)
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 312 of file RepositoryAssociation.h.

◆ WithOwner() [3/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithOwner ( const char *  value)
inline

The owner of the repository. For an AWS CodeCommit repository, this is the AWS account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository.

Definition at line 320 of file RepositoryAssociation.h.

◆ WithProviderType() [1/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithProviderType ( const ProviderType value)
inline

The provider type of the repository association.

Definition at line 346 of file RepositoryAssociation.h.

◆ WithProviderType() [2/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithProviderType ( ProviderType &&  value)
inline

The provider type of the repository association.

Definition at line 351 of file RepositoryAssociation.h.

◆ WithState() [1/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithState ( const RepositoryAssociationState value)
inline

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Definition at line 482 of file RepositoryAssociation.h.

◆ WithState() [2/2]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithState ( RepositoryAssociationState &&  value)
inline

The state of the repository association.

The valid repository association states are:

  • Associated: The repository association is complete.

  • Associating: CodeGuru Reviewer is:

    • Setting up pull request notifications. This is required for pull requests to trigger a CodeGuru Reviewer review.

      If your repository ProviderType is GitHub, GitHub Enterprise Server, or Bitbucket, CodeGuru Reviewer creates webhooks in your repository to trigger CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be triggered.

    • Setting up source code access. This is required for CodeGuru Reviewer to securely clone code in your repository.

  • Failed: The repository failed to associate or disassociate.

  • Disassociating: CodeGuru Reviewer is removing the repository's pull request notifications and source code access.

  • Disassociated: CodeGuru Reviewer successfully disassociated the repository. You can create a new association with this repository if you want to review source code in it later. You can control access to code reviews created in an associated repository with tags after it has been disassociated. For more information, see Using tags to control access to associated repositories in the Amazon CodeGuru Reviewer User Guide.

Definition at line 508 of file RepositoryAssociation.h.

◆ WithStateReason() [1/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithStateReason ( const Aws::String value)
inline

A description of why the repository association is in the current state.

Definition at line 539 of file RepositoryAssociation.h.

◆ WithStateReason() [2/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithStateReason ( Aws::String &&  value)
inline

A description of why the repository association is in the current state.

Definition at line 544 of file RepositoryAssociation.h.

◆ WithStateReason() [3/3]

RepositoryAssociation& Aws::CodeGuruReviewer::Model::RepositoryAssociation::WithStateReason ( const char *  value)
inline

A description of why the repository association is in the current state.

Definition at line 549 of file RepositoryAssociation.h.


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