/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies configuration details for a Git repository in your Amazon Web
* Services account.See Also:
AWS
* API Reference
The URL where the Git repository is located.
*/ inline const Aws::String& GetRepositoryUrl() const{ return m_repositoryUrl; } /** *The URL where the Git repository is located.
*/ inline bool RepositoryUrlHasBeenSet() const { return m_repositoryUrlHasBeenSet; } /** *The URL where the Git repository is located.
*/ inline void SetRepositoryUrl(const Aws::String& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = value; } /** *The URL where the Git repository is located.
*/ inline void SetRepositoryUrl(Aws::String&& value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl = std::move(value); } /** *The URL where the Git repository is located.
*/ inline void SetRepositoryUrl(const char* value) { m_repositoryUrlHasBeenSet = true; m_repositoryUrl.assign(value); } /** *The URL where the Git repository is located.
*/ inline GitConfig& WithRepositoryUrl(const Aws::String& value) { SetRepositoryUrl(value); return *this;} /** *The URL where the Git repository is located.
*/ inline GitConfig& WithRepositoryUrl(Aws::String&& value) { SetRepositoryUrl(std::move(value)); return *this;} /** *The URL where the Git repository is located.
*/ inline GitConfig& WithRepositoryUrl(const char* value) { SetRepositoryUrl(value); return *this;} /** *The default branch for the Git repository.
*/ inline const Aws::String& GetBranch() const{ return m_branch; } /** *The default branch for the Git repository.
*/ inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; } /** *The default branch for the Git repository.
*/ inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; } /** *The default branch for the Git repository.
*/ inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); } /** *The default branch for the Git repository.
*/ inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); } /** *The default branch for the Git repository.
*/ inline GitConfig& WithBranch(const Aws::String& value) { SetBranch(value); return *this;} /** *The default branch for the Git repository.
*/ inline GitConfig& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;} /** *The default branch for the Git repository.
*/ inline GitConfig& WithBranch(const char* value) { SetBranch(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager
* secret that contains the credentials used to access the git repository. The
* secret must have a staging label of AWSCURRENT
and must be in the
* following format:
{"username": UserName, "password":
* Password}