7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/RelayAuthentication.h>
10#include <aws/core/utils/DateTime.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename RelayIdT = Aws::String>
43 void SetRelayId(RelayIdT&& value) { m_relayIdHasBeenSet =
true; m_relayId = std::forward<RelayIdT>(value); }
44 template<
typename RelayIdT = Aws::String>
53 template<
typename RelayArnT = Aws::String>
54 void SetRelayArn(RelayArnT&& value) { m_relayArnHasBeenSet =
true; m_relayArn = std::forward<RelayArnT>(value); }
55 template<
typename RelayArnT = Aws::String>
64 template<
typename RelayNameT = Aws::String>
65 void SetRelayName(RelayNameT&& value) { m_relayNameHasBeenSet =
true; m_relayName = std::forward<RelayNameT>(value); }
66 template<
typename RelayNameT = Aws::String>
75 template<
typename ServerNameT = Aws::String>
76 void SetServerName(ServerNameT&& value) { m_serverNameHasBeenSet =
true; m_serverName = std::forward<ServerNameT>(value); }
77 template<
typename ServerNameT = Aws::String>
86 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
96 template<
typename AuthenticationT = RelayAuthentication>
97 void SetAuthentication(AuthenticationT&& value) { m_authenticationHasBeenSet =
true; m_authentication = std::forward<AuthenticationT>(value); }
98 template<
typename AuthenticationT = RelayAuthentication>
107 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
108 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
109 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
118 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
119 void SetLastModifiedTimestamp(LastModifiedTimestampT&& value) { m_lastModifiedTimestampHasBeenSet =
true; m_lastModifiedTimestamp = std::forward<LastModifiedTimestampT>(value); }
120 template<
typename LastModifiedTimestampT = Aws::Utils::DateTime>
127 template<
typename RequestIdT = Aws::String>
128 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
129 template<
typename RequestIdT = Aws::String>
135 bool m_relayIdHasBeenSet =
false;
138 bool m_relayArnHasBeenSet =
false;
141 bool m_relayNameHasBeenSet =
false;
144 bool m_serverNameHasBeenSet =
false;
147 bool m_serverPortHasBeenSet =
false;
149 RelayAuthentication m_authentication;
150 bool m_authenticationHasBeenSet =
false;
153 bool m_createdTimestampHasBeenSet =
false;
156 bool m_lastModifiedTimestampHasBeenSet =
false;
159 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