/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A container for information about access control for replicas. This is not supported by Amazon S3 on Outposts buckets.See
* Also:
AWS
* API Reference
Specifies the replica ownership.
*/ inline const OwnerOverride& GetOwner() const{ return m_owner; } /** *Specifies the replica ownership.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *Specifies the replica ownership.
*/ inline void SetOwner(const OwnerOverride& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *Specifies the replica ownership.
*/ inline void SetOwner(OwnerOverride&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *Specifies the replica ownership.
*/ inline AccessControlTranslation& WithOwner(const OwnerOverride& value) { SetOwner(value); return *this;} /** *Specifies the replica ownership.
*/ inline AccessControlTranslation& WithOwner(OwnerOverride&& value) { SetOwner(std::move(value)); return *this;} private: OwnerOverride m_owner; bool m_ownerHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws