AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_AUTOSCALING_API GetPredictiveScalingForecastResult() = default;
37
38
40
43 inline const Aws::Vector<LoadForecast>& GetLoadForecast() const { return m_loadForecast; }
44 template<typename LoadForecastT = Aws::Vector<LoadForecast>>
45 void SetLoadForecast(LoadForecastT&& value) { m_loadForecastHasBeenSet = true; m_loadForecast = std::forward<LoadForecastT>(value); }
46 template<typename LoadForecastT = Aws::Vector<LoadForecast>>
47 GetPredictiveScalingForecastResult& WithLoadForecast(LoadForecastT&& value) { SetLoadForecast(std::forward<LoadForecastT>(value)); return *this;}
48 template<typename LoadForecastT = LoadForecast>
49 GetPredictiveScalingForecastResult& AddLoadForecast(LoadForecastT&& value) { m_loadForecastHasBeenSet = true; m_loadForecast.emplace_back(std::forward<LoadForecastT>(value)); return *this; }
51
53
56 inline const CapacityForecast& GetCapacityForecast() const { return m_capacityForecast; }
57 template<typename CapacityForecastT = CapacityForecast>
58 void SetCapacityForecast(CapacityForecastT&& value) { m_capacityForecastHasBeenSet = true; m_capacityForecast = std::forward<CapacityForecastT>(value); }
59 template<typename CapacityForecastT = CapacityForecast>
60 GetPredictiveScalingForecastResult& WithCapacityForecast(CapacityForecastT&& value) { SetCapacityForecast(std::forward<CapacityForecastT>(value)); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
68 template<typename UpdateTimeT = Aws::Utils::DateTime>
69 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
70 template<typename UpdateTimeT = Aws::Utils::DateTime>
71 GetPredictiveScalingForecastResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
77 template<typename ResponseMetadataT = ResponseMetadata>
78 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
79 template<typename ResponseMetadataT = ResponseMetadata>
80 GetPredictiveScalingForecastResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
82 private:
83
84 Aws::Vector<LoadForecast> m_loadForecast;
85 bool m_loadForecastHasBeenSet = false;
86
87 CapacityForecast m_capacityForecast;
88 bool m_capacityForecastHasBeenSet = false;
89
90 Aws::Utils::DateTime m_updateTime{};
91 bool m_updateTimeHasBeenSet = false;
92
93 ResponseMetadata m_responseMetadata;
94 bool m_responseMetadataHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AutoScaling
99} // namespace Aws
GetPredictiveScalingForecastResult & WithCapacityForecast(CapacityForecastT &&value)
GetPredictiveScalingForecastResult & WithResponseMetadata(ResponseMetadataT &&value)
GetPredictiveScalingForecastResult & WithUpdateTime(UpdateTimeT &&value)
AWS_AUTOSCALING_API GetPredictiveScalingForecastResult()=default
AWS_AUTOSCALING_API GetPredictiveScalingForecastResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPredictiveScalingForecastResult & WithLoadForecast(LoadForecastT &&value)
AWS_AUTOSCALING_API GetPredictiveScalingForecastResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPredictiveScalingForecastResult & AddLoadForecast(LoadForecastT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument