AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DeleteScheduledActionRequest.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
8#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
9#include <aws/application-autoscaling/model/ScalableDimension.h>
10#include <aws/application-autoscaling/model/ServiceNamespace.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ApplicationAutoScaling {
17namespace Model {
18
22 public:
23 AWS_APPLICATIONAUTOSCALING_API DeleteScheduledActionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DeleteScheduledAction"; }
30
31 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
32
33 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
41 inline ServiceNamespace GetServiceNamespace() const { return m_serviceNamespace; }
42 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
44 m_serviceNamespaceHasBeenSet = true;
45 m_serviceNamespace = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetScheduledActionName() const { return m_scheduledActionName; }
58 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
59 template <typename ScheduledActionNameT = Aws::String>
60 void SetScheduledActionName(ScheduledActionNameT&& value) {
61 m_scheduledActionNameHasBeenSet = true;
62 m_scheduledActionName = std::forward<ScheduledActionNameT>(value);
63 }
64 template <typename ScheduledActionNameT = Aws::String>
66 SetScheduledActionName(std::forward<ScheduledActionNameT>(value));
67 return *this;
68 }
70
72
136 inline const Aws::String& GetResourceId() const { return m_resourceId; }
137 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
138 template <typename ResourceIdT = Aws::String>
139 void SetResourceId(ResourceIdT&& value) {
140 m_resourceIdHasBeenSet = true;
141 m_resourceId = std::forward<ResourceIdT>(value);
142 }
143 template <typename ResourceIdT = Aws::String>
145 SetResourceId(std::forward<ResourceIdT>(value));
146 return *this;
147 }
149
151
203 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
204 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
206 m_scalableDimensionHasBeenSet = true;
207 m_scalableDimension = value;
208 }
211 return *this;
212 }
214 private:
216
217 Aws::String m_scheduledActionName;
218
219 Aws::String m_resourceId;
220
222 bool m_serviceNamespaceHasBeenSet = false;
223 bool m_scheduledActionNameHasBeenSet = false;
224 bool m_resourceIdHasBeenSet = false;
225 bool m_scalableDimensionHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace ApplicationAutoScaling
230} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
DeleteScheduledActionRequest & WithResourceId(ResourceIdT &&value)
AWS_APPLICATIONAUTOSCALING_API DeleteScheduledActionRequest()=default
DeleteScheduledActionRequest & WithServiceNamespace(ServiceNamespace value)
DeleteScheduledActionRequest & WithScalableDimension(ScalableDimension value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteScheduledActionRequest & WithScheduledActionName(ScheduledActionNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String