AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteScalingPlanRequest.h
1
6#pragma once
7#include <aws/autoscaling-plans/AutoScalingPlansRequest.h>
8#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AutoScalingPlans {
15namespace Model {
16
20 public:
21 AWS_AUTOSCALINGPLANS_API DeleteScalingPlanRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteScalingPlan"; }
28
29 AWS_AUTOSCALINGPLANS_API Aws::String SerializePayload() const override;
30
31 AWS_AUTOSCALINGPLANS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetScalingPlanName() const { return m_scalingPlanName; }
38 inline bool ScalingPlanNameHasBeenSet() const { return m_scalingPlanNameHasBeenSet; }
39 template <typename ScalingPlanNameT = Aws::String>
40 void SetScalingPlanName(ScalingPlanNameT&& value) {
41 m_scalingPlanNameHasBeenSet = true;
42 m_scalingPlanName = std::forward<ScalingPlanNameT>(value);
43 }
44 template <typename ScalingPlanNameT = Aws::String>
45 DeleteScalingPlanRequest& WithScalingPlanName(ScalingPlanNameT&& value) {
46 SetScalingPlanName(std::forward<ScalingPlanNameT>(value));
47 return *this;
48 }
50
52
56 inline long long GetScalingPlanVersion() const { return m_scalingPlanVersion; }
57 inline bool ScalingPlanVersionHasBeenSet() const { return m_scalingPlanVersionHasBeenSet; }
58 inline void SetScalingPlanVersion(long long value) {
59 m_scalingPlanVersionHasBeenSet = true;
60 m_scalingPlanVersion = value;
61 }
64 return *this;
65 }
67 private:
68 Aws::String m_scalingPlanName;
69
70 long long m_scalingPlanVersion{0};
71 bool m_scalingPlanNameHasBeenSet = false;
72 bool m_scalingPlanVersionHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace AutoScalingPlans
77} // namespace Aws
AWS_AUTOSCALINGPLANS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_AUTOSCALINGPLANS_API Aws::String SerializePayload() const override
DeleteScalingPlanRequest & WithScalingPlanName(ScalingPlanNameT &&value)
DeleteScalingPlanRequest & WithScalingPlanVersion(long long value)
AWS_AUTOSCALINGPLANS_API DeleteScalingPlanRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String