/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the source repsitory for a Dev Environment. See
* Also:
AWS
* API Reference
The name of the source repository.
*/ inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; } /** *The name of the source repository.
*/ inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; } /** *The name of the source repository.
*/ inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; } /** *The name of the source repository.
*/ inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); } /** *The name of the source repository.
*/ inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); } /** *The name of the source repository.
*/ inline DevEnvironmentRepositorySummary& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;} /** *The name of the source repository.
*/ inline DevEnvironmentRepositorySummary& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;} /** *The name of the source repository.
*/ inline DevEnvironmentRepositorySummary& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;} /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline const Aws::String& GetBranchName() const{ return m_branchName; } /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline bool BranchNameHasBeenSet() const { return m_branchNameHasBeenSet; } /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline void SetBranchName(const Aws::String& value) { m_branchNameHasBeenSet = true; m_branchName = value; } /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline void SetBranchName(Aws::String&& value) { m_branchNameHasBeenSet = true; m_branchName = std::move(value); } /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline void SetBranchName(const char* value) { m_branchNameHasBeenSet = true; m_branchName.assign(value); } /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline DevEnvironmentRepositorySummary& WithBranchName(const Aws::String& value) { SetBranchName(value); return *this;} /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline DevEnvironmentRepositorySummary& WithBranchName(Aws::String&& value) { SetBranchName(std::move(value)); return *this;} /** *The name of the branch in a source repository cloned into the Dev * Environment.
*/ inline DevEnvironmentRepositorySummary& WithBranchName(const char* value) { SetBranchName(value); return *this;} private: Aws::String m_repositoryName; bool m_repositoryNameHasBeenSet = false; Aws::String m_branchName; bool m_branchNameHasBeenSet = false; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws