/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A rule for redirecting requests to the website.See Also:
AWS
* API Reference
Provides the condition that must be met in order to apply the routing * rule.
*/ inline const AwsS3BucketWebsiteConfigurationRoutingRuleCondition& GetCondition() const{ return m_condition; } /** *Provides the condition that must be met in order to apply the routing * rule.
*/ inline bool ConditionHasBeenSet() const { return m_conditionHasBeenSet; } /** *Provides the condition that must be met in order to apply the routing * rule.
*/ inline void SetCondition(const AwsS3BucketWebsiteConfigurationRoutingRuleCondition& value) { m_conditionHasBeenSet = true; m_condition = value; } /** *Provides the condition that must be met in order to apply the routing * rule.
*/ inline void SetCondition(AwsS3BucketWebsiteConfigurationRoutingRuleCondition&& value) { m_conditionHasBeenSet = true; m_condition = std::move(value); } /** *Provides the condition that must be met in order to apply the routing * rule.
*/ inline AwsS3BucketWebsiteConfigurationRoutingRule& WithCondition(const AwsS3BucketWebsiteConfigurationRoutingRuleCondition& value) { SetCondition(value); return *this;} /** *Provides the condition that must be met in order to apply the routing * rule.
*/ inline AwsS3BucketWebsiteConfigurationRoutingRule& WithCondition(AwsS3BucketWebsiteConfigurationRoutingRuleCondition&& value) { SetCondition(std::move(value)); return *this;} /** *Provides the rules to redirect the request if the condition in
* Condition
is met.
Provides the rules to redirect the request if the condition in
* Condition
is met.
Provides the rules to redirect the request if the condition in
* Condition
is met.
Provides the rules to redirect the request if the condition in
* Condition
is met.
Provides the rules to redirect the request if the condition in
* Condition
is met.
Provides the rules to redirect the request if the condition in
* Condition
is met.