AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
40 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
41 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
42 inline DeleteLaunchActionRequest& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
43 inline DeleteLaunchActionRequest& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
44 inline DeleteLaunchActionRequest& WithActionId(const char* value) { SetActionId(value); return *this;}
46
48
49 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
50 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
51 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
52 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
53 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
54 inline DeleteLaunchActionRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
55 inline DeleteLaunchActionRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
56 inline DeleteLaunchActionRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
58 private:
59
60 Aws::String m_actionId;
61 bool m_actionIdHasBeenSet = false;
62
63 Aws::String m_resourceId;
64 bool m_resourceIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace drs
69} // namespace Aws
AWS_DRS_API Aws::String SerializePayload() const override
DeleteLaunchActionRequest & WithResourceId(Aws::String &&value)
DeleteLaunchActionRequest & WithResourceId(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteLaunchActionRequest & WithActionId(Aws::String &&value)
DeleteLaunchActionRequest & WithActionId(const char *value)
DeleteLaunchActionRequest & WithResourceId(const Aws::String &value)
DeleteLaunchActionRequest & WithActionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String