/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary data of a linked repository—a repository that has been registered
* with Proton.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the linked repository.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline RepositorySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline RepositorySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the linked repository.
*/ inline RepositorySummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; } /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; } /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); } /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline RepositorySummary& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline RepositorySummary& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the of your connection that connects Proton * to your repository.
*/ inline RepositorySummary& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;} /** *The repository name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The repository name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The repository name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The repository name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The repository name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The repository name.
*/ inline RepositorySummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The repository name.
*/ inline RepositorySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The repository name.
*/ inline RepositorySummary& WithName(const char* value) { SetName(value); return *this;} /** *The repository provider.
*/ inline const RepositoryProvider& GetProvider() const{ return m_provider; } /** *The repository provider.
*/ inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; } /** *The repository provider.
*/ inline void SetProvider(const RepositoryProvider& value) { m_providerHasBeenSet = true; m_provider = value; } /** *The repository provider.
*/ inline void SetProvider(RepositoryProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); } /** *The repository provider.
*/ inline RepositorySummary& WithProvider(const RepositoryProvider& value) { SetProvider(value); return *this;} /** *The repository provider.
*/ inline RepositorySummary& WithProvider(RepositoryProvider&& value) { SetProvider(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_connectionArn; bool m_connectionArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; RepositoryProvider m_provider; bool m_providerHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws