AWS SDK for C++  1.9.106
AWS SDK for C++
GetPredictiveScalingForecastResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlDocument;
25 } // namespace Xml
26 } // namespace Utils
27 namespace AutoScaling
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::Vector<LoadForecast>& GetLoadForecast() const{ return m_loadForecast; }
43 
47  inline void SetLoadForecast(const Aws::Vector<LoadForecast>& value) { m_loadForecast = value; }
48 
52  inline void SetLoadForecast(Aws::Vector<LoadForecast>&& value) { m_loadForecast = std::move(value); }
53 
57  inline GetPredictiveScalingForecastResult& WithLoadForecast(const Aws::Vector<LoadForecast>& value) { SetLoadForecast(value); return *this;}
58 
62  inline GetPredictiveScalingForecastResult& WithLoadForecast(Aws::Vector<LoadForecast>&& value) { SetLoadForecast(std::move(value)); return *this;}
63 
67  inline GetPredictiveScalingForecastResult& AddLoadForecast(const LoadForecast& value) { m_loadForecast.push_back(value); return *this; }
68 
72  inline GetPredictiveScalingForecastResult& AddLoadForecast(LoadForecast&& value) { m_loadForecast.push_back(std::move(value)); return *this; }
73 
74 
78  inline const CapacityForecast& GetCapacityForecast() const{ return m_capacityForecast; }
79 
83  inline void SetCapacityForecast(const CapacityForecast& value) { m_capacityForecast = value; }
84 
88  inline void SetCapacityForecast(CapacityForecast&& value) { m_capacityForecast = std::move(value); }
89 
93  inline GetPredictiveScalingForecastResult& WithCapacityForecast(const CapacityForecast& value) { SetCapacityForecast(value); return *this;}
94 
98  inline GetPredictiveScalingForecastResult& WithCapacityForecast(CapacityForecast&& value) { SetCapacityForecast(std::move(value)); return *this;}
99 
100 
104  inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
105 
109  inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
110 
114  inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
115 
119  inline GetPredictiveScalingForecastResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
120 
124  inline GetPredictiveScalingForecastResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
125 
126 
127 
128  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
129 
130 
131  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
132 
133 
134  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
135 
136 
137  inline GetPredictiveScalingForecastResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
138 
139 
140  inline GetPredictiveScalingForecastResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
141 
142  private:
143 
144  Aws::Vector<LoadForecast> m_loadForecast;
145 
146  CapacityForecast m_capacityForecast;
147 
148  Aws::Utils::DateTime m_updateTime;
149 
150  ResponseMetadata m_responseMetadata;
151  };
152 
153 } // namespace Model
154 } // namespace AutoScaling
155 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithUpdateTime
GetPredictiveScalingForecastResult & WithUpdateTime(Aws::Utils::DateTime &&value)
Definition: GetPredictiveScalingForecastResult.h:124
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::GetCapacityForecast
const CapacityForecast & GetCapacityForecast() const
Definition: GetPredictiveScalingForecastResult.h:78
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithUpdateTime
GetPredictiveScalingForecastResult & WithUpdateTime(const Aws::Utils::DateTime &value)
Definition: GetPredictiveScalingForecastResult.h:119
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithResponseMetadata
GetPredictiveScalingForecastResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: GetPredictiveScalingForecastResult.h:137
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::GetPredictiveScalingForecastResult
GetPredictiveScalingForecastResult()
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::GetUpdateTime
const Aws::Utils::DateTime & GetUpdateTime() const
Definition: GetPredictiveScalingForecastResult.h:104
DateTime.h
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetLoadForecast
void SetLoadForecast(Aws::Vector< LoadForecast > &&value)
Definition: GetPredictiveScalingForecastResult.h:52
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: GetPredictiveScalingForecastResult.h:131
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithCapacityForecast
GetPredictiveScalingForecastResult & WithCapacityForecast(CapacityForecast &&value)
Definition: GetPredictiveScalingForecastResult.h:98
LoadForecast.h
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetCapacityForecast
void SetCapacityForecast(CapacityForecast &&value)
Definition: GetPredictiveScalingForecastResult.h:88
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: GetPredictiveScalingForecastResult.h:128
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetUpdateTime
void SetUpdateTime(const Aws::Utils::DateTime &value)
Definition: GetPredictiveScalingForecastResult.h:109
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::operator=
GetPredictiveScalingForecastResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::GetLoadForecast
const Aws::Vector< LoadForecast > & GetLoadForecast() const
Definition: GetPredictiveScalingForecastResult.h:42
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithLoadForecast
GetPredictiveScalingForecastResult & WithLoadForecast(const Aws::Vector< LoadForecast > &value)
Definition: GetPredictiveScalingForecastResult.h:57
Aws::AutoScaling::Model::LoadForecast
Definition: LoadForecast.h:37
CapacityForecast.h
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetCapacityForecast
void SetCapacityForecast(const CapacityForecast &value)
Definition: GetPredictiveScalingForecastResult.h:83
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetUpdateTime
void SetUpdateTime(Aws::Utils::DateTime &&value)
Definition: GetPredictiveScalingForecastResult.h:114
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithResponseMetadata
GetPredictiveScalingForecastResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: GetPredictiveScalingForecastResult.h:140
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult
Definition: GetPredictiveScalingForecastResult.h:32
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetLoadForecast
void SetLoadForecast(const Aws::Vector< LoadForecast > &value)
Definition: GetPredictiveScalingForecastResult.h:47
ResponseMetadata.h
Aws::AutoScaling::Model::CapacityForecast
Definition: CapacityForecast.h:36
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::GetPredictiveScalingForecastResult
GetPredictiveScalingForecastResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithCapacityForecast
GetPredictiveScalingForecastResult & WithCapacityForecast(const CapacityForecast &value)
Definition: GetPredictiveScalingForecastResult.h:93
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: GetPredictiveScalingForecastResult.h:134
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::AddLoadForecast
GetPredictiveScalingForecastResult & AddLoadForecast(const LoadForecast &value)
Definition: GetPredictiveScalingForecastResult.h:67
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::WithLoadForecast
GetPredictiveScalingForecastResult & WithLoadForecast(Aws::Vector< LoadForecast > &&value)
Definition: GetPredictiveScalingForecastResult.h:62
Aws::AutoScaling::Model::GetPredictiveScalingForecastResult::AddLoadForecast
GetPredictiveScalingForecastResult & AddLoadForecast(LoadForecast &&value)
Definition: GetPredictiveScalingForecastResult.h:72