AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPredictiveScalingForecastResult.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/autoscaling/model/CapacityForecast.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/autoscaling/model/ResponseMetadata.h>
12#include <aws/autoscaling/model/LoadForecast.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace AutoScaling
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const Aws::Vector<LoadForecast>& GetLoadForecast() const{ return m_loadForecast; }
44 inline void SetLoadForecast(const Aws::Vector<LoadForecast>& value) { m_loadForecast = value; }
45 inline void SetLoadForecast(Aws::Vector<LoadForecast>&& value) { m_loadForecast = std::move(value); }
48 inline GetPredictiveScalingForecastResult& AddLoadForecast(const LoadForecast& value) { m_loadForecast.push_back(value); return *this; }
49 inline GetPredictiveScalingForecastResult& AddLoadForecast(LoadForecast&& value) { m_loadForecast.push_back(std::move(value)); return *this; }
51
53
56 inline const CapacityForecast& GetCapacityForecast() const{ return m_capacityForecast; }
57 inline void SetCapacityForecast(const CapacityForecast& value) { m_capacityForecast = value; }
58 inline void SetCapacityForecast(CapacityForecast&& value) { m_capacityForecast = std::move(value); }
62
64
67 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
68 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
69 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
71 inline GetPredictiveScalingForecastResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
77 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
82 private:
83
84 Aws::Vector<LoadForecast> m_loadForecast;
85
86 CapacityForecast m_capacityForecast;
87
88 Aws::Utils::DateTime m_updateTime;
89
90 ResponseMetadata m_responseMetadata;
91 };
92
93} // namespace Model
94} // namespace AutoScaling
95} // namespace Aws
GetPredictiveScalingForecastResult & AddLoadForecast(const LoadForecast &value)
GetPredictiveScalingForecastResult & WithUpdateTime(const Aws::Utils::DateTime &value)
GetPredictiveScalingForecastResult & WithUpdateTime(Aws::Utils::DateTime &&value)
GetPredictiveScalingForecastResult & WithResponseMetadata(ResponseMetadata &&value)
GetPredictiveScalingForecastResult & WithResponseMetadata(const ResponseMetadata &value)
GetPredictiveScalingForecastResult & WithCapacityForecast(const CapacityForecast &value)
GetPredictiveScalingForecastResult & WithLoadForecast(const Aws::Vector< LoadForecast > &value)
AWS_AUTOSCALING_API GetPredictiveScalingForecastResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPredictiveScalingForecastResult & WithCapacityForecast(CapacityForecast &&value)
GetPredictiveScalingForecastResult & AddLoadForecast(LoadForecast &&value)
AWS_AUTOSCALING_API GetPredictiveScalingForecastResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPredictiveScalingForecastResult & WithLoadForecast(Aws::Vector< LoadForecast > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument