/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The encryption configuration for the S3 bucket.See Also:
AWS
* API Reference
The encryption rules that are applied to the S3 bucket.
*/ inline const Aws::VectorThe encryption rules that are applied to the S3 bucket.
*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *The encryption rules that are applied to the S3 bucket.
*/ inline void SetRules(const Aws::VectorThe encryption rules that are applied to the S3 bucket.
*/ inline void SetRules(Aws::VectorThe encryption rules that are applied to the S3 bucket.
*/ inline AwsS3BucketServerSideEncryptionConfiguration& WithRules(const Aws::VectorThe encryption rules that are applied to the S3 bucket.
*/ inline AwsS3BucketServerSideEncryptionConfiguration& WithRules(Aws::VectorThe encryption rules that are applied to the S3 bucket.
*/ inline AwsS3BucketServerSideEncryptionConfiguration& AddRules(const AwsS3BucketServerSideEncryptionRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *The encryption rules that are applied to the S3 bucket.
*/ inline AwsS3BucketServerSideEncryptionConfiguration& AddRules(AwsS3BucketServerSideEncryptionRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: Aws::Vector