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

The load forecast.

*/ inline const Aws::Vector& GetLoadForecast() const{ return m_loadForecast; } /** *

The load forecast.

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

The load forecast.

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

The load forecast.

*/ inline GetPredictiveScalingForecastResult& WithLoadForecast(const Aws::Vector& value) { SetLoadForecast(value); return *this;} /** *

The load forecast.

*/ inline GetPredictiveScalingForecastResult& WithLoadForecast(Aws::Vector&& value) { SetLoadForecast(std::move(value)); return *this;} /** *

The load forecast.

*/ inline GetPredictiveScalingForecastResult& AddLoadForecast(const LoadForecast& value) { m_loadForecast.push_back(value); return *this; } /** *

The load forecast.

*/ inline GetPredictiveScalingForecastResult& AddLoadForecast(LoadForecast&& value) { m_loadForecast.push_back(std::move(value)); return *this; } /** *

The capacity forecast.

*/ inline const CapacityForecast& GetCapacityForecast() const{ return m_capacityForecast; } /** *

The capacity forecast.

*/ inline void SetCapacityForecast(const CapacityForecast& value) { m_capacityForecast = value; } /** *

The capacity forecast.

*/ inline void SetCapacityForecast(CapacityForecast&& value) { m_capacityForecast = std::move(value); } /** *

The capacity forecast.

*/ inline GetPredictiveScalingForecastResult& WithCapacityForecast(const CapacityForecast& value) { SetCapacityForecast(value); return *this;} /** *

The capacity forecast.

*/ inline GetPredictiveScalingForecastResult& WithCapacityForecast(CapacityForecast&& value) { SetCapacityForecast(std::move(value)); return *this;} /** *

The time the forecast was made.

*/ inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** *

The time the forecast was made.

*/ inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } /** *

The time the forecast was made.

*/ inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } /** *

The time the forecast was made.

*/ inline GetPredictiveScalingForecastResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** *

The time the forecast was made.

*/ inline GetPredictiveScalingForecastResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetPredictiveScalingForecastResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetPredictiveScalingForecastResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_loadForecast; CapacityForecast m_capacityForecast; Aws::Utils::DateTime m_updateTime; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace AutoScaling } // namespace Aws