AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestConnectionResult.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Transfer
24{
25namespace Model
26{
28 {
29 public:
30 AWS_TRANSFER_API TestConnectionResult();
33
34
36
39 inline const Aws::String& GetConnectorId() const{ return m_connectorId; }
40 inline void SetConnectorId(const Aws::String& value) { m_connectorId = value; }
41 inline void SetConnectorId(Aws::String&& value) { m_connectorId = std::move(value); }
42 inline void SetConnectorId(const char* value) { m_connectorId.assign(value); }
43 inline TestConnectionResult& WithConnectorId(const Aws::String& value) { SetConnectorId(value); return *this;}
44 inline TestConnectionResult& WithConnectorId(Aws::String&& value) { SetConnectorId(std::move(value)); return *this;}
45 inline TestConnectionResult& WithConnectorId(const char* value) { SetConnectorId(value); return *this;}
47
49
53 inline const Aws::String& GetStatus() const{ return m_status; }
54 inline void SetStatus(const Aws::String& value) { m_status = value; }
55 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
56 inline void SetStatus(const char* value) { m_status.assign(value); }
57 inline TestConnectionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
58 inline TestConnectionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
59 inline TestConnectionResult& WithStatus(const char* value) { SetStatus(value); return *this;}
61
63
75 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
76 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
77 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
78 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
79 inline TestConnectionResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
80 inline TestConnectionResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
81 inline TestConnectionResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
88 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
89 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
90 inline TestConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
91 inline TestConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
92 inline TestConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
94 private:
95
96 Aws::String m_connectorId;
97
98 Aws::String m_status;
99
100 Aws::String m_statusMessage;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace Transfer
107} // namespace Aws
AWS_TRANSFER_API TestConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestConnectionResult & WithRequestId(const Aws::String &value)
TestConnectionResult & WithStatusMessage(const char *value)
void SetConnectorId(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
TestConnectionResult & WithRequestId(Aws::String &&value)
TestConnectionResult & WithStatus(Aws::String &&value)
TestConnectionResult & WithStatus(const Aws::String &value)
TestConnectionResult & WithRequestId(const char *value)
TestConnectionResult & WithConnectorId(Aws::String &&value)
TestConnectionResult & WithStatusMessage(Aws::String &&value)
TestConnectionResult & WithStatus(const char *value)
AWS_TRANSFER_API TestConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TestConnectionResult & WithStatusMessage(const Aws::String &value)
void SetRequestId(const Aws::String &value)
TestConnectionResult & WithConnectorId(const Aws::String &value)
TestConnectionResult & WithConnectorId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue