7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsS3BucketWebsiteConfigurationRedirectTo.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/AwsS3BucketWebsiteConfigurationRoutingRule.h>
49 template<
typename ErrorDocumentT = Aws::String>
50 void SetErrorDocument(ErrorDocumentT&& value) { m_errorDocumentHasBeenSet =
true; m_errorDocument = std::forward<ErrorDocumentT>(value); }
51 template<
typename ErrorDocumentT = Aws::String>
61 template<
typename IndexDocumentSuffixT = Aws::String>
62 void SetIndexDocumentSuffix(IndexDocumentSuffixT&& value) { m_indexDocumentSuffixHasBeenSet =
true; m_indexDocumentSuffix = std::forward<IndexDocumentSuffixT>(value); }
63 template<
typename IndexDocumentSuffixT = Aws::String>
73 template<
typename RedirectAllRequestsToT = AwsS3BucketWebsiteConfigurationRedirectTo>
74 void SetRedirectAllRequestsTo(RedirectAllRequestsToT&& value) { m_redirectAllRequestsToHasBeenSet =
true; m_redirectAllRequestsTo = std::forward<RedirectAllRequestsToT>(value); }
75 template<
typename RedirectAllRequestsToT = AwsS3BucketWebsiteConfigurationRedirectTo>
85 template<
typename RoutingRulesT = Aws::Vector<AwsS3BucketWebsiteConfigurationRoutingRule>>
86 void SetRoutingRules(RoutingRulesT&& value) { m_routingRulesHasBeenSet =
true; m_routingRules = std::forward<RoutingRulesT>(value); }
87 template<
typename RoutingRulesT = Aws::Vector<AwsS3BucketWebsiteConfigurationRoutingRule>>
89 template<
typename RoutingRulesT = AwsS3BucketWebsiteConfigurationRoutingRule>
95 bool m_errorDocumentHasBeenSet =
false;
98 bool m_indexDocumentSuffixHasBeenSet =
false;
101 bool m_redirectAllRequestsToHasBeenSet =
false;
104 bool m_routingRulesHasBeenSet =
false;
AwsS3BucketWebsiteConfiguration & WithRoutingRules(RoutingRulesT &&value)
AWS_SECURITYHUB_API AwsS3BucketWebsiteConfiguration()=default
AWS_SECURITYHUB_API AwsS3BucketWebsiteConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketWebsiteConfiguration & WithIndexDocumentSuffix(IndexDocumentSuffixT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsS3BucketWebsiteConfiguration & WithRedirectAllRequestsTo(RedirectAllRequestsToT &&value)
bool RoutingRulesHasBeenSet() const
void SetErrorDocument(ErrorDocumentT &&value)
const AwsS3BucketWebsiteConfigurationRedirectTo & GetRedirectAllRequestsTo() const
const Aws::String & GetErrorDocument() const
const Aws::Vector< AwsS3BucketWebsiteConfigurationRoutingRule > & GetRoutingRules() const
const Aws::String & GetIndexDocumentSuffix() const
void SetRedirectAllRequestsTo(RedirectAllRequestsToT &&value)
AwsS3BucketWebsiteConfiguration & AddRoutingRules(RoutingRulesT &&value)
void SetRoutingRules(RoutingRulesT &&value)
void SetIndexDocumentSuffix(IndexDocumentSuffixT &&value)
AWS_SECURITYHUB_API AwsS3BucketWebsiteConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketWebsiteConfiguration & WithErrorDocument(ErrorDocumentT &&value)
bool ErrorDocumentHasBeenSet() const
bool RedirectAllRequestsToHasBeenSet() const
bool IndexDocumentSuffixHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue