7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mailmanager/MailManagerRequest.h>
11#include <aws/mailmanager/MailManager_EXPORTS.h>
12#include <aws/mailmanager/model/RelayAuthentication.h>
13#include <aws/mailmanager/model/Tag.h>
18namespace MailManager {
44 template <
typename ClientTokenT = Aws::String>
46 m_clientTokenHasBeenSet =
true;
47 m_clientToken = std::forward<ClientTokenT>(value);
49 template <
typename ClientTokenT = Aws::String>
62 template <
typename RelayNameT = Aws::String>
64 m_relayNameHasBeenSet =
true;
65 m_relayName = std::forward<RelayNameT>(value);
67 template <
typename RelayNameT = Aws::String>
80 template <
typename ServerNameT = Aws::String>
82 m_serverNameHasBeenSet =
true;
83 m_serverName = std::forward<ServerNameT>(value);
85 template <
typename ServerNameT = Aws::String>
99 m_serverPortHasBeenSet =
true;
100 m_serverPort = value;
115 template <
typename AuthenticationT = RelayAuthentication>
117 m_authenticationHasBeenSet =
true;
118 m_authentication = std::forward<AuthenticationT>(value);
120 template <
typename AuthenticationT = RelayAuthentication>
134 template <
typename TagsT = Aws::Vector<Tag>>
136 m_tagsHasBeenSet =
true;
137 m_tags = std::forward<TagsT>(value);
139 template <
typename TagsT = Aws::Vector<Tag>>
141 SetTags(std::forward<TagsT>(value));
144 template <
typename TagsT = Tag>
146 m_tagsHasBeenSet =
true;
147 m_tags.emplace_back(std::forward<TagsT>(value));
160 RelayAuthentication m_authentication;
163 bool m_clientTokenHasBeenSet =
true;
164 bool m_relayNameHasBeenSet =
false;
165 bool m_serverNameHasBeenSet =
false;
166 bool m_serverPortHasBeenSet =
false;
167 bool m_authenticationHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
const Aws::String & GetRelayName() const
const Aws::Vector< Tag > & GetTags() const
const RelayAuthentication & GetAuthentication() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
CreateRelayRequest & WithServerName(ServerNameT &&value)
CreateRelayRequest & WithAuthentication(AuthenticationT &&value)
const Aws::String & GetServerName() const
void SetRelayName(RelayNameT &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRelayRequest & AddTags(TagsT &&value)
void SetServerName(ServerNameT &&value)
void SetAuthentication(AuthenticationT &&value)
int GetServerPort() const
bool RelayNameHasBeenSet() const
CreateRelayRequest & WithServerPort(int value)
bool ServerPortHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
bool AuthenticationHasBeenSet() const
CreateRelayRequest & WithClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
AWS_MAILMANAGER_API CreateRelayRequest()=default
CreateRelayRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
CreateRelayRequest & WithRelayName(RelayNameT &&value)
bool ServerNameHasBeenSet() const
void SetServerPort(int value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector