/** * 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 ForecastQueryService { namespace Model { class QueryForecastResult { public: AWS_FORECASTQUERYSERVICE_API QueryForecastResult(); AWS_FORECASTQUERYSERVICE_API QueryForecastResult(const Aws::AmazonWebServiceResult& result); AWS_FORECASTQUERYSERVICE_API QueryForecastResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The forecast.

*/ inline const Forecast& GetForecast() const{ return m_forecast; } /** *

The forecast.

*/ inline void SetForecast(const Forecast& value) { m_forecast = value; } /** *

The forecast.

*/ inline void SetForecast(Forecast&& value) { m_forecast = std::move(value); } /** *

The forecast.

*/ inline QueryForecastResult& WithForecast(const Forecast& value) { SetForecast(value); return *this;} /** *

The forecast.

*/ inline QueryForecastResult& WithForecast(Forecast&& value) { SetForecast(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 QueryForecastResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline QueryForecastResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline QueryForecastResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Forecast m_forecast; Aws::String m_requestId; }; } // namespace Model } // namespace ForecastQueryService } // namespace Aws