AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DeleteLaunchActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/Drs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace drs {
15namespace Model {
16
20 public:
21 AWS_DRS_API DeleteLaunchActionRequest() = 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 "DeleteLaunchAction"; }
28
29 AWS_DRS_API Aws::String SerializePayload() const override;
30
32
33 inline const Aws::String& GetActionId() const { return m_actionId; }
34 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
35 template <typename ActionIdT = Aws::String>
36 void SetActionId(ActionIdT&& value) {
37 m_actionIdHasBeenSet = true;
38 m_actionId = std::forward<ActionIdT>(value);
39 }
40 template <typename ActionIdT = Aws::String>
42 SetActionId(std::forward<ActionIdT>(value));
43 return *this;
44 }
46
48
49 inline const Aws::String& GetResourceId() const { return m_resourceId; }
50 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
51 template <typename ResourceIdT = Aws::String>
52 void SetResourceId(ResourceIdT&& value) {
53 m_resourceIdHasBeenSet = true;
54 m_resourceId = std::forward<ResourceIdT>(value);
55 }
56 template <typename ResourceIdT = Aws::String>
58 SetResourceId(std::forward<ResourceIdT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_actionId;
64
65 Aws::String m_resourceId;
66 bool m_actionIdHasBeenSet = false;
67 bool m_resourceIdHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace drs
72} // namespace Aws
AWS_DRS_API Aws::String SerializePayload() const override
DeleteLaunchActionRequest & WithActionId(ActionIdT &&value)
AWS_DRS_API DeleteLaunchActionRequest()=default
DeleteLaunchActionRequest & WithResourceId(ResourceIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String