AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteScalingPolicyRequest.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/ApplicationAutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-autoscaling/model/ServiceNamespace.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 DeleteScalingPolicyRequest() = 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 "DeleteScalingPolicy"; }
33
34 AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetPolicyName() const { return m_policyName; }
44 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
45 template<typename PolicyNameT = Aws::String>
46 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet = true; m_policyName = std::forward<PolicyNameT>(value); }
47 template<typename PolicyNameT = Aws::String>
48 DeleteScalingPolicyRequest& WithPolicyName(PolicyNameT&& value) { SetPolicyName(std::forward<PolicyNameT>(value)); return *this;}
50
52
57 inline ServiceNamespace GetServiceNamespace() const { return m_serviceNamespace; }
58 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
59 inline void SetServiceNamespace(ServiceNamespace value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = value; }
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 DeleteScalingPolicyRequest& 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
196 Aws::String m_policyName;
197 bool m_policyNameHasBeenSet = false;
198
200 bool m_serviceNamespaceHasBeenSet = 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 DeleteScalingPolicyRequest()=default
DeleteScalingPolicyRequest & WithPolicyName(PolicyNameT &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteScalingPolicyRequest & WithResourceId(ResourceIdT &&value)
DeleteScalingPolicyRequest & WithServiceNamespace(ServiceNamespace value)
DeleteScalingPolicyRequest & WithScalableDimension(ScalableDimension value)
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