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

The response of an Device Advisor endpoint.

*/ inline const Aws::String& GetEndpoint() const{ return m_endpoint; } /** *

The response of an Device Advisor endpoint.

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

The response of an Device Advisor endpoint.

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

The response of an Device Advisor endpoint.

*/ inline void SetEndpoint(const char* value) { m_endpoint.assign(value); } /** *

The response of an Device Advisor endpoint.

*/ inline GetEndpointResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} /** *

The response of an Device Advisor endpoint.

*/ inline GetEndpointResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} /** *

The response of an Device Advisor endpoint.

*/ inline GetEndpointResult& WithEndpoint(const char* value) { SetEndpoint(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 GetEndpointResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEndpointResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEndpointResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_endpoint; Aws::String m_requestId; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws