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>
59 inline void SetRelayId(
const char* value) { m_relayIdHasBeenSet =
true; m_relayId.assign(value); }
73 inline void SetRelayName(
const char* value) { m_relayNameHasBeenSet =
true; m_relayName.assign(value); }
87 inline void SetServerName(
const char* value) { m_serverNameHasBeenSet =
true; m_serverName.assign(value); }
99 inline void SetServerPort(
int value) { m_serverPortHasBeenSet =
true; m_serverPort = value; }
105 bool m_authenticationHasBeenSet =
false;
108 bool m_relayIdHasBeenSet =
false;
111 bool m_relayNameHasBeenSet =
false;
114 bool m_serverNameHasBeenSet =
false;
117 bool m_serverPortHasBeenSet =
false;
UpdateRelayRequest & WithServerPort(int value)
UpdateRelayRequest & WithServerName(Aws::String &&value)
bool ServerNameHasBeenSet() const
UpdateRelayRequest & WithServerName(const Aws::String &value)
const Aws::String & GetRelayName() const
const RelayAuthentication & GetAuthentication() const
void SetAuthentication(const RelayAuthentication &value)
UpdateRelayRequest & WithRelayId(const char *value)
bool RelayIdHasBeenSet() const
const Aws::String & GetServerName() const
int GetServerPort() const
void SetRelayName(Aws::String &&value)
void SetServerName(Aws::String &&value)
UpdateRelayRequest & WithRelayName(const Aws::String &value)
UpdateRelayRequest & WithRelayId(const Aws::String &value)
bool RelayNameHasBeenSet() const
UpdateRelayRequest & WithServerName(const char *value)
const Aws::String & GetRelayId() const
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRelayRequest & WithRelayName(const char *value)
virtual const char * GetServiceRequestName() const override
void SetRelayName(const Aws::String &value)
AWS_MAILMANAGER_API UpdateRelayRequest()
void SetAuthentication(RelayAuthentication &&value)
UpdateRelayRequest & WithAuthentication(const RelayAuthentication &value)
void SetServerName(const Aws::String &value)
UpdateRelayRequest & WithAuthentication(RelayAuthentication &&value)
void SetRelayId(Aws::String &&value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
void SetServerPort(int value)
bool ServerPortHasBeenSet() const
UpdateRelayRequest & WithRelayName(Aws::String &&value)
void SetRelayName(const char *value)
bool AuthenticationHasBeenSet() const
void SetRelayId(const char *value)
void SetServerName(const char *value)
void SetRelayId(const Aws::String &value)
UpdateRelayRequest & WithRelayId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String