AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeregisterScalableTargetRequest.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 DeregisterScalableTargetRequest() = 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 "DeregisterScalableTarget"; }
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
116 inline const Aws::String& GetResourceId() const { return m_resourceId; }
117 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
118 template<typename ResourceIdT = Aws::String>
119 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
120 template<typename ResourceIdT = Aws::String>
121 DeregisterScalableTargetRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
123
125
178 inline ScalableDimension GetScalableDimension() const { return m_scalableDimension; }
179 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
180 inline void SetScalableDimension(ScalableDimension value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = value; }
183 private:
184
186 bool m_serviceNamespaceHasBeenSet = false;
187
188 Aws::String m_resourceId;
189 bool m_resourceIdHasBeenSet = false;
190
192 bool m_scalableDimensionHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace ApplicationAutoScaling
197} // 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