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/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/application-autoscaling/model/ScalableDimension.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ApplicationAutoScaling
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_APPLICATIONAUTOSCALING_API GetPredictiveScalingForecastRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetPredictiveScalingForecast"; }
34
35 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
36
37 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
46 inline ServiceNamespace GetServiceNamespace() const { return m_serviceNamespace; }
47 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
48 inline void SetServiceNamespace(ServiceNamespace value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = value; }
51
53
56 inline const Aws::String& GetResourceId() const { return m_resourceId; }
57 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
58 template<typename ResourceIdT = Aws::String>
59 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
60 template<typename ResourceIdT = Aws::String>
61 GetPredictiveScalingForecastRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
63
65
68 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
69 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
70 inline void SetScalableDimension(ScalableDimension value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = value; }
73
75
78 inline const Aws::String& GetPolicyName() const { return m_policyName; }
79 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
80 template<typename PolicyNameT = Aws::String>
81 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet = true; m_policyName = std::forward<PolicyNameT>(value); }
82 template<typename PolicyNameT = Aws::String>
83 GetPredictiveScalingForecastRequest& WithPolicyName(PolicyNameT&& value) { SetPolicyName(std::forward<PolicyNameT>(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
92 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
93 template<typename StartTimeT = Aws::Utils::DateTime>
94 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
95 template<typename StartTimeT = Aws::Utils::DateTime>
96 GetPredictiveScalingForecastRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
105 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
106 template<typename EndTimeT = Aws::Utils::DateTime>
107 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
108 template<typename EndTimeT = Aws::Utils::DateTime>
109 GetPredictiveScalingForecastRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
111 private:
112
114 bool m_serviceNamespaceHasBeenSet = false;
115
116 Aws::String m_resourceId;
117 bool m_resourceIdHasBeenSet = false;
118
120 bool m_scalableDimensionHasBeenSet = false;
121
122 Aws::String m_policyName;
123 bool m_policyNameHasBeenSet = false;
124
125 Aws::Utils::DateTime m_startTime{};
126 bool m_startTimeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_endTime{};
129 bool m_endTimeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ApplicationAutoScaling
134} // namespace Aws
GetPredictiveScalingForecastRequest & WithServiceNamespace(ServiceNamespace value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetPredictiveScalingForecastRequest & WithScalableDimension(ScalableDimension value)
AWS_APPLICATIONAUTOSCALING_API GetPredictiveScalingForecastRequest()=default
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String