/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The container element for a bucket's ownership controls.See
* Also:
AWS
* API Reference
The container element for an ownership control rule.
*/ inline const Aws::VectorThe container element for an ownership control rule.
*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *The container element for an ownership control rule.
*/ inline void SetRules(const Aws::VectorThe container element for an ownership control rule.
*/ inline void SetRules(Aws::VectorThe container element for an ownership control rule.
*/ inline OwnershipControls& WithRules(const Aws::VectorThe container element for an ownership control rule.
*/ inline OwnershipControls& WithRules(Aws::VectorThe container element for an ownership control rule.
*/ inline OwnershipControls& AddRules(const OwnershipControlsRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *The container element for an ownership control rule.
*/ inline OwnershipControls& AddRules(OwnershipControlsRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: Aws::Vector