AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
DeleteLifecycleHookRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScalingRequest.h>
8#include <aws/autoscaling/AutoScaling_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AutoScaling {
15namespace Model {
16
20 public:
21 AWS_AUTOSCALING_API DeleteLifecycleHookRequest() = 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 "DeleteLifecycleHook"; }
28
29 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
39 inline const Aws::String& GetLifecycleHookName() const { return m_lifecycleHookName; }
40 inline bool LifecycleHookNameHasBeenSet() const { return m_lifecycleHookNameHasBeenSet; }
41 template <typename LifecycleHookNameT = Aws::String>
42 void SetLifecycleHookName(LifecycleHookNameT&& value) {
43 m_lifecycleHookNameHasBeenSet = true;
44 m_lifecycleHookName = std::forward<LifecycleHookNameT>(value);
45 }
46 template <typename LifecycleHookNameT = Aws::String>
48 SetLifecycleHookName(std::forward<LifecycleHookNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAutoScalingGroupName() const { return m_autoScalingGroupName; }
58 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
59 template <typename AutoScalingGroupNameT = Aws::String>
60 void SetAutoScalingGroupName(AutoScalingGroupNameT&& value) {
61 m_autoScalingGroupNameHasBeenSet = true;
62 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
63 }
64 template <typename AutoScalingGroupNameT = Aws::String>
65 DeleteLifecycleHookRequest& WithAutoScalingGroupName(AutoScalingGroupNameT&& value) {
66 SetAutoScalingGroupName(std::forward<AutoScalingGroupNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_lifecycleHookName;
72 bool m_lifecycleHookNameHasBeenSet = false;
73
74 Aws::String m_autoScalingGroupName;
75 bool m_autoScalingGroupNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AutoScaling
80} // namespace Aws
AWS_AUTOSCALING_API DeleteLifecycleHookRequest()=default
DeleteLifecycleHookRequest & WithLifecycleHookName(LifecycleHookNameT &&value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteLifecycleHookRequest & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String