7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/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;
void SetReplaceKeyWith(Aws::String &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetHostName(const char *value)
AWS_S3CRT_API Redirect & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Redirect & WithProtocol(const Protocol &value)
const Aws::String & GetHostName() const
void SetHttpRedirectCode(const char *value)
void SetHostName(const Aws::String &value)
const Aws::String & GetReplaceKeyWith() const
AWS_S3CRT_API Redirect(const Aws::Utils::Xml::XmlNode &xmlNode)
Redirect & WithReplaceKeyWith(Aws::String &&value)
void SetHttpRedirectCode(const Aws::String &value)
Redirect & WithHostName(Aws::String &&value)
Redirect & WithReplaceKeyWith(const Aws::String &value)
void SetProtocol(Protocol &&value)
Redirect & WithReplaceKeyPrefixWith(Aws::String &&value)
Redirect & WithHostName(const Aws::String &value)
void SetHostName(Aws::String &&value)
Redirect & WithHostName(const char *value)
void SetHttpRedirectCode(Aws::String &&value)
bool ReplaceKeyPrefixWithHasBeenSet() const
const Aws::String & GetReplaceKeyPrefixWith() const
Redirect & WithProtocol(Protocol &&value)
bool ProtocolHasBeenSet() const
Redirect & WithHttpRedirectCode(Aws::String &&value)
void SetReplaceKeyPrefixWith(Aws::String &&value)
Redirect & WithReplaceKeyPrefixWith(const Aws::String &value)
Redirect & WithReplaceKeyWith(const char *value)
bool HttpRedirectCodeHasBeenSet() const
void SetReplaceKeyWith(const Aws::String &value)
void SetReplaceKeyPrefixWith(const char *value)
Redirect & WithHttpRedirectCode(const char *value)
Redirect & WithReplaceKeyPrefixWith(const char *value)
Redirect & WithHttpRedirectCode(const Aws::String &value)
const Protocol & GetProtocol() const
void SetProtocol(const Protocol &value)
bool HostNameHasBeenSet() const
void SetReplaceKeyWith(const char *value)
const Aws::String & GetHttpRedirectCode() const
void SetReplaceKeyPrefixWith(const Aws::String &value)
bool ReplaceKeyWithHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String