AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetActionID(const Aws::String& value) { m_actionIDHasBeenSet = true; m_actionID = value; }
42 inline void SetActionID(Aws::String&& value) { m_actionIDHasBeenSet = true; m_actionID = std::move(value); }
43 inline void SetActionID(const char* value) { m_actionIDHasBeenSet = true; m_actionID.assign(value); }
44 inline RemoveTemplateActionRequest& WithActionID(const Aws::String& value) { SetActionID(value); return *this;}
45 inline RemoveTemplateActionRequest& WithActionID(Aws::String&& value) { SetActionID(std::move(value)); return *this;}
46 inline RemoveTemplateActionRequest& WithActionID(const char* value) { SetActionID(value); return *this;}
48
50
54 inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; }
55 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
56 inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = value; }
57 inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::move(value); }
58 inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID.assign(value); }
63 private:
64
65 Aws::String m_actionID;
66 bool m_actionIDHasBeenSet = false;
67
68 Aws::String m_launchConfigurationTemplateID;
69 bool m_launchConfigurationTemplateIDHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace mgn
74} // namespace Aws
void SetLaunchConfigurationTemplateID(const Aws::String &value)
RemoveTemplateActionRequest & WithLaunchConfigurationTemplateID(const char *value)
AWS_MGN_API Aws::String SerializePayload() const override
RemoveTemplateActionRequest & WithLaunchConfigurationTemplateID(Aws::String &&value)
RemoveTemplateActionRequest & WithActionID(Aws::String &&value)
RemoveTemplateActionRequest & WithActionID(const char *value)
virtual const char * GetServiceRequestName() const override
RemoveTemplateActionRequest & WithActionID(const Aws::String &value)
RemoveTemplateActionRequest & WithLaunchConfigurationTemplateID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String