AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteLaunchActionRequest.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace drs
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DRS_API DeleteLaunchActionRequest() = 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 "DeleteLaunchAction"; }
31
32 AWS_DRS_API Aws::String SerializePayload() const override;
33
34
36
37 inline const Aws::String& GetActionId() const { return m_actionId; }
38 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
39 template<typename ActionIdT = Aws::String>
40 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet = true; m_actionId = std::forward<ActionIdT>(value); }
41 template<typename ActionIdT = Aws::String>
42 DeleteLaunchActionRequest& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
44
46
47 inline const Aws::String& GetResourceId() const { return m_resourceId; }
48 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
49 template<typename ResourceIdT = Aws::String>
50 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
51 template<typename ResourceIdT = Aws::String>
52 DeleteLaunchActionRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
54 private:
55
56 Aws::String m_actionId;
57 bool m_actionIdHasBeenSet = false;
58
59 Aws::String m_resourceId;
60 bool m_resourceIdHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace drs
65} // 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