/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes resources needed to authenticate access to some source
* repositories. The specific resource depends on the repository
* provider.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; } /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; } /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); } /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline AuthenticationConfiguration& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline AuthenticationConfiguration& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the App Runner connection that enables the * App Runner service to connect to a source repository. It's required for GitHub * code repositories.
*/ inline AuthenticationConfiguration& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline const Aws::String& GetAccessRoleArn() const{ return m_accessRoleArn; } /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline bool AccessRoleArnHasBeenSet() const { return m_accessRoleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline void SetAccessRoleArn(const Aws::String& value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline void SetAccessRoleArn(Aws::String&& value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline void SetAccessRoleArn(const char* value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline AuthenticationConfiguration& WithAccessRoleArn(const Aws::String& value) { SetAccessRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline AuthenticationConfiguration& WithAccessRoleArn(Aws::String&& value) { SetAccessRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that grants the App Runner * service access to a source repository. It's required for ECR image repositories * (but not for ECR Public repositories).
*/ inline AuthenticationConfiguration& WithAccessRoleArn(const char* value) { SetAccessRoleArn(value); return *this;} private: Aws::String m_connectionArn; bool m_connectionArnHasBeenSet = false; Aws::String m_accessRoleArn; bool m_accessRoleArnHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws