7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/MailManager_EXPORTS.h>
11#include <aws/mailmanager/model/RelayAuthentication.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace MailManager {
37 template <
typename RelayIdT = Aws::String>
39 m_relayIdHasBeenSet =
true;
40 m_relayId = std::forward<RelayIdT>(value);
42 template <
typename RelayIdT = Aws::String>
54 template <
typename RelayArnT = Aws::String>
56 m_relayArnHasBeenSet =
true;
57 m_relayArn = std::forward<RelayArnT>(value);
59 template <
typename RelayArnT = Aws::String>
71 template <
typename RelayNameT = Aws::String>
73 m_relayNameHasBeenSet =
true;
74 m_relayName = std::forward<RelayNameT>(value);
76 template <
typename RelayNameT = Aws::String>
88 template <
typename ServerNameT = Aws::String>
90 m_serverNameHasBeenSet =
true;
91 m_serverName = std::forward<ServerNameT>(value);
93 template <
typename ServerNameT = Aws::String>
106 m_serverPortHasBeenSet =
true;
107 m_serverPort = value;
121 template <
typename AuthenticationT = RelayAuthentication>
123 m_authenticationHasBeenSet =
true;
124 m_authentication = std::forward<AuthenticationT>(value);
126 template <
typename AuthenticationT = RelayAuthentication>
138 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
140 m_createdTimestampHasBeenSet =
true;
141 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
143 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
155 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
157 m_lastModifiedTimestampHasBeenSet =
true;
158 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
160 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
170 template <
typename RequestIdT = Aws::String>
172 m_requestIdHasBeenSet =
true;
173 m_requestId = std::forward<RequestIdT>(value);
175 template <
typename RequestIdT = Aws::String>
194 RelayAuthentication m_authentication;
202 bool m_relayIdHasBeenSet =
false;
203 bool m_relayArnHasBeenSet =
false;
204 bool m_relayNameHasBeenSet =
false;
205 bool m_serverNameHasBeenSet =
false;
206 bool m_serverPortHasBeenSet =
false;
207 bool m_authenticationHasBeenSet =
false;
208 bool m_createdTimestampHasBeenSet =
false;
209 bool m_lastModifiedTimestampHasBeenSet =
false;
210 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRelayName() const
GetRelayResult & WithCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Utils::DateTime & GetLastModifiedTimestamp() const
GetRelayResult & WithServerName(ServerNameT &&value)
GetRelayResult & WithLastModifiedTimestamp(LastModifiedTimestampT &&value)
void SetAuthentication(AuthenticationT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetRelayResult & WithAuthentication(AuthenticationT &&value)
const Aws::String & GetRelayArn() const
const Aws::String & GetServerName() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
GetRelayResult & WithRelayId(RelayIdT &&value)
AWS_MAILMANAGER_API GetRelayResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetServerName(ServerNameT &&value)
void SetRequestId(RequestIdT &&value)
GetRelayResult & WithServerPort(int value)
GetRelayResult & WithRelayName(RelayNameT &&value)
void SetLastModifiedTimestamp(LastModifiedTimestampT &&value)
AWS_MAILMANAGER_API GetRelayResult()=default
int GetServerPort() const
void SetRelayArn(RelayArnT &&value)
GetRelayResult & WithRelayArn(RelayArnT &&value)
AWS_MAILMANAGER_API GetRelayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetServerPort(int value)
const Aws::String & GetRelayId() const
const RelayAuthentication & GetAuthentication() const
void SetRelayName(RelayNameT &&value)
GetRelayResult & WithRequestId(RequestIdT &&value)
void SetRelayId(RelayIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue