/** * 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 AddEndpointsResult { public: AWS_GLOBALACCELERATOR_API AddEndpointsResult(); AWS_GLOBALACCELERATOR_API AddEndpointsResult(const Aws::AmazonWebServiceResult& result); AWS_GLOBALACCELERATOR_API AddEndpointsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of endpoint objects.

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

The list of endpoint objects.

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

The list of endpoint objects.

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

The list of endpoint objects.

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

The list of endpoint objects.

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

The list of endpoint objects.

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

The list of endpoint objects.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

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

The Amazon Resource Name (ARN) of the endpoint group.

*/ inline AddEndpointsResult& 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 AddEndpointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddEndpointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddEndpointsResult& 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