AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RemoveSourceServerActionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace mgn {
15namespace Model {
16
20 public:
21 AWS_MGN_API RemoveSourceServerActionRequest() = 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 "RemoveSourceServerAction"; }
28
29 AWS_MGN_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
36 inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; }
37 template <typename SourceServerIDT = Aws::String>
38 void SetSourceServerID(SourceServerIDT&& value) {
39 m_sourceServerIDHasBeenSet = true;
40 m_sourceServerID = std::forward<SourceServerIDT>(value);
41 }
42 template <typename SourceServerIDT = Aws::String>
44 SetSourceServerID(std::forward<SourceServerIDT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetActionID() const { return m_actionID; }
54 inline bool ActionIDHasBeenSet() const { return m_actionIDHasBeenSet; }
55 template <typename ActionIDT = Aws::String>
56 void SetActionID(ActionIDT&& value) {
57 m_actionIDHasBeenSet = true;
58 m_actionID = std::forward<ActionIDT>(value);
59 }
60 template <typename ActionIDT = Aws::String>
62 SetActionID(std::forward<ActionIDT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetAccountID() const { return m_accountID; }
72 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
73 template <typename AccountIDT = Aws::String>
74 void SetAccountID(AccountIDT&& value) {
75 m_accountIDHasBeenSet = true;
76 m_accountID = std::forward<AccountIDT>(value);
77 }
78 template <typename AccountIDT = Aws::String>
80 SetAccountID(std::forward<AccountIDT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_sourceServerID;
86
87 Aws::String m_actionID;
88
89 Aws::String m_accountID;
90 bool m_sourceServerIDHasBeenSet = false;
91 bool m_actionIDHasBeenSet = false;
92 bool m_accountIDHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace mgn
97} // namespace Aws
RemoveSourceServerActionRequest & WithAccountID(AccountIDT &&value)
RemoveSourceServerActionRequest & WithSourceServerID(SourceServerIDT &&value)
RemoveSourceServerActionRequest & WithActionID(ActionIDT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String