/** * 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 IoTWireless { namespace Model { class GetPositionEstimateResult { public: AWS_IOTWIRELESS_API GetPositionEstimateResult(); //We have to define these because Microsoft doesn't auto generate them AWS_IOTWIRELESS_API GetPositionEstimateResult(GetPositionEstimateResult&&); AWS_IOTWIRELESS_API GetPositionEstimateResult& operator=(GetPositionEstimateResult&&); //we delete these because Microsoft doesn't handle move generation correctly //and we therefore don't trust them to get it right here either. GetPositionEstimateResult(const GetPositionEstimateResult&) = delete; GetPositionEstimateResult& operator=(const GetPositionEstimateResult&) = delete; AWS_IOTWIRELESS_API GetPositionEstimateResult(Aws::AmazonWebServiceResult&& result); AWS_IOTWIRELESS_API GetPositionEstimateResult& operator=(Aws::AmazonWebServiceResult&& result); /** *

The position information of the resource, displayed as a JSON payload. The * payload uses the GeoJSON format, which a format that's used to encode geographic * data structures. For more information, see GeoJSON.

*/ inline Aws::IOStream& GetGeoJsonPayload() const { return m_geoJsonPayload.GetUnderlyingStream(); } /** *

The position information of the resource, displayed as a JSON payload. The * payload uses the GeoJSON format, which a format that's used to encode geographic * data structures. For more information, see GeoJSON.

*/ inline void ReplaceBody(Aws::IOStream* body) { m_geoJsonPayload = Aws::Utils::Stream::ResponseStream(body); } 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 GetPositionEstimateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetPositionEstimateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetPositionEstimateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::Stream::ResponseStream m_geoJsonPayload; Aws::String m_requestId; }; } // namespace Model } // namespace IoTWireless } // namespace Aws