AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ServiceNamespace& GetServiceNamespace() const{ return m_serviceNamespace; }
46 inline bool ServiceNamespaceHasBeenSet() const { return m_serviceNamespaceHasBeenSet; }
47 inline void SetServiceNamespace(const ServiceNamespace& value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = value; }
48 inline void SetServiceNamespace(ServiceNamespace&& value) { m_serviceNamespaceHasBeenSet = true; m_serviceNamespace = std::move(value); }
52
54
115 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
116 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
117 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
118 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
119 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
120 inline DeregisterScalableTargetRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
121 inline DeregisterScalableTargetRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
122 inline DeregisterScalableTargetRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
124
126
177 inline const ScalableDimension& GetScalableDimension() const{ return m_scalableDimension; }
178 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
179 inline void SetScalableDimension(const ScalableDimension& value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = value; }
180 inline void SetScalableDimension(ScalableDimension&& value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = std::move(value); }
184 private:
185
186 ServiceNamespace m_serviceNamespace;
187 bool m_serviceNamespaceHasBeenSet = false;
188
189 Aws::String m_resourceId;
190 bool m_resourceIdHasBeenSet = false;
191
192 ScalableDimension m_scalableDimension;
193 bool m_scalableDimensionHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace ApplicationAutoScaling
198} // namespace Aws
DeregisterScalableTargetRequest & WithServiceNamespace(const ServiceNamespace &value)
DeregisterScalableTargetRequest & WithScalableDimension(ScalableDimension &&value)
DeregisterScalableTargetRequest & WithServiceNamespace(ServiceNamespace &&value)
DeregisterScalableTargetRequest & WithScalableDimension(const ScalableDimension &value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
DeregisterScalableTargetRequest & WithResourceId(const Aws::String &value)
DeregisterScalableTargetRequest & WithResourceId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String