AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
RemoveTemplateActionRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace mgn
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_MGN_API RemoveTemplateActionRequest() = default;
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 "RemoveTemplateAction"; }
31
32 AWS_MGN_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetActionID() const { return m_actionID; }
40 inline bool ActionIDHasBeenSet() const { return m_actionIDHasBeenSet; }
41 template<typename ActionIDT = Aws::String>
42 void SetActionID(ActionIDT&& value) { m_actionIDHasBeenSet = true; m_actionID = std::forward<ActionIDT>(value); }
43 template<typename ActionIDT = Aws::String>
44 RemoveTemplateActionRequest& WithActionID(ActionIDT&& value) { SetActionID(std::forward<ActionIDT>(value)); return *this;}
46
48
52 inline const Aws::String& GetLaunchConfigurationTemplateID() const { return m_launchConfigurationTemplateID; }
53 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
54 template<typename LaunchConfigurationTemplateIDT = Aws::String>
55 void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value); }
56 template<typename LaunchConfigurationTemplateIDT = Aws::String>
57 RemoveTemplateActionRequest& WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { SetLaunchConfigurationTemplateID(std::forward<LaunchConfigurationTemplateIDT>(value)); return *this;}
59 private:
60
61 Aws::String m_actionID;
62 bool m_actionIDHasBeenSet = false;
63
64 Aws::String m_launchConfigurationTemplateID;
65 bool m_launchConfigurationTemplateIDHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace mgn
70} // namespace Aws
RemoveTemplateActionRequest & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
RemoveTemplateActionRequest & WithActionID(ActionIDT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
AWS_MGN_API RemoveTemplateActionRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String