/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a repository association. The DescribeRepositoryAssociation
* operation returns a RepositoryAssociation
object.See
* Also:
AWS
* API Reference
The ID of the repository association.
*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *The ID of the repository association.
*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *The ID of the repository association.
*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *The ID of the repository association.
*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *The ID of the repository association.
*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** *The ID of the repository association.
*/ inline RepositoryAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The ID of the repository association.
*/ inline RepositoryAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The ID of the repository association.
*/ inline RepositoryAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline const Aws::String& GetAssociationArn() const{ return m_associationArn; } /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; } /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); } /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); } /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline RepositoryAssociation& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;} /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline RepositoryAssociation& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) identifying the repository association.
*/ inline RepositoryAssociation& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The Amazon Resource Name (ARN) of an Amazon Web Services 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 Amazon Web Services CodeStar Connections API Reference.
The name of the repository.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the repository.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the repository.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the repository.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the repository.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the repository.
*/ inline RepositoryAssociation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the repository.
*/ inline RepositoryAssociation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the repository.
*/ inline RepositoryAssociation& WithName(const char* value) { SetName(value); return *this;} /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline RepositoryAssociation& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline RepositoryAssociation& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the repository. For an Amazon Web Services CodeCommit * repository, this is the Amazon Web Services 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. For an S3 * repository, it can be the username or Amazon Web Services account ID.
*/ inline RepositoryAssociation& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The provider type of the repository association.
*/ inline const ProviderType& GetProviderType() const{ return m_providerType; } /** *The provider type of the repository association.
*/ inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; } /** *The provider type of the repository association.
*/ inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; } /** *The provider type of the repository association.
*/ inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); } /** *The provider type of the repository association.
*/ inline RepositoryAssociation& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;} /** *The provider type of the repository association.
*/ inline RepositoryAssociation& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;} /** *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 anassociated 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.
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 anassociated 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.
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 anassociated 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.
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 anassociated 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.
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 anassociated 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.
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 anassociated 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.
A description of why the repository association is in the current state.
*/ inline const Aws::String& GetStateReason() const{ return m_stateReason; } /** *A description of why the repository association is in the current state.
*/ inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; } /** *A description of why the repository association is in the current state.
*/ inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; } /** *A description of why the repository association is in the current state.
*/ inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); } /** *A description of why the repository association is in the current state.
*/ inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); } /** *A description of why the repository association is in the current state.
*/ inline RepositoryAssociation& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;} /** *A description of why the repository association is in the current state.
*/ inline RepositoryAssociation& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;} /** *A description of why the repository association is in the current state.
*/ inline RepositoryAssociation& WithStateReason(const char* value) { SetStateReason(value); return *this;} /** *The time, in milliseconds since the epoch, when the repository association * was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; } /** *The time, in milliseconds since the epoch, when the repository association * was last updated.
*/ inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; } /** *The time, in milliseconds since the epoch, when the repository association * was last updated.
*/ inline void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = value; } /** *The time, in milliseconds since the epoch, when the repository association * was last updated.
*/ inline void SetLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeStampHasBeenSet = true; m_lastUpdatedTimeStamp = std::move(value); } /** *The time, in milliseconds since the epoch, when the repository association * was last updated.
*/ inline RepositoryAssociation& WithLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimeStamp(value); return *this;} /** *The time, in milliseconds since the epoch, when the repository association * was last updated.
*/ inline RepositoryAssociation& WithLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimeStamp(std::move(value)); return *this;} /** *The time, in milliseconds since the epoch, when the repository association * was created.
*/ inline const Aws::Utils::DateTime& GetCreatedTimeStamp() const{ return m_createdTimeStamp; } /** *The time, in milliseconds since the epoch, when the repository association * was created.
*/ inline bool CreatedTimeStampHasBeenSet() const { return m_createdTimeStampHasBeenSet; } /** *The time, in milliseconds since the epoch, when the repository association * was created.
*/ inline void SetCreatedTimeStamp(const Aws::Utils::DateTime& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = value; } /** *The time, in milliseconds since the epoch, when the repository association * was created.
*/ inline void SetCreatedTimeStamp(Aws::Utils::DateTime&& value) { m_createdTimeStampHasBeenSet = true; m_createdTimeStamp = std::move(value); } /** *The time, in milliseconds since the epoch, when the repository association * was created.
*/ inline RepositoryAssociation& WithCreatedTimeStamp(const Aws::Utils::DateTime& value) { SetCreatedTimeStamp(value); return *this;} /** *The time, in milliseconds since the epoch, when the repository association * was created.
*/ inline RepositoryAssociation& WithCreatedTimeStamp(Aws::Utils::DateTime&& value) { SetCreatedTimeStamp(std::move(value)); return *this;} /** *A KMSKeyDetails
object that contains:
The
* encryption option for this repository association. It is either owned by Amazon
* Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The ID * of the Amazon Web Services KMS key that is associated with this repository * association.
A KMSKeyDetails
object that contains:
The
* encryption option for this repository association. It is either owned by Amazon
* Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The ID * of the Amazon Web Services KMS key that is associated with this repository * association.
A KMSKeyDetails
object that contains:
The
* encryption option for this repository association. It is either owned by Amazon
* Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The ID * of the Amazon Web Services KMS key that is associated with this repository * association.
A KMSKeyDetails
object that contains:
The
* encryption option for this repository association. It is either owned by Amazon
* Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The ID * of the Amazon Web Services KMS key that is associated with this repository * association.
A KMSKeyDetails
object that contains:
The
* encryption option for this repository association. It is either owned by Amazon
* Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The ID * of the Amazon Web Services KMS key that is associated with this repository * association.
A KMSKeyDetails
object that contains:
The
* encryption option for this repository association. It is either owned by Amazon
* Web Services Key Management Service (KMS) (AWS_OWNED_CMK
) or
* customer managed (CUSTOMER_MANAGED_CMK
).
The ID * of the Amazon Web Services KMS key that is associated with this repository * association.