/**
* 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.See
* Also:
AWS
* API Reference
Specifies the replica ownership. For default and valid values, see PUT * bucket replication in the Amazon S3 API Reference.
*/ inline const OwnerOverride& GetOwner() const{ return m_owner; } /** *Specifies the replica ownership. For default and valid values, see PUT * bucket replication in the Amazon S3 API Reference.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *Specifies the replica ownership. For default and valid values, see PUT * bucket replication in the Amazon S3 API Reference.
*/ inline void SetOwner(const OwnerOverride& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *Specifies the replica ownership. For default and valid values, see PUT * bucket replication in the Amazon S3 API Reference.
*/ inline void SetOwner(OwnerOverride&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *Specifies the replica ownership. For default and valid values, see PUT * bucket replication in the Amazon S3 API Reference.
*/ inline AccessControlTranslation& WithOwner(const OwnerOverride& value) { SetOwner(value); return *this;} /** *Specifies the replica ownership. For default and valid values, see PUT * bucket replication in the Amazon S3 API Reference.
*/ inline AccessControlTranslation& WithOwner(OwnerOverride&& value) { SetOwner(std::move(value)); return *this;} private: OwnerOverride m_owner; bool m_ownerHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws