7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/Protocol.h>
50 inline void SetHostName(
const char* value) { m_hostNameHasBeenSet =
true; m_hostName.assign(value); }
65 inline void SetHttpRedirectCode(
const char* value) { m_httpRedirectCodeHasBeenSet =
true; m_httpRedirectCode.assign(value); }
79 inline void SetProtocol(
Protocol&& value) { m_protocolHasBeenSet =
true; m_protocol = std::move(value); }
102 inline void SetReplaceKeyPrefixWith(
const char* value) { m_replaceKeyPrefixWithHasBeenSet =
true; m_replaceKeyPrefixWith.assign(value); }
123 inline void SetReplaceKeyWith(
const char* value) { m_replaceKeyWithHasBeenSet =
true; m_replaceKeyWith.assign(value); }
131 bool m_hostNameHasBeenSet =
false;
134 bool m_httpRedirectCodeHasBeenSet =
false;
137 bool m_protocolHasBeenSet =
false;
140 bool m_replaceKeyPrefixWithHasBeenSet =
false;
143 bool m_replaceKeyWithHasBeenSet =
false;
Redirect & WithReplaceKeyPrefixWith(const char *value)
Redirect & WithProtocol(Protocol &&value)
Redirect & WithReplaceKeyPrefixWith(const Aws::String &value)
void SetHostName(const char *value)
void SetHostName(const Aws::String &value)
const Protocol & GetProtocol() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Redirect & WithReplaceKeyPrefixWith(Aws::String &&value)
void SetReplaceKeyPrefixWith(const Aws::String &value)
void SetHttpRedirectCode(const Aws::String &value)
Redirect & WithHttpRedirectCode(Aws::String &&value)
bool HttpRedirectCodeHasBeenSet() const
Redirect & WithReplaceKeyWith(const Aws::String &value)
Redirect & WithHostName(const char *value)
AWS_S3_API Redirect(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetReplaceKeyPrefixWith() const
void SetReplaceKeyPrefixWith(Aws::String &&value)
const Aws::String & GetHttpRedirectCode() const
bool HostNameHasBeenSet() const
void SetHostName(Aws::String &&value)
void SetReplaceKeyWith(const char *value)
void SetHttpRedirectCode(const char *value)
void SetProtocol(Protocol &&value)
void SetHttpRedirectCode(Aws::String &&value)
bool ReplaceKeyWithHasBeenSet() const
Redirect & WithReplaceKeyWith(Aws::String &&value)
Redirect & WithReplaceKeyWith(const char *value)
bool ProtocolHasBeenSet() const
Redirect & WithProtocol(const Protocol &value)
Redirect & WithHttpRedirectCode(const char *value)
Redirect & WithHttpRedirectCode(const Aws::String &value)
void SetReplaceKeyWith(Aws::String &&value)
void SetReplaceKeyPrefixWith(const char *value)
const Aws::String & GetReplaceKeyWith() const
AWS_S3_API Redirect & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Redirect & WithHostName(Aws::String &&value)
const Aws::String & GetHostName() const
bool ReplaceKeyPrefixWithHasBeenSet() const
Redirect & WithHostName(const Aws::String &value)
void SetReplaceKeyWith(const Aws::String &value)
void SetProtocol(const Protocol &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String