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

The list of endpoint objects. For custom routing, this is a list of virtual * private cloud (VPC) subnet IDs.

See Also:

AWS * API Reference

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

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline const Aws::String& GetEndpointId() const{ return m_endpointId; } /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; } /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline void SetEndpointId(const Aws::String& value) { m_endpointIdHasBeenSet = true; m_endpointId = value; } /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline void SetEndpointId(Aws::String&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::move(value); } /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline void SetEndpointId(const char* value) { m_endpointIdHasBeenSet = true; m_endpointId.assign(value); } /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline CustomRoutingEndpointConfiguration& WithEndpointId(const Aws::String& value) { SetEndpointId(value); return *this;} /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline CustomRoutingEndpointConfiguration& WithEndpointId(Aws::String&& value) { SetEndpointId(std::move(value)); return *this;} /** *

An ID for the endpoint. For custom routing accelerators, this is the virtual * private cloud (VPC) subnet ID.

*/ inline CustomRoutingEndpointConfiguration& WithEndpointId(const char* value) { SetEndpointId(value); return *this;} private: Aws::String m_endpointId; bool m_endpointIdHasBeenSet = false; }; } // namespace Model } // namespace GlobalAccelerator } // namespace Aws