7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/MailManagerRequest.h>
9#include <aws/mailmanager/model/RelayAuthentication.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mailmanager/model/Tag.h>
14#include <aws/core/utils/UUID.h>
63 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
77 inline void SetRelayName(
const char* value) { m_relayNameHasBeenSet =
true; m_relayName.assign(value); }
91 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
103 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
124 bool m_authenticationHasBeenSet =
false;
127 bool m_clientTokenHasBeenSet =
false;
130 bool m_relayNameHasBeenSet =
false;
133 bool m_serverNameHasBeenSet =
false;
136 bool m_serverPortHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
const Aws::String & GetRelayName() const
CreateRelayRequest & WithTags(Aws::Vector< Tag > &&value)
CreateRelayRequest & WithRelayName(const Aws::String &value)
void SetRelayName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const RelayAuthentication & GetAuthentication() const
virtual const char * GetServiceRequestName() const override
CreateRelayRequest & WithAuthentication(const RelayAuthentication &value)
void SetClientToken(const Aws::String &value)
CreateRelayRequest & WithServerName(Aws::String &&value)
CreateRelayRequest & WithAuthentication(RelayAuthentication &&value)
bool ClientTokenHasBeenSet() const
void SetClientToken(const char *value)
void SetAuthentication(const RelayAuthentication &value)
CreateRelayRequest & WithClientToken(const char *value)
CreateRelayRequest & WithRelayName(Aws::String &&value)
const Aws::String & GetServerName() const
CreateRelayRequest & WithClientToken(const Aws::String &value)
void SetServerName(const char *value)
CreateRelayRequest & AddTags(const Tag &value)
CreateRelayRequest & WithClientToken(Aws::String &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAuthentication(RelayAuthentication &&value)
void SetTags(Aws::Vector< Tag > &&value)
int GetServerPort() const
bool RelayNameHasBeenSet() const
CreateRelayRequest & WithServerName(const Aws::String &value)
void SetServerName(Aws::String &&value)
CreateRelayRequest & WithServerPort(int value)
void SetTags(const Aws::Vector< Tag > &value)
CreateRelayRequest & WithTags(const Aws::Vector< Tag > &value)
void SetServerName(const Aws::String &value)
AWS_MAILMANAGER_API CreateRelayRequest()
bool ServerPortHasBeenSet() const
void SetRelayName(const char *value)
const Aws::String & GetClientToken() const
bool AuthenticationHasBeenSet() const
CreateRelayRequest & WithRelayName(const char *value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
CreateRelayRequest & WithServerName(const char *value)
bool TagsHasBeenSet() const
void SetClientToken(Aws::String &&value)
bool ServerNameHasBeenSet() const
CreateRelayRequest & AddTags(Tag &&value)
void SetServerPort(int value)
void SetRelayName(const Aws::String &value)
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