/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an App Runner connection resource.See Also:
AWS
* API Reference
The customer-provided connection name.
*/ inline const Aws::String& GetConnectionName() const{ return m_connectionName; } /** *The customer-provided connection name.
*/ inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; } /** *The customer-provided connection name.
*/ inline void SetConnectionName(const Aws::String& value) { m_connectionNameHasBeenSet = true; m_connectionName = value; } /** *The customer-provided connection name.
*/ inline void SetConnectionName(Aws::String&& value) { m_connectionNameHasBeenSet = true; m_connectionName = std::move(value); } /** *The customer-provided connection name.
*/ inline void SetConnectionName(const char* value) { m_connectionNameHasBeenSet = true; m_connectionName.assign(value); } /** *The customer-provided connection name.
*/ inline Connection& WithConnectionName(const Aws::String& value) { SetConnectionName(value); return *this;} /** *The customer-provided connection name.
*/ inline Connection& WithConnectionName(Aws::String&& value) { SetConnectionName(std::move(value)); return *this;} /** *The customer-provided connection name.
*/ inline Connection& WithConnectionName(const char* value) { SetConnectionName(value); return *this;} /** *The Amazon Resource Name (ARN) of this connection.
*/ inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; } /** *The Amazon Resource Name (ARN) of this connection.
*/ inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of this connection.
*/ inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; } /** *The Amazon Resource Name (ARN) of this connection.
*/ inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); } /** *The Amazon Resource Name (ARN) of this connection.
*/ inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); } /** *The Amazon Resource Name (ARN) of this connection.
*/ inline Connection& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of this connection.
*/ inline Connection& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of this connection.
*/ inline Connection& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;} /** *The source repository provider.
*/ inline const ProviderType& GetProviderType() const{ return m_providerType; } /** *The source repository provider.
*/ inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; } /** *The source repository provider.
*/ inline void SetProviderType(const ProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; } /** *The source repository provider.
*/ inline void SetProviderType(ProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); } /** *The source repository provider.
*/ inline Connection& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;} /** *The source repository provider.
*/ inline Connection& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;} /** *The current state of the App Runner connection. When the state is
* AVAILABLE
, you can use the connection to create an App Runner
* service.
The current state of the App Runner connection. When the state is
* AVAILABLE
, you can use the connection to create an App Runner
* service.
The current state of the App Runner connection. When the state is
* AVAILABLE
, you can use the connection to create an App Runner
* service.
The current state of the App Runner connection. When the state is
* AVAILABLE
, you can use the connection to create an App Runner
* service.
The current state of the App Runner connection. When the state is
* AVAILABLE
, you can use the connection to create an App Runner
* service.
The current state of the App Runner connection. When the state is
* AVAILABLE
, you can use the connection to create an App Runner
* service.
The App Runner connection creation time, expressed as a Unix time stamp.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The App Runner connection creation time, expressed as a Unix time stamp.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The App Runner connection creation time, expressed as a Unix time stamp.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The App Runner connection creation time, expressed as a Unix time stamp.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The App Runner connection creation time, expressed as a Unix time stamp.
*/ inline Connection& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The App Runner connection creation time, expressed as a Unix time stamp.
*/ inline Connection& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_connectionName; bool m_connectionNameHasBeenSet = false; Aws::String m_connectionArn; bool m_connectionArnHasBeenSet = false; ProviderType m_providerType; bool m_providerTypeHasBeenSet = false; ConnectionStatus m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws