AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConnectorFileTransferResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/TransferTableStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Transfer
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TRANSFER_API ConnectorFileTransferResult();
39 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFilePath() const{ return m_filePath; }
47 inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
48 inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; }
49 inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
50 inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); }
51 inline ConnectorFileTransferResult& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
52 inline ConnectorFileTransferResult& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
53 inline ConnectorFileTransferResult& WithFilePath(const char* value) { SetFilePath(value); return *this;}
55
57
60 inline const TransferTableStatus& GetStatusCode() const{ return m_statusCode; }
61 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
62 inline void SetStatusCode(const TransferTableStatus& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
63 inline void SetStatusCode(TransferTableStatus&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
64 inline ConnectorFileTransferResult& WithStatusCode(const TransferTableStatus& value) { SetStatusCode(value); return *this;}
65 inline ConnectorFileTransferResult& WithStatusCode(TransferTableStatus&& value) { SetStatusCode(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
74 inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
75 inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
76 inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
77 inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); }
78 inline ConnectorFileTransferResult& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
79 inline ConnectorFileTransferResult& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
80 inline ConnectorFileTransferResult& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
82
84
88 inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
89 inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
90 inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
91 inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
92 inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
93 inline ConnectorFileTransferResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
94 inline ConnectorFileTransferResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
95 inline ConnectorFileTransferResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
97 private:
98
99 Aws::String m_filePath;
100 bool m_filePathHasBeenSet = false;
101
102 TransferTableStatus m_statusCode;
103 bool m_statusCodeHasBeenSet = false;
104
105 Aws::String m_failureCode;
106 bool m_failureCodeHasBeenSet = false;
107
108 Aws::String m_failureMessage;
109 bool m_failureMessageHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Transfer
114} // namespace Aws
AWS_TRANSFER_API ConnectorFileTransferResult(Aws::Utils::Json::JsonView jsonValue)
ConnectorFileTransferResult & WithFailureMessage(const char *value)
ConnectorFileTransferResult & WithFailureMessage(Aws::String &&value)
ConnectorFileTransferResult & WithFailureCode(const char *value)
ConnectorFileTransferResult & WithFailureCode(const Aws::String &value)
ConnectorFileTransferResult & WithStatusCode(const TransferTableStatus &value)
AWS_TRANSFER_API ConnectorFileTransferResult & operator=(Aws::Utils::Json::JsonView jsonValue)
ConnectorFileTransferResult & WithFilePath(Aws::String &&value)
ConnectorFileTransferResult & WithStatusCode(TransferTableStatus &&value)
ConnectorFileTransferResult & WithFailureCode(Aws::String &&value)
ConnectorFileTransferResult & WithFilePath(const Aws::String &value)
ConnectorFileTransferResult & WithFilePath(const char *value)
ConnectorFileTransferResult & WithFailureMessage(const Aws::String &value)
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue