/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about a repository association. The ListRepositoryAssociations
* operation returns a list of RepositoryAssociationSummary
* objects.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline const Aws::String& GetAssociationArn() const{ return m_associationArn; } /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; } /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline RepositoryAssociationSummary& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline RepositoryAssociationSummary& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the RepositoryAssociation * object. You can retrieve this ARN by calling ListRepositoryAssociations.
*/ inline RepositoryAssociationSummary& 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 time, in milliseconds since the epoch, since the repository association * was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimeStamp() const{ return m_lastUpdatedTimeStamp; } /** *The time, in milliseconds since the epoch, since the repository association * was last updated.
*/ inline bool LastUpdatedTimeStampHasBeenSet() const { return m_lastUpdatedTimeStampHasBeenSet; } /** *The time, in milliseconds since the epoch, since 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, since 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, since the repository association * was last updated.
*/ inline RepositoryAssociationSummary& WithLastUpdatedTimeStamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimeStamp(value); return *this;} /** *The time, in milliseconds since the epoch, since the repository association * was last updated.
*/ inline RepositoryAssociationSummary& WithLastUpdatedTimeStamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimeStamp(std::move(value)); return *this;} /** *The repository association ID.
*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *The repository association ID.
*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *The repository association ID.
*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *The repository association ID.
*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *The repository association ID.
*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** *The repository association ID.
*/ inline RepositoryAssociationSummary& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The repository association ID.
*/ inline RepositoryAssociationSummary& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The repository association ID.
*/ inline RepositoryAssociationSummary& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The name of the repository association.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the repository association.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the repository association.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the repository association.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the repository association.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the repository association.
*/ inline RepositoryAssociationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the repository association.
*/ inline RepositoryAssociationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the repository association.
*/ inline RepositoryAssociationSummary& 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 RepositoryAssociationSummary& 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 RepositoryAssociationSummary& 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 RepositoryAssociationSummary& 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 RepositoryAssociationSummary& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;} /** *The provider type of the repository association.
*/ inline RepositoryAssociationSummary& 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.