7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/RelayAuthentication.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace MailManager {
36 template <
typename RelayIdT = Aws::String>
38 m_relayIdHasBeenSet =
true;
39 m_relayId = std::forward<RelayIdT>(value);
41 template <
typename RelayIdT = Aws::String>
53 template <
typename RelayArnT = Aws::String>
55 m_relayArnHasBeenSet =
true;
56 m_relayArn = std::forward<RelayArnT>(value);
58 template <
typename RelayArnT = Aws::String>
70 template <
typename RelayNameT = Aws::String>
72 m_relayNameHasBeenSet =
true;
73 m_relayName = std::forward<RelayNameT>(value);
75 template <
typename RelayNameT = Aws::String>
87 template <
typename ServerNameT = Aws::String>
89 m_serverNameHasBeenSet =
true;
90 m_serverName = std::forward<ServerNameT>(value);
92 template <
typename ServerNameT = Aws::String>
105 m_serverPortHasBeenSet =
true;
106 m_serverPort = value;
120 template <
typename AuthenticationT = RelayAuthentication>
122 m_authenticationHasBeenSet =
true;
123 m_authentication = std::forward<AuthenticationT>(value);
125 template <
typename AuthenticationT = RelayAuthentication>
137 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
139 m_createdTimestampHasBeenSet =
true;
140 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
142 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
154 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
156 m_lastModifiedTimestampHasBeenSet =
true;
157 m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value);
159 template <
typename LastModifiedTimestampT = Aws::Utils::DateTime>
169 template <
typename RequestIdT = Aws::String>
171 m_requestIdHasBeenSet =
true;
172 m_requestId = std::forward<RequestIdT>(value);
174 template <
typename RequestIdT = Aws::String>
191 RelayAuthentication m_authentication;
198 bool m_relayIdHasBeenSet =
false;
199 bool m_relayArnHasBeenSet =
false;
200 bool m_relayNameHasBeenSet =
false;
201 bool m_serverNameHasBeenSet =
false;
202 bool m_serverPortHasBeenSet =
false;
203 bool m_authenticationHasBeenSet =
false;
204 bool m_createdTimestampHasBeenSet =
false;
205 bool m_lastModifiedTimestampHasBeenSet =
false;
206 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)
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