AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DestinationAccessControl.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/S3ObjectCannedAcl.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MEDIACONVERT_API S3DestinationAccessControl();
39 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const S3ObjectCannedAcl& GetCannedAcl() const{ return m_cannedAcl; }
47 inline bool CannedAclHasBeenSet() const { return m_cannedAclHasBeenSet; }
48 inline void SetCannedAcl(const S3ObjectCannedAcl& value) { m_cannedAclHasBeenSet = true; m_cannedAcl = value; }
49 inline void SetCannedAcl(S3ObjectCannedAcl&& value) { m_cannedAclHasBeenSet = true; m_cannedAcl = std::move(value); }
50 inline S3DestinationAccessControl& WithCannedAcl(const S3ObjectCannedAcl& value) { SetCannedAcl(value); return *this;}
51 inline S3DestinationAccessControl& WithCannedAcl(S3ObjectCannedAcl&& value) { SetCannedAcl(std::move(value)); return *this;}
53 private:
54
55 S3ObjectCannedAcl m_cannedAcl;
56 bool m_cannedAclHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace MediaConvert
61} // namespace Aws
S3DestinationAccessControl & WithCannedAcl(const S3ObjectCannedAcl &value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
S3DestinationAccessControl & WithCannedAcl(S3ObjectCannedAcl &&value)
AWS_MEDIACONVERT_API S3DestinationAccessControl(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API S3DestinationAccessControl & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue