AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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
57 inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
58 inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
59 inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
60 inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
61 inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
64 inline DeleteScheduledActionRequest& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
66
68
129 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
130 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
131 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
132 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
133 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
134 inline DeleteScheduledActionRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
135 inline DeleteScheduledActionRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
136 inline DeleteScheduledActionRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
138
140
190 inline const ScalableDimension& GetScalableDimension() const{ return m_scalableDimension; }
191 inline bool ScalableDimensionHasBeenSet() const { return m_scalableDimensionHasBeenSet; }
192 inline void SetScalableDimension(const ScalableDimension& value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = value; }
193 inline void SetScalableDimension(ScalableDimension&& value) { m_scalableDimensionHasBeenSet = true; m_scalableDimension = std::move(value); }
197 private:
198
199 ServiceNamespace m_serviceNamespace;
200 bool m_serviceNamespaceHasBeenSet = false;
201
202 Aws::String m_scheduledActionName;
203 bool m_scheduledActionNameHasBeenSet = false;
204
205 Aws::String m_resourceId;
206 bool m_resourceIdHasBeenSet = false;
207
208 ScalableDimension m_scalableDimension;
209 bool m_scalableDimensionHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace ApplicationAutoScaling
214} // namespace Aws
DeleteScheduledActionRequest & WithServiceNamespace(const ServiceNamespace &value)
DeleteScheduledActionRequest & WithScalableDimension(ScalableDimension &&value)
AWS_APPLICATIONAUTOSCALING_API Aws::String SerializePayload() const override
DeleteScheduledActionRequest & WithScheduledActionName(Aws::String &&value)
DeleteScheduledActionRequest & WithServiceNamespace(ServiceNamespace &&value)
DeleteScheduledActionRequest & WithScalableDimension(const ScalableDimension &value)
DeleteScheduledActionRequest & WithResourceId(Aws::String &&value)
DeleteScheduledActionRequest & WithScheduledActionName(const char *value)
DeleteScheduledActionRequest & WithResourceId(const Aws::String &value)
AWS_APPLICATIONAUTOSCALING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteScheduledActionRequest & WithScheduledActionName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String