AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
StartRemoteMoveRequest.h
1
6#pragma once
7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Transfer {
15namespace Model {
16
20 public:
21 AWS_TRANSFER_API StartRemoteMoveRequest() = 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 "StartRemoteMove"; }
28
29 AWS_TRANSFER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
38 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
39 template <typename ConnectorIdT = Aws::String>
40 void SetConnectorId(ConnectorIdT&& value) {
41 m_connectorIdHasBeenSet = true;
42 m_connectorId = std::forward<ConnectorIdT>(value);
43 }
44 template <typename ConnectorIdT = Aws::String>
45 StartRemoteMoveRequest& WithConnectorId(ConnectorIdT&& value) {
46 SetConnectorId(std::forward<ConnectorIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
57 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
58 template <typename SourcePathT = Aws::String>
59 void SetSourcePath(SourcePathT&& value) {
60 m_sourcePathHasBeenSet = true;
61 m_sourcePath = std::forward<SourcePathT>(value);
62 }
63 template <typename SourcePathT = Aws::String>
64 StartRemoteMoveRequest& WithSourcePath(SourcePathT&& value) {
65 SetSourcePath(std::forward<SourcePathT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetTargetPath() const { return m_targetPath; }
75 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
76 template <typename TargetPathT = Aws::String>
77 void SetTargetPath(TargetPathT&& value) {
78 m_targetPathHasBeenSet = true;
79 m_targetPath = std::forward<TargetPathT>(value);
80 }
81 template <typename TargetPathT = Aws::String>
82 StartRemoteMoveRequest& WithTargetPath(TargetPathT&& value) {
83 SetTargetPath(std::forward<TargetPathT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_connectorId;
89 bool m_connectorIdHasBeenSet = false;
90
91 Aws::String m_sourcePath;
92 bool m_sourcePathHasBeenSet = false;
93
94 Aws::String m_targetPath;
95 bool m_targetPathHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Transfer
100} // namespace Aws
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartRemoteMoveRequest & WithSourcePath(SourcePathT &&value)
AWS_TRANSFER_API StartRemoteMoveRequest()=default
StartRemoteMoveRequest & WithConnectorId(ConnectorIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_TRANSFER_API Aws::String SerializePayload() const override
StartRemoteMoveRequest & WithTargetPath(TargetPathT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String