AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetPredictiveScalingForecastRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AutoScaling
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AUTOSCALING_API GetPredictiveScalingForecastRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetPredictiveScalingForecast"; }
32
33 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::String& GetAutoScalingGroupName() const { return m_autoScalingGroupName; }
45 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
46 template<typename AutoScalingGroupNameT = Aws::String>
47 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value); }
48 template<typename AutoScalingGroupNameT = Aws::String>
49 GetPredictiveScalingForecastRequest& WithAutoScalingGroupName(AutoScalingGroupNameT&& value) { SetAutoScalingGroupName(std::forward<AutoScalingGroupNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetPolicyName() const { return m_policyName; }
57 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
58 template<typename PolicyNameT = Aws::String>
59 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet = true; m_policyName = std::forward<PolicyNameT>(value); }
60 template<typename PolicyNameT = Aws::String>
61 GetPredictiveScalingForecastRequest& WithPolicyName(PolicyNameT&& value) { SetPolicyName(std::forward<PolicyNameT>(value)); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
70 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
71 template<typename StartTimeT = Aws::Utils::DateTime>
72 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
73 template<typename StartTimeT = Aws::Utils::DateTime>
74 GetPredictiveScalingForecastRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
76
78
85 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
86 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
87 template<typename EndTimeT = Aws::Utils::DateTime>
88 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
89 template<typename EndTimeT = Aws::Utils::DateTime>
90 GetPredictiveScalingForecastRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
92 private:
93
94 Aws::String m_autoScalingGroupName;
95 bool m_autoScalingGroupNameHasBeenSet = false;
96
97 Aws::String m_policyName;
98 bool m_policyNameHasBeenSet = false;
99
100 Aws::Utils::DateTime m_startTime{};
101 bool m_startTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_endTime{};
104 bool m_endTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AutoScaling
109} // namespace Aws
GetPredictiveScalingForecastRequest & WithStartTime(StartTimeT &&value)
AWS_AUTOSCALING_API GetPredictiveScalingForecastRequest()=default
GetPredictiveScalingForecastRequest & WithPolicyName(PolicyNameT &&value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetPredictiveScalingForecastRequest & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
GetPredictiveScalingForecastRequest & WithEndTime(EndTimeT &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String