7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsS3BucketWebsiteConfigurationRedirectTo.h>
11#include <aws/securityhub/model/AwsS3BucketWebsiteConfigurationRoutingRule.h>
43 template <
typename ErrorDocumentT = Aws::String>
45 m_errorDocumentHasBeenSet =
true;
46 m_errorDocument = std::forward<ErrorDocumentT>(value);
48 template <
typename ErrorDocumentT = Aws::String>
61 template <
typename IndexDocumentSuffixT = Aws::String>
63 m_indexDocumentSuffixHasBeenSet =
true;
64 m_indexDocumentSuffix = std::forward<IndexDocumentSuffixT>(value);
66 template <
typename IndexDocumentSuffixT = Aws::String>
79 template <
typename RedirectAllRequestsToT = AwsS3BucketWebsiteConfigurationRedirectTo>
81 m_redirectAllRequestsToHasBeenSet =
true;
82 m_redirectAllRequestsTo = std::forward<RedirectAllRequestsToT>(value);
84 template <
typename RedirectAllRequestsToT = AwsS3BucketWebsiteConfigurationRedirectTo>
97 template <
typename RoutingRulesT = Aws::Vector<AwsS3BucketWebsiteConfigurationRoutingRule>>
99 m_routingRulesHasBeenSet =
true;
100 m_routingRules = std::forward<RoutingRulesT>(value);
102 template <
typename RoutingRulesT = Aws::Vector<AwsS3BucketWebsiteConfigurationRoutingRule>>
107 template <
typename RoutingRulesT = AwsS3BucketWebsiteConfigurationRoutingRule>
109 m_routingRulesHasBeenSet =
true;
110 m_routingRules.emplace_back(std::forward<RoutingRulesT>(value));
122 bool m_errorDocumentHasBeenSet =
false;
123 bool m_indexDocumentSuffixHasBeenSet =
false;
124 bool m_redirectAllRequestsToHasBeenSet =
false;
125 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