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>
51 inline void SetErrorDocument(
const char* value) { m_errorDocumentHasBeenSet =
true; m_errorDocument.assign(value); }
65 inline void SetIndexDocumentSuffix(
const char* value) { m_indexDocumentSuffixHasBeenSet =
true; m_indexDocumentSuffix.assign(value); }
99 bool m_errorDocumentHasBeenSet =
false;
102 bool m_indexDocumentSuffixHasBeenSet =
false;
105 bool m_redirectAllRequestsToHasBeenSet =
false;
108 bool m_routingRulesHasBeenSet =
false;
void SetRoutingRules(const Aws::Vector< AwsS3BucketWebsiteConfigurationRoutingRule > &value)
AwsS3BucketWebsiteConfiguration & WithIndexDocumentSuffix(Aws::String &&value)
AWS_SECURITYHUB_API AwsS3BucketWebsiteConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsS3BucketWebsiteConfiguration & AddRoutingRules(AwsS3BucketWebsiteConfigurationRoutingRule &&value)
AwsS3BucketWebsiteConfiguration & WithIndexDocumentSuffix(const char *value)
AwsS3BucketWebsiteConfiguration & AddRoutingRules(const AwsS3BucketWebsiteConfigurationRoutingRule &value)
bool RoutingRulesHasBeenSet() const
void SetRedirectAllRequestsTo(AwsS3BucketWebsiteConfigurationRedirectTo &&value)
void SetRedirectAllRequestsTo(const AwsS3BucketWebsiteConfigurationRedirectTo &value)
const AwsS3BucketWebsiteConfigurationRedirectTo & GetRedirectAllRequestsTo() const
AwsS3BucketWebsiteConfiguration & WithErrorDocument(const Aws::String &value)
AwsS3BucketWebsiteConfiguration & WithRoutingRules(const Aws::Vector< AwsS3BucketWebsiteConfigurationRoutingRule > &value)
const Aws::String & GetErrorDocument() const
AWS_SECURITYHUB_API AwsS3BucketWebsiteConfiguration()
AwsS3BucketWebsiteConfiguration & WithIndexDocumentSuffix(const Aws::String &value)
void SetRoutingRules(Aws::Vector< AwsS3BucketWebsiteConfigurationRoutingRule > &&value)
const Aws::Vector< AwsS3BucketWebsiteConfigurationRoutingRule > & GetRoutingRules() const
AwsS3BucketWebsiteConfiguration & WithRedirectAllRequestsTo(AwsS3BucketWebsiteConfigurationRedirectTo &&value)
AwsS3BucketWebsiteConfiguration & WithRoutingRules(Aws::Vector< AwsS3BucketWebsiteConfigurationRoutingRule > &&value)
const Aws::String & GetIndexDocumentSuffix() const
void SetIndexDocumentSuffix(Aws::String &&value)
void SetErrorDocument(Aws::String &&value)
AwsS3BucketWebsiteConfiguration & WithRedirectAllRequestsTo(const AwsS3BucketWebsiteConfigurationRedirectTo &value)
void SetIndexDocumentSuffix(const char *value)
void SetErrorDocument(const Aws::String &value)
AwsS3BucketWebsiteConfiguration & WithErrorDocument(const char *value)
void SetIndexDocumentSuffix(const Aws::String &value)
AWS_SECURITYHUB_API AwsS3BucketWebsiteConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketWebsiteConfiguration & WithErrorDocument(Aws::String &&value)
bool ErrorDocumentHasBeenSet() const
bool RedirectAllRequestsToHasBeenSet() const
void SetErrorDocument(const char *value)
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