7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/RedirectAllRequestsTo.h>
9#include <aws/s3/model/IndexDocument.h>
10#include <aws/s3/model/ErrorDocument.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/s3/model/RoutingRule.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
94 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
GetBucketWebsiteResult & WithRoutingRules(Aws::Vector< RoutingRule > &&value)
GetBucketWebsiteResult & WithRedirectAllRequestsTo(RedirectAllRequestsTo &&value)
void SetRoutingRules(Aws::Vector< RoutingRule > &&value)
void SetRequestId(Aws::String &&value)
GetBucketWebsiteResult & WithErrorDocument(const ErrorDocument &value)
const ErrorDocument & GetErrorDocument() const
void SetIndexDocument(IndexDocument &&value)
GetBucketWebsiteResult & WithRequestId(const Aws::String &value)
GetBucketWebsiteResult & AddRoutingRules(RoutingRule &&value)
const Aws::Vector< RoutingRule > & GetRoutingRules() const
void SetRedirectAllRequestsTo(RedirectAllRequestsTo &&value)
const RedirectAllRequestsTo & GetRedirectAllRequestsTo() const
AWS_S3_API GetBucketWebsiteResult()
void SetRequestId(const char *value)
AWS_S3_API GetBucketWebsiteResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestId(const Aws::String &value)
GetBucketWebsiteResult & WithIndexDocument(const IndexDocument &value)
void SetErrorDocument(const ErrorDocument &value)
GetBucketWebsiteResult & WithRoutingRules(const Aws::Vector< RoutingRule > &value)
GetBucketWebsiteResult & AddRoutingRules(const RoutingRule &value)
const IndexDocument & GetIndexDocument() const
GetBucketWebsiteResult & WithRequestId(Aws::String &&value)
GetBucketWebsiteResult & WithErrorDocument(ErrorDocument &&value)
const Aws::String & GetRequestId() const
GetBucketWebsiteResult & WithIndexDocument(IndexDocument &&value)
void SetRedirectAllRequestsTo(const RedirectAllRequestsTo &value)
GetBucketWebsiteResult & WithRedirectAllRequestsTo(const RedirectAllRequestsTo &value)
void SetErrorDocument(ErrorDocument &&value)
GetBucketWebsiteResult & WithRequestId(const char *value)
void SetIndexDocument(const IndexDocument &value)
AWS_S3_API GetBucketWebsiteResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRoutingRules(const Aws::Vector< RoutingRule > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument