AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
DeregisterScalableTargetRequest.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 DeregisterScalableTargetRequest() = 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 "DeregisterScalableTarget"; }
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
118 inline const Aws::String& GetResourceId() const { return m_resourceId; }
119 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
120 template <typename ResourceIdT = Aws::String>
121 void SetResourceId(ResourceIdT&& value) {
122 m_resourceIdHasBeenSet = true;
123 m_resourceId = std::forward<ResourceIdT>(value);
124 }
125 template <typename ResourceIdT = Aws::String>
127 SetResourceId(std::forward<ResourceIdT>(value));
128 return *this;
129 }
131
133
186 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
187 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
189 m_scalableDimensionHasBeenSet = true;
190 m_scalableDimension = value;
191 }
194 return *this;
195 }
197 private:
199
200 Aws::String m_resourceId;
201
203 bool m_serviceNamespaceHasBeenSet = false;
204 bool m_resourceIdHasBeenSet = false;
205 bool m_scalableDimensionHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace ApplicationAutoScaling
210} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API DeregisterScalableTargetRequest()=default
DeregisterScalableTargetRequest & WithServiceNamespace(ServiceNamespace value)
DeregisterScalableTargetRequest & WithResourceId(ResourceIdT &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeregisterScalableTargetRequest & 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