AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteScheduledActionRequest.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 <utility>
13
14namespace Aws
15{
16namespace ApplicationAutoScaling
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPLICATIONAUTOSCALING_API DeleteScheduledActionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteScheduledAction"; }
33
34 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline ServiceNamespace GetServiceNamespace() const { return m_serviceNamespace; }
46 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
47 inline void SetServiceNamespace(ServiceNamespace value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = value; }
50
52
55 inline const Aws::String& GetScheduledActionName() const { return m_scheduledActionName; }
56 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
57 template<typename ScheduledActionNameT = Aws::String>
58 void SetScheduledActionName(ScheduledActionNameT&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::forward<ScheduledActionNameT>(value); }
59 template<typename ScheduledActionNameT = Aws::String>
60 DeleteScheduledActionRequest& WithScheduledActionName(ScheduledActionNameT&& value) { SetScheduledActionName(std::forward<ScheduledActionNameT>(value)); return *this;}
62
64
128 inline const Aws::String& GetResourceId() const { return m_resourceId; }
129 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
130 template<typename ResourceIdT = Aws::String>
131 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
132 template<typename ResourceIdT = Aws::String>
133 DeleteScheduledActionRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
135
137
189 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
190 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
191 inline void SetScalableDimension(ScalableDimension value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = value; }
194 private:
195
197 bool m_serviceNamespaceHasBeenSet = false;
198
199 Aws::String m_scheduledActionName;
200 bool m_scheduledActionNameHasBeenSet = false;
201
202 Aws::String m_resourceId;
203 bool m_resourceIdHasBeenSet = false;
204
206 bool m_scalableDimensionHasBeenSet = false;
207 };
208
209} // namespace Model
210} // namespace ApplicationAutoScaling
211} // 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