1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/autoscaling-plans/model/Datapoint.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace AutoScalingPlans
25 {
26 namespace Model
27 {
28   class AWS_AUTOSCALINGPLANS_API GetScalingPlanResourceForecastDataResult
29   {
30   public:
31     GetScalingPlanResourceForecastDataResult();
32     GetScalingPlanResourceForecastDataResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33     GetScalingPlanResourceForecastDataResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 
35 
36     /**
37      * <p>The data points to return.</p>
38      */
GetDatapoints()39     inline const Aws::Vector<Datapoint>& GetDatapoints() const{ return m_datapoints; }
40 
41     /**
42      * <p>The data points to return.</p>
43      */
SetDatapoints(const Aws::Vector<Datapoint> & value)44     inline void SetDatapoints(const Aws::Vector<Datapoint>& value) { m_datapoints = value; }
45 
46     /**
47      * <p>The data points to return.</p>
48      */
SetDatapoints(Aws::Vector<Datapoint> && value)49     inline void SetDatapoints(Aws::Vector<Datapoint>&& value) { m_datapoints = std::move(value); }
50 
51     /**
52      * <p>The data points to return.</p>
53      */
WithDatapoints(const Aws::Vector<Datapoint> & value)54     inline GetScalingPlanResourceForecastDataResult& WithDatapoints(const Aws::Vector<Datapoint>& value) { SetDatapoints(value); return *this;}
55 
56     /**
57      * <p>The data points to return.</p>
58      */
WithDatapoints(Aws::Vector<Datapoint> && value)59     inline GetScalingPlanResourceForecastDataResult& WithDatapoints(Aws::Vector<Datapoint>&& value) { SetDatapoints(std::move(value)); return *this;}
60 
61     /**
62      * <p>The data points to return.</p>
63      */
AddDatapoints(const Datapoint & value)64     inline GetScalingPlanResourceForecastDataResult& AddDatapoints(const Datapoint& value) { m_datapoints.push_back(value); return *this; }
65 
66     /**
67      * <p>The data points to return.</p>
68      */
AddDatapoints(Datapoint && value)69     inline GetScalingPlanResourceForecastDataResult& AddDatapoints(Datapoint&& value) { m_datapoints.push_back(std::move(value)); return *this; }
70 
71   private:
72 
73     Aws::Vector<Datapoint> m_datapoints;
74   };
75 
76 } // namespace Model
77 } // namespace AutoScalingPlans
78 } // namespace Aws
79