/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a third-party source repository connected to CodeGuru
* Reviewer.See Also:
AWS
* API Reference
The name of the third party source repository.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the third party source repository.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the third party source repository.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the third party source repository.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the third party source repository.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the third party source repository.
*/ inline ThirdPartySourceRepository& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the third party source repository.
*/ inline ThirdPartySourceRepository& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the third party source repository.
*/ inline ThirdPartySourceRepository& WithName(const char* value) { SetName(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 owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this 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 a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this can be the username or Amazon Web Services account ID *
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this 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 a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this 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 a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this 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 a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this can be the username or Amazon Web Services account ID *
*/ inline ThirdPartySourceRepository& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this can be the username or Amazon Web Services account ID *
*/ inline ThirdPartySourceRepository& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket * repository, this is the username for the account that owns the repository. For * an S3 repository, this can be the username or Amazon Web Services account ID *
*/ inline ThirdPartySourceRepository& WithOwner(const char* value) { SetOwner(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_connectionArn; bool m_connectionArnHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; }; } // namespace Model } // namespace CodeGuruReviewer } // namespace Aws