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

A wrapper object holding the Amazon API Gateway proxy summary.

See * Also:

AWS * API Reference

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

The resource ID of the API Gateway for the proxy.

*/ inline const Aws::String& GetApiGatewayId() const{ return m_apiGatewayId; } /** *

The resource ID of the API Gateway for the proxy.

*/ inline bool ApiGatewayIdHasBeenSet() const { return m_apiGatewayIdHasBeenSet; } /** *

The resource ID of the API Gateway for the proxy.

*/ inline void SetApiGatewayId(const Aws::String& value) { m_apiGatewayIdHasBeenSet = true; m_apiGatewayId = value; } /** *

The resource ID of the API Gateway for the proxy.

*/ inline void SetApiGatewayId(Aws::String&& value) { m_apiGatewayIdHasBeenSet = true; m_apiGatewayId = std::move(value); } /** *

The resource ID of the API Gateway for the proxy.

*/ inline void SetApiGatewayId(const char* value) { m_apiGatewayIdHasBeenSet = true; m_apiGatewayId.assign(value); } /** *

The resource ID of the API Gateway for the proxy.

*/ inline ApiGatewayProxySummary& WithApiGatewayId(const Aws::String& value) { SetApiGatewayId(value); return *this;} /** *

The resource ID of the API Gateway for the proxy.

*/ inline ApiGatewayProxySummary& WithApiGatewayId(Aws::String&& value) { SetApiGatewayId(std::move(value)); return *this;} /** *

The resource ID of the API Gateway for the proxy.

*/ inline ApiGatewayProxySummary& WithApiGatewayId(const char* value) { SetApiGatewayId(value); return *this;} /** *

The type of API Gateway endpoint created.

*/ inline const ApiGatewayEndpointType& GetEndpointType() const{ return m_endpointType; } /** *

The type of API Gateway endpoint created.

*/ inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; } /** *

The type of API Gateway endpoint created.

*/ inline void SetEndpointType(const ApiGatewayEndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; } /** *

The type of API Gateway endpoint created.

*/ inline void SetEndpointType(ApiGatewayEndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); } /** *

The type of API Gateway endpoint created.

*/ inline ApiGatewayProxySummary& WithEndpointType(const ApiGatewayEndpointType& value) { SetEndpointType(value); return *this;} /** *

The type of API Gateway endpoint created.

*/ inline ApiGatewayProxySummary& WithEndpointType(ApiGatewayEndpointType&& value) { SetEndpointType(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline const Aws::String& GetNlbArn() const{ return m_nlbArn; } /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline bool NlbArnHasBeenSet() const { return m_nlbArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline void SetNlbArn(const Aws::String& value) { m_nlbArnHasBeenSet = true; m_nlbArn = value; } /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline void SetNlbArn(Aws::String&& value) { m_nlbArnHasBeenSet = true; m_nlbArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline void SetNlbArn(const char* value) { m_nlbArnHasBeenSet = true; m_nlbArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithNlbArn(const Aws::String& value) { SetNlbArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithNlbArn(Aws::String&& value) { SetNlbArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Network Load Balancer configured by the * API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithNlbArn(const char* value) { SetNlbArn(value); return *this;} /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline const Aws::String& GetNlbName() const{ return m_nlbName; } /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline bool NlbNameHasBeenSet() const { return m_nlbNameHasBeenSet; } /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline void SetNlbName(const Aws::String& value) { m_nlbNameHasBeenSet = true; m_nlbName = value; } /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline void SetNlbName(Aws::String&& value) { m_nlbNameHasBeenSet = true; m_nlbName = std::move(value); } /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline void SetNlbName(const char* value) { m_nlbNameHasBeenSet = true; m_nlbName.assign(value); } /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline ApiGatewayProxySummary& WithNlbName(const Aws::String& value) { SetNlbName(value); return *this;} /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline ApiGatewayProxySummary& WithNlbName(Aws::String&& value) { SetNlbName(std::move(value)); return *this;} /** *

The name of the Network Load Balancer that is configured by the API Gateway * proxy.

*/ inline ApiGatewayProxySummary& WithNlbName(const char* value) { SetNlbName(value); return *this;} /** *

The endpoint URL of the API Gateway proxy.

*/ inline const Aws::String& GetProxyUrl() const{ return m_proxyUrl; } /** *

The endpoint URL of the API Gateway proxy.

*/ inline bool ProxyUrlHasBeenSet() const { return m_proxyUrlHasBeenSet; } /** *

The endpoint URL of the API Gateway proxy.

*/ inline void SetProxyUrl(const Aws::String& value) { m_proxyUrlHasBeenSet = true; m_proxyUrl = value; } /** *

The endpoint URL of the API Gateway proxy.

*/ inline void SetProxyUrl(Aws::String&& value) { m_proxyUrlHasBeenSet = true; m_proxyUrl = std::move(value); } /** *

The endpoint URL of the API Gateway proxy.

*/ inline void SetProxyUrl(const char* value) { m_proxyUrlHasBeenSet = true; m_proxyUrl.assign(value); } /** *

The endpoint URL of the API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithProxyUrl(const Aws::String& value) { SetProxyUrl(value); return *this;} /** *

The endpoint URL of the API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithProxyUrl(Aws::String&& value) { SetProxyUrl(std::move(value)); return *this;} /** *

The endpoint URL of the API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithProxyUrl(const char* value) { SetProxyUrl(value); return *this;} /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline const Aws::String& GetStageName() const{ return m_stageName; } /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline bool StageNameHasBeenSet() const { return m_stageNameHasBeenSet; } /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline void SetStageName(const Aws::String& value) { m_stageNameHasBeenSet = true; m_stageName = value; } /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline void SetStageName(Aws::String&& value) { m_stageNameHasBeenSet = true; m_stageName = std::move(value); } /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline void SetStageName(const char* value) { m_stageNameHasBeenSet = true; m_stageName.assign(value); } /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline ApiGatewayProxySummary& WithStageName(const Aws::String& value) { SetStageName(value); return *this;} /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline ApiGatewayProxySummary& WithStageName(Aws::String&& value) { SetStageName(std::move(value)); return *this;} /** *

The name of the API Gateway stage. The name defaults to prod. *

*/ inline ApiGatewayProxySummary& WithStageName(const char* value) { SetStageName(value); return *this;} /** *

The VpcLink ID of the API Gateway proxy.

*/ inline const Aws::String& GetVpcLinkId() const{ return m_vpcLinkId; } /** *

The VpcLink ID of the API Gateway proxy.

*/ inline bool VpcLinkIdHasBeenSet() const { return m_vpcLinkIdHasBeenSet; } /** *

The VpcLink ID of the API Gateway proxy.

*/ inline void SetVpcLinkId(const Aws::String& value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId = value; } /** *

The VpcLink ID of the API Gateway proxy.

*/ inline void SetVpcLinkId(Aws::String&& value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId = std::move(value); } /** *

The VpcLink ID of the API Gateway proxy.

*/ inline void SetVpcLinkId(const char* value) { m_vpcLinkIdHasBeenSet = true; m_vpcLinkId.assign(value); } /** *

The VpcLink ID of the API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithVpcLinkId(const Aws::String& value) { SetVpcLinkId(value); return *this;} /** *

The VpcLink ID of the API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithVpcLinkId(Aws::String&& value) { SetVpcLinkId(std::move(value)); return *this;} /** *

The VpcLink ID of the API Gateway proxy.

*/ inline ApiGatewayProxySummary& WithVpcLinkId(const char* value) { SetVpcLinkId(value); return *this;} private: Aws::String m_apiGatewayId; bool m_apiGatewayIdHasBeenSet = false; ApiGatewayEndpointType m_endpointType; bool m_endpointTypeHasBeenSet = false; Aws::String m_nlbArn; bool m_nlbArnHasBeenSet = false; Aws::String m_nlbName; bool m_nlbNameHasBeenSet = false; Aws::String m_proxyUrl; bool m_proxyUrlHasBeenSet = false; Aws::String m_stageName; bool m_stageNameHasBeenSet = false; Aws::String m_vpcLinkId; bool m_vpcLinkIdHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws