AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteLifecycleHookRequest.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/AutoScalingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AutoScaling
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_AUTOSCALING_API DeleteLifecycleHookRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteLifecycleHook"; }
31
32 AWS_AUTOSCALING_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetLifecycleHookName() const{ return m_lifecycleHookName; }
44 inline bool LifecycleHookNameHasBeenSet() const { return m_lifecycleHookNameHasBeenSet; }
45 inline void SetLifecycleHookName(const Aws::String& value) { m_lifecycleHookNameHasBeenSet = true; m_lifecycleHookName = value; }
46 inline void SetLifecycleHookName(Aws::String&& value) { m_lifecycleHookNameHasBeenSet = true; m_lifecycleHookName = std::move(value); }
47 inline void SetLifecycleHookName(const char* value) { m_lifecycleHookNameHasBeenSet = true; m_lifecycleHookName.assign(value); }
49 inline DeleteLifecycleHookRequest& WithLifecycleHookName(Aws::String&& value) { SetLifecycleHookName(std::move(value)); return *this;}
50 inline DeleteLifecycleHookRequest& WithLifecycleHookName(const char* value) { SetLifecycleHookName(value); return *this;}
52
54
57 inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
58 inline bool AutoScalingGroupNameHasBeenSet() const { return m_autoScalingGroupNameHasBeenSet; }
59 inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
60 inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = std::move(value); }
61 inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
64 inline DeleteLifecycleHookRequest& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
66 private:
67
68 Aws::String m_lifecycleHookName;
69 bool m_lifecycleHookNameHasBeenSet = false;
70
71 Aws::String m_autoScalingGroupName;
72 bool m_autoScalingGroupNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace AutoScaling
77} // namespace Aws
DeleteLifecycleHookRequest & WithLifecycleHookName(const Aws::String &value)
DeleteLifecycleHookRequest & WithAutoScalingGroupName(const Aws::String &value)
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteLifecycleHookRequest & WithLifecycleHookName(Aws::String &&value)
DeleteLifecycleHookRequest & WithAutoScalingGroupName(Aws::String &&value)
DeleteLifecycleHookRequest & WithAutoScalingGroupName(const char *value)
DeleteLifecycleHookRequest & WithLifecycleHookName(const char *value)
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String