AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRelayResult.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/RelayAuthentication.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MailManager
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MAILMANAGER_API GetRelayResult();
35
36
38
42 inline const RelayAuthentication& GetAuthentication() const{ return m_authentication; }
43 inline void SetAuthentication(const RelayAuthentication& value) { m_authentication = value; }
44 inline void SetAuthentication(RelayAuthentication&& value) { m_authentication = std::move(value); }
45 inline GetRelayResult& WithAuthentication(const RelayAuthentication& value) { SetAuthentication(value); return *this;}
46 inline GetRelayResult& WithAuthentication(RelayAuthentication&& value) { SetAuthentication(std::move(value)); return *this;}
48
50
53 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
54 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
55 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
56 inline GetRelayResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
57 inline GetRelayResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
65 inline void SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; }
66 inline void SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); }
70
72
75 inline const Aws::String& GetRelayArn() const{ return m_relayArn; }
76 inline void SetRelayArn(const Aws::String& value) { m_relayArn = value; }
77 inline void SetRelayArn(Aws::String&& value) { m_relayArn = std::move(value); }
78 inline void SetRelayArn(const char* value) { m_relayArn.assign(value); }
79 inline GetRelayResult& WithRelayArn(const Aws::String& value) { SetRelayArn(value); return *this;}
80 inline GetRelayResult& WithRelayArn(Aws::String&& value) { SetRelayArn(std::move(value)); return *this;}
81 inline GetRelayResult& WithRelayArn(const char* value) { SetRelayArn(value); return *this;}
83
85
88 inline const Aws::String& GetRelayId() const{ return m_relayId; }
89 inline void SetRelayId(const Aws::String& value) { m_relayId = value; }
90 inline void SetRelayId(Aws::String&& value) { m_relayId = std::move(value); }
91 inline void SetRelayId(const char* value) { m_relayId.assign(value); }
92 inline GetRelayResult& WithRelayId(const Aws::String& value) { SetRelayId(value); return *this;}
93 inline GetRelayResult& WithRelayId(Aws::String&& value) { SetRelayId(std::move(value)); return *this;}
94 inline GetRelayResult& WithRelayId(const char* value) { SetRelayId(value); return *this;}
96
98
101 inline const Aws::String& GetRelayName() const{ return m_relayName; }
102 inline void SetRelayName(const Aws::String& value) { m_relayName = value; }
103 inline void SetRelayName(Aws::String&& value) { m_relayName = std::move(value); }
104 inline void SetRelayName(const char* value) { m_relayName.assign(value); }
105 inline GetRelayResult& WithRelayName(const Aws::String& value) { SetRelayName(value); return *this;}
106 inline GetRelayResult& WithRelayName(Aws::String&& value) { SetRelayName(std::move(value)); return *this;}
107 inline GetRelayResult& WithRelayName(const char* value) { SetRelayName(value); return *this;}
109
111
114 inline const Aws::String& GetServerName() const{ return m_serverName; }
115 inline void SetServerName(const Aws::String& value) { m_serverName = value; }
116 inline void SetServerName(Aws::String&& value) { m_serverName = std::move(value); }
117 inline void SetServerName(const char* value) { m_serverName.assign(value); }
118 inline GetRelayResult& WithServerName(const Aws::String& value) { SetServerName(value); return *this;}
119 inline GetRelayResult& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;}
120 inline GetRelayResult& WithServerName(const char* value) { SetServerName(value); return *this;}
122
124
127 inline int GetServerPort() const{ return m_serverPort; }
128 inline void SetServerPort(int value) { m_serverPort = value; }
129 inline GetRelayResult& WithServerPort(int value) { SetServerPort(value); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const{ return m_requestId; }
135 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
136 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
137 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
138 inline GetRelayResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
139 inline GetRelayResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
140 inline GetRelayResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
142 private:
143
144 RelayAuthentication m_authentication;
145
146 Aws::Utils::DateTime m_createdTimestamp;
147
148 Aws::Utils::DateTime m_lastModifiedTimestamp;
149
150 Aws::String m_relayArn;
151
152 Aws::String m_relayId;
153
154 Aws::String m_relayName;
155
156 Aws::String m_serverName;
157
158 int m_serverPort;
159
160 Aws::String m_requestId;
161 };
162
163} // namespace Model
164} // namespace MailManager
165} // namespace Aws
void SetRelayArn(const Aws::String &value)
GetRelayResult & WithLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetAuthentication(const RelayAuthentication &value)
GetRelayResult & WithLastModifiedTimestamp(Aws::Utils::DateTime &&value)
void SetServerName(const Aws::String &value)
const Aws::String & GetRelayName() const
void SetRelayId(const Aws::String &value)
void SetLastModifiedTimestamp(Aws::Utils::DateTime &&value)
GetRelayResult & WithServerName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
GetRelayResult & WithRelayName(Aws::String &&value)
GetRelayResult & WithAuthentication(RelayAuthentication &&value)
void SetRequestId(const Aws::String &value)
GetRelayResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetRequestId(Aws::String &&value)
void SetRelayArn(Aws::String &&value)
GetRelayResult & WithAuthentication(const RelayAuthentication &value)
GetRelayResult & WithRequestId(Aws::String &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetRelayResult & WithRelayName(const Aws::String &value)
GetRelayResult & WithRelayId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::String & GetRelayArn() const
const Aws::String & GetServerName() const
GetRelayResult & WithRelayId(const Aws::String &value)
GetRelayResult & WithRelayName(const char *value)
void SetLastModifiedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API GetRelayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRelayId(Aws::String &&value)
const Aws::String & GetRequestId() const
GetRelayResult & WithRequestId(const Aws::String &value)
GetRelayResult & WithServerName(const char *value)
void SetAuthentication(RelayAuthentication &&value)
GetRelayResult & WithServerPort(int value)
GetRelayResult & WithRelayArn(const Aws::String &value)
void SetServerName(Aws::String &&value)
GetRelayResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
AWS_MAILMANAGER_API GetRelayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRelayResult & WithRelayArn(Aws::String &&value)
const Aws::String & GetRelayId() const
GetRelayResult & WithRequestId(const char *value)
void SetRelayName(Aws::String &&value)
void SetRelayName(const Aws::String &value)
const RelayAuthentication & GetAuthentication() const
GetRelayResult & WithServerName(Aws::String &&value)
GetRelayResult & WithRelayId(const char *value)
GetRelayResult & WithRelayArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue