/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GlobalAccelerator { namespace Model { class AddCustomRoutingEndpointsResult { public: AWS_GLOBALACCELERATOR_API AddCustomRoutingEndpointsResult(); AWS_GLOBALACCELERATOR_API AddCustomRoutingEndpointsResult(const Aws::AmazonWebServiceResult& result); AWS_GLOBALACCELERATOR_API AddCustomRoutingEndpointsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The endpoint objects added to the custom routing accelerator.

*/ inline const Aws::Vector& GetEndpointDescriptions() const{ return m_endpointDescriptions; } /** *

The endpoint objects added to the custom routing accelerator.

*/ inline void SetEndpointDescriptions(const Aws::Vector& value) { m_endpointDescriptions = value; } /** *

The endpoint objects added to the custom routing accelerator.

*/ inline void SetEndpointDescriptions(Aws::Vector&& value) { m_endpointDescriptions = std::move(value); } /** *

The endpoint objects added to the custom routing accelerator.

*/ inline AddCustomRoutingEndpointsResult& WithEndpointDescriptions(const Aws::Vector& value) { SetEndpointDescriptions(value); return *this;} /** *

The endpoint objects added to the custom routing accelerator.

*/ inline AddCustomRoutingEndpointsResult& WithEndpointDescriptions(Aws::Vector&& value) { SetEndpointDescriptions(std::move(value)); return *this;} /** *

The endpoint objects added to the custom routing accelerator.

*/ inline AddCustomRoutingEndpointsResult& AddEndpointDescriptions(const CustomRoutingEndpointDescription& value) { m_endpointDescriptions.push_back(value); return *this; } /** *

The endpoint objects added to the custom routing accelerator.

*/ inline AddCustomRoutingEndpointsResult& AddEndpointDescriptions(CustomRoutingEndpointDescription&& value) { m_endpointDescriptions.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline const Aws::String& GetEndpointGroupArn() const{ return m_endpointGroupArn; } /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline void SetEndpointGroupArn(const Aws::String& value) { m_endpointGroupArn = value; } /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline void SetEndpointGroupArn(Aws::String&& value) { m_endpointGroupArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline void SetEndpointGroupArn(const char* value) { m_endpointGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline AddCustomRoutingEndpointsResult& WithEndpointGroupArn(const Aws::String& value) { SetEndpointGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline AddCustomRoutingEndpointsResult& WithEndpointGroupArn(Aws::String&& value) { SetEndpointGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the endpoint group for the custom routing * endpoint.

*/ inline AddCustomRoutingEndpointsResult& WithEndpointGroupArn(const char* value) { SetEndpointGroupArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AddCustomRoutingEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddCustomRoutingEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddCustomRoutingEndpointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_endpointDescriptions; Aws::String m_endpointGroupArn; Aws::String m_requestId; }; } // namespace Model } // namespace GlobalAccelerator } // namespace Aws