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

The information about the endpoint group that was created.

*/ inline const EndpointGroup& GetEndpointGroup() const{ return m_endpointGroup; } /** *

The information about the endpoint group that was created.

*/ inline void SetEndpointGroup(const EndpointGroup& value) { m_endpointGroup = value; } /** *

The information about the endpoint group that was created.

*/ inline void SetEndpointGroup(EndpointGroup&& value) { m_endpointGroup = std::move(value); } /** *

The information about the endpoint group that was created.

*/ inline CreateEndpointGroupResult& WithEndpointGroup(const EndpointGroup& value) { SetEndpointGroup(value); return *this;} /** *

The information about the endpoint group that was created.

*/ inline CreateEndpointGroupResult& WithEndpointGroup(EndpointGroup&& value) { SetEndpointGroup(std::move(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 CreateEndpointGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateEndpointGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateEndpointGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: EndpointGroup m_endpointGroup; Aws::String m_requestId; }; } // namespace Model } // namespace GlobalAccelerator } // namespace Aws