37 lines
749 B
C++
37 lines
749 B
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/s3/S3_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace S3
|
|
{
|
|
namespace Model
|
|
{
|
|
enum class ObjectCannedACL
|
|
{
|
|
NOT_SET,
|
|
private_,
|
|
public_read,
|
|
public_read_write,
|
|
authenticated_read,
|
|
aws_exec_read,
|
|
bucket_owner_read,
|
|
bucket_owner_full_control
|
|
};
|
|
|
|
namespace ObjectCannedACLMapper
|
|
{
|
|
AWS_S3_API ObjectCannedACL GetObjectCannedACLForName(const Aws::String& name);
|
|
|
|
AWS_S3_API Aws::String GetNameForObjectCannedACL(ObjectCannedACL value);
|
|
} // namespace ObjectCannedACLMapper
|
|
} // namespace Model
|
|
} // namespace S3
|
|
} // namespace Aws
|