/** * 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 Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AutoScalingPlans { namespace Model { class GetScalingPlanResourceForecastDataResult { public: AWS_AUTOSCALINGPLANS_API GetScalingPlanResourceForecastDataResult(); AWS_AUTOSCALINGPLANS_API GetScalingPlanResourceForecastDataResult(const Aws::AmazonWebServiceResult& result); AWS_AUTOSCALINGPLANS_API GetScalingPlanResourceForecastDataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The data points to return.

*/ inline const Aws::Vector& GetDatapoints() const{ return m_datapoints; } /** *

The data points to return.

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

The data points to return.

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

The data points to return.

*/ inline GetScalingPlanResourceForecastDataResult& WithDatapoints(const Aws::Vector& value) { SetDatapoints(value); return *this;} /** *

The data points to return.

*/ inline GetScalingPlanResourceForecastDataResult& WithDatapoints(Aws::Vector&& value) { SetDatapoints(std::move(value)); return *this;} /** *

The data points to return.

*/ inline GetScalingPlanResourceForecastDataResult& AddDatapoints(const Datapoint& value) { m_datapoints.push_back(value); return *this; } /** *

The data points to return.

*/ inline GetScalingPlanResourceForecastDataResult& AddDatapoints(Datapoint&& value) { m_datapoints.push_back(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 GetScalingPlanResourceForecastDataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetScalingPlanResourceForecastDataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetScalingPlanResourceForecastDataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_datapoints; Aws::String m_requestId; }; } // namespace Model } // namespace AutoScalingPlans } // namespace Aws