7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/Protocol.h>
48 template<
typename HostNameT = Aws::String>
49 void SetHostName(HostNameT&& value) { m_hostNameHasBeenSet =
true; m_hostName = std::forward<HostNameT>(value); }
50 template<
typename HostNameT = Aws::String>
61 template<
typename HttpRedirectCodeT = Aws::String>
62 void SetHttpRedirectCode(HttpRedirectCodeT&& value) { m_httpRedirectCodeHasBeenSet =
true; m_httpRedirectCode = std::forward<HttpRedirectCodeT>(value); }
63 template<
typename HttpRedirectCodeT = Aws::String>
94 template<
typename ReplaceKeyPrefixWithT = Aws::String>
95 void SetReplaceKeyPrefixWith(ReplaceKeyPrefixWithT&& value) { m_replaceKeyPrefixWithHasBeenSet =
true; m_replaceKeyPrefixWith = std::forward<ReplaceKeyPrefixWithT>(value); }
96 template<
typename ReplaceKeyPrefixWithT = Aws::String>
113 template<
typename ReplaceKeyWithT = Aws::String>
114 void SetReplaceKeyWith(ReplaceKeyWithT&& value) { m_replaceKeyWithHasBeenSet =
true; m_replaceKeyWith = std::forward<ReplaceKeyWithT>(value); }
115 template<
typename ReplaceKeyWithT = Aws::String>
121 bool m_hostNameHasBeenSet =
false;
124 bool m_httpRedirectCodeHasBeenSet =
false;
127 bool m_protocolHasBeenSet =
false;
130 bool m_replaceKeyPrefixWithHasBeenSet =
false;
133 bool m_replaceKeyWithHasBeenSet =
false;
void SetReplaceKeyPrefixWith(ReplaceKeyPrefixWithT &&value)
Protocol GetProtocol() const
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Redirect & WithReplaceKeyWith(ReplaceKeyWithT &&value)
Redirect & WithHostName(HostNameT &&value)
void SetHostName(HostNameT &&value)
void SetHttpRedirectCode(HttpRedirectCodeT &&value)
Redirect & WithProtocol(Protocol value)
bool HttpRedirectCodeHasBeenSet() const
AWS_S3_API Redirect(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetReplaceKeyPrefixWith() const
void SetProtocol(Protocol value)
const Aws::String & GetHttpRedirectCode() const
bool HostNameHasBeenSet() const
bool ReplaceKeyWithHasBeenSet() const
AWS_S3_API Redirect()=default
bool ProtocolHasBeenSet() const
const Aws::String & GetReplaceKeyWith() const
Redirect & WithHttpRedirectCode(HttpRedirectCodeT &&value)
AWS_S3_API Redirect & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetHostName() const
bool ReplaceKeyPrefixWithHasBeenSet() const
void SetReplaceKeyWith(ReplaceKeyWithT &&value)
Redirect & WithReplaceKeyPrefixWith(ReplaceKeyPrefixWithT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String