AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StartRemoteMoveRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Transfer
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_TRANSFER_API StartRemoteMoveRequest() = 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 "StartRemoteMove"; }
31
32 AWS_TRANSFER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetConnectorId() const { return m_connectorId; }
42 inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; }
43 template<typename ConnectorIdT = Aws::String>
44 void SetConnectorId(ConnectorIdT&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::forward<ConnectorIdT>(value); }
45 template<typename ConnectorIdT = Aws::String>
46 StartRemoteMoveRequest& WithConnectorId(ConnectorIdT&& value) { SetConnectorId(std::forward<ConnectorIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetSourcePath() const { return m_sourcePath; }
55 inline bool SourcePathHasBeenSet() const { return m_sourcePathHasBeenSet; }
56 template<typename SourcePathT = Aws::String>
57 void SetSourcePath(SourcePathT&& value) { m_sourcePathHasBeenSet = true; m_sourcePath = std::forward<SourcePathT>(value); }
58 template<typename SourcePathT = Aws::String>
59 StartRemoteMoveRequest& WithSourcePath(SourcePathT&& value) { SetSourcePath(std::forward<SourcePathT>(value)); return *this;}
61
63
66 inline const Aws::String& GetTargetPath() const { return m_targetPath; }
67 inline bool TargetPathHasBeenSet() const { return m_targetPathHasBeenSet; }
68 template<typename TargetPathT = Aws::String>
69 void SetTargetPath(TargetPathT&& value) { m_targetPathHasBeenSet = true; m_targetPath = std::forward<TargetPathT>(value); }
70 template<typename TargetPathT = Aws::String>
71 StartRemoteMoveRequest& WithTargetPath(TargetPathT&& value) { SetTargetPath(std::forward<TargetPathT>(value)); return *this;}
73 private:
74
75 Aws::String m_connectorId;
76 bool m_connectorIdHasBeenSet = false;
77
78 Aws::String m_sourcePath;
79 bool m_sourcePathHasBeenSet = false;
80
81 Aws::String m_targetPath;
82 bool m_targetPathHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Transfer
87} // 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