AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
47 inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
48 inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
53
55
58 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
59 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
60 inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
61 inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
62 inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
63 inline GetPredictiveScalingForecastRequest& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
64 inline GetPredictiveScalingForecastRequest& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
65 inline GetPredictiveScalingForecastRequest& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
74 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
75 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
76 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
78 inline GetPredictiveScalingForecastRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
80
82
89 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
90 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
91 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
92 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
94 inline GetPredictiveScalingForecastRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_autoScalingGroupName;
99 bool m_autoScalingGroupNameHasBeenSet = false;
100
101 Aws::String m_policyName;
102 bool m_policyNameHasBeenSet = false;
103
104 Aws::Utils::DateTime m_startTime;
105 bool m_startTimeHasBeenSet = false;
106
107 Aws::Utils::DateTime m_endTime;
108 bool m_endTimeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace AutoScaling
113} // namespace Aws
GetPredictiveScalingForecastRequest & WithAutoScalingGroupName(Aws::String &&value)
GetPredictiveScalingForecastRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetPredictiveScalingForecastRequest & WithStartTime(const Aws::Utils::DateTime &value)
GetPredictiveScalingForecastRequest & WithPolicyName(Aws::String &&value)
GetPredictiveScalingForecastRequest & WithPolicyName(const char *value)
GetPredictiveScalingForecastRequest & WithAutoScalingGroupName(const Aws::String &value)
GetPredictiveScalingForecastRequest & WithEndTime(Aws::Utils::DateTime &&value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetPredictiveScalingForecastRequest & WithPolicyName(const Aws::String &value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
GetPredictiveScalingForecastRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetPredictiveScalingForecastRequest & WithAutoScalingGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String