/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppRunner { namespace Model { /** *

The App Runner resource that specifies an App Runner endpoint for incoming * traffic. It establishes a connection between a VPC interface endpoint and a App * Runner service, to make your App Runner service accessible from only within an * Amazon VPC.

See Also:

AWS * API Reference

*/ class VpcIngressConnection { public: AWS_APPRUNNER_API VpcIngressConnection(); AWS_APPRUNNER_API VpcIngressConnection(Aws::Utils::Json::JsonView jsonValue); AWS_APPRUNNER_API VpcIngressConnection& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline const Aws::String& GetVpcIngressConnectionArn() const{ return m_vpcIngressConnectionArn; } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline bool VpcIngressConnectionArnHasBeenSet() const { return m_vpcIngressConnectionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline void SetVpcIngressConnectionArn(const Aws::String& value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn = value; } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline void SetVpcIngressConnectionArn(Aws::String&& value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline void SetVpcIngressConnectionArn(const char* value) { m_vpcIngressConnectionArnHasBeenSet = true; m_vpcIngressConnectionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline VpcIngressConnection& WithVpcIngressConnectionArn(const Aws::String& value) { SetVpcIngressConnectionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline VpcIngressConnection& WithVpcIngressConnectionArn(Aws::String&& value) { SetVpcIngressConnectionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC Ingress Connection.

*/ inline VpcIngressConnection& WithVpcIngressConnectionArn(const char* value) { SetVpcIngressConnectionArn(value); return *this;} /** *

The customer-provided VPC Ingress Connection name.

*/ inline const Aws::String& GetVpcIngressConnectionName() const{ return m_vpcIngressConnectionName; } /** *

The customer-provided VPC Ingress Connection name.

*/ inline bool VpcIngressConnectionNameHasBeenSet() const { return m_vpcIngressConnectionNameHasBeenSet; } /** *

The customer-provided VPC Ingress Connection name.

*/ inline void SetVpcIngressConnectionName(const Aws::String& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = value; } /** *

The customer-provided VPC Ingress Connection name.

*/ inline void SetVpcIngressConnectionName(Aws::String&& value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName = std::move(value); } /** *

The customer-provided VPC Ingress Connection name.

*/ inline void SetVpcIngressConnectionName(const char* value) { m_vpcIngressConnectionNameHasBeenSet = true; m_vpcIngressConnectionName.assign(value); } /** *

The customer-provided VPC Ingress Connection name.

*/ inline VpcIngressConnection& WithVpcIngressConnectionName(const Aws::String& value) { SetVpcIngressConnectionName(value); return *this;} /** *

The customer-provided VPC Ingress Connection name.

*/ inline VpcIngressConnection& WithVpcIngressConnectionName(Aws::String&& value) { SetVpcIngressConnectionName(std::move(value)); return *this;} /** *

The customer-provided VPC Ingress Connection name.

*/ inline VpcIngressConnection& WithVpcIngressConnectionName(const char* value) { SetVpcIngressConnectionName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline const Aws::String& GetServiceArn() const{ return m_serviceArn; } /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline void SetServiceArn(const Aws::String& value) { m_serviceArnHasBeenSet = true; m_serviceArn = value; } /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline void SetServiceArn(Aws::String&& value) { m_serviceArnHasBeenSet = true; m_serviceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline void SetServiceArn(const char* value) { m_serviceArnHasBeenSet = true; m_serviceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline VpcIngressConnection& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline VpcIngressConnection& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service associated with the VPC Ingress * Connection.

*/ inline VpcIngressConnection& WithServiceArn(const char* value) { SetServiceArn(value); return *this;} /** *

The current status of the VPC Ingress Connection. The VPC Ingress Connection * displays one of the following statuses: AVAILABLE, * PENDING_CREATION, PENDING_UPDATE, * PENDING_DELETION,FAILED_CREATION, * FAILED_UPDATE, FAILED_DELETION, and * DELETED..

*/ inline const VpcIngressConnectionStatus& GetStatus() const{ return m_status; } /** *

The current status of the VPC Ingress Connection. The VPC Ingress Connection * displays one of the following statuses: AVAILABLE, * PENDING_CREATION, PENDING_UPDATE, * PENDING_DELETION,FAILED_CREATION, * FAILED_UPDATE, FAILED_DELETION, and * DELETED..

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the VPC Ingress Connection. The VPC Ingress Connection * displays one of the following statuses: AVAILABLE, * PENDING_CREATION, PENDING_UPDATE, * PENDING_DELETION,FAILED_CREATION, * FAILED_UPDATE, FAILED_DELETION, and * DELETED..

*/ inline void SetStatus(const VpcIngressConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the VPC Ingress Connection. The VPC Ingress Connection * displays one of the following statuses: AVAILABLE, * PENDING_CREATION, PENDING_UPDATE, * PENDING_DELETION,FAILED_CREATION, * FAILED_UPDATE, FAILED_DELETION, and * DELETED..

*/ inline void SetStatus(VpcIngressConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the VPC Ingress Connection. The VPC Ingress Connection * displays one of the following statuses: AVAILABLE, * PENDING_CREATION, PENDING_UPDATE, * PENDING_DELETION,FAILED_CREATION, * FAILED_UPDATE, FAILED_DELETION, and * DELETED..

*/ inline VpcIngressConnection& WithStatus(const VpcIngressConnectionStatus& value) { SetStatus(value); return *this;} /** *

The current status of the VPC Ingress Connection. The VPC Ingress Connection * displays one of the following statuses: AVAILABLE, * PENDING_CREATION, PENDING_UPDATE, * PENDING_DELETION,FAILED_CREATION, * FAILED_UPDATE, FAILED_DELETION, and * DELETED..

*/ inline VpcIngressConnection& WithStatus(VpcIngressConnectionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Account Id you use to create the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The domain name associated with the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Specifications for the customer’s VPC and related PrivateLink VPC endpoint * that are used to associate with the VPC Ingress Connection resource.

*/ inline const IngressVpcConfiguration& GetIngressVpcConfiguration() const{ return m_ingressVpcConfiguration; } /** *

Specifications for the customer’s VPC and related PrivateLink VPC endpoint * that are used to associate with the VPC Ingress Connection resource.

*/ inline bool IngressVpcConfigurationHasBeenSet() const { return m_ingressVpcConfigurationHasBeenSet; } /** *

Specifications for the customer’s VPC and related PrivateLink VPC endpoint * that are used to associate with the VPC Ingress Connection resource.

*/ inline void SetIngressVpcConfiguration(const IngressVpcConfiguration& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = value; } /** *

Specifications for the customer’s VPC and related PrivateLink VPC endpoint * that are used to associate with the VPC Ingress Connection resource.

*/ inline void SetIngressVpcConfiguration(IngressVpcConfiguration&& value) { m_ingressVpcConfigurationHasBeenSet = true; m_ingressVpcConfiguration = std::move(value); } /** *

Specifications for the customer’s VPC and related PrivateLink VPC endpoint * that are used to associate with the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithIngressVpcConfiguration(const IngressVpcConfiguration& value) { SetIngressVpcConfiguration(value); return *this;} /** *

Specifications for the customer’s VPC and related PrivateLink VPC endpoint * that are used to associate with the VPC Ingress Connection resource.

*/ inline VpcIngressConnection& WithIngressVpcConfiguration(IngressVpcConfiguration&& value) { SetIngressVpcConfiguration(std::move(value)); return *this;} /** *

The time when the VPC Ingress Connection was created. It's in the Unix time * stamp format.

  • Type: Timestamp

  • Required: * Yes

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The time when the VPC Ingress Connection was created. It's in the Unix time * stamp format.

  • Type: Timestamp

  • Required: * Yes

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The time when the VPC Ingress Connection was created. It's in the Unix time * stamp format.

  • Type: Timestamp

  • Required: * Yes

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The time when the VPC Ingress Connection was created. It's in the Unix time * stamp format.

  • Type: Timestamp

  • Required: * Yes

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The time when the VPC Ingress Connection was created. It's in the Unix time * stamp format.

  • Type: Timestamp

  • Required: * Yes

*/ inline VpcIngressConnection& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The time when the VPC Ingress Connection was created. It's in the Unix time * stamp format.

  • Type: Timestamp

  • Required: * Yes

*/ inline VpcIngressConnection& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The time when the App Runner service was deleted. It's in the Unix time stamp * format.

  • Type: Timestamp

  • Required: No

    *
*/ inline const Aws::Utils::DateTime& GetDeletedAt() const{ return m_deletedAt; } /** *

The time when the App Runner service was deleted. It's in the Unix time stamp * format.

  • Type: Timestamp

  • Required: No

    *
*/ inline bool DeletedAtHasBeenSet() const { return m_deletedAtHasBeenSet; } /** *

The time when the App Runner service was deleted. It's in the Unix time stamp * format.

  • Type: Timestamp

  • Required: No

    *
*/ inline void SetDeletedAt(const Aws::Utils::DateTime& value) { m_deletedAtHasBeenSet = true; m_deletedAt = value; } /** *

The time when the App Runner service was deleted. It's in the Unix time stamp * format.

  • Type: Timestamp

  • Required: No

    *
*/ inline void SetDeletedAt(Aws::Utils::DateTime&& value) { m_deletedAtHasBeenSet = true; m_deletedAt = std::move(value); } /** *

The time when the App Runner service was deleted. It's in the Unix time stamp * format.

  • Type: Timestamp

  • Required: No

    *
*/ inline VpcIngressConnection& WithDeletedAt(const Aws::Utils::DateTime& value) { SetDeletedAt(value); return *this;} /** *

The time when the App Runner service was deleted. It's in the Unix time stamp * format.

  • Type: Timestamp

  • Required: No

    *
*/ inline VpcIngressConnection& WithDeletedAt(Aws::Utils::DateTime&& value) { SetDeletedAt(std::move(value)); return *this;} private: Aws::String m_vpcIngressConnectionArn; bool m_vpcIngressConnectionArnHasBeenSet = false; Aws::String m_vpcIngressConnectionName; bool m_vpcIngressConnectionNameHasBeenSet = false; Aws::String m_serviceArn; bool m_serviceArnHasBeenSet = false; VpcIngressConnectionStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; IngressVpcConfiguration m_ingressVpcConfiguration; bool m_ingressVpcConfigurationHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_deletedAt; bool m_deletedAtHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws