AWS SDK for C++  1.9.154
AWS SDK for C++
S3DestinationAccessControl.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline const S3ObjectCannedAcl& GetCannedAcl() const{ return m_cannedAcl; }
46 
50  inline bool CannedAclHasBeenSet() const { return m_cannedAclHasBeenSet; }
51 
55  inline void SetCannedAcl(const S3ObjectCannedAcl& value) { m_cannedAclHasBeenSet = true; m_cannedAcl = value; }
56 
60  inline void SetCannedAcl(S3ObjectCannedAcl&& value) { m_cannedAclHasBeenSet = true; m_cannedAcl = std::move(value); }
61 
65  inline S3DestinationAccessControl& WithCannedAcl(const S3ObjectCannedAcl& value) { SetCannedAcl(value); return *this;}
66 
70  inline S3DestinationAccessControl& WithCannedAcl(S3ObjectCannedAcl&& value) { SetCannedAcl(std::move(value)); return *this;}
71 
72  private:
73 
74  S3ObjectCannedAcl m_cannedAcl;
75  bool m_cannedAclHasBeenSet;
76  };
77 
78 } // namespace Model
79 } // namespace MediaConvert
80 } // namespace Aws
Aws::MediaConvert::Model::S3DestinationAccessControl::GetCannedAcl
const S3ObjectCannedAcl & GetCannedAcl() const
Definition: S3DestinationAccessControl.h:45
S3ObjectCannedAcl.h
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::S3DestinationAccessControl::SetCannedAcl
void SetCannedAcl(S3ObjectCannedAcl &&value)
Definition: S3DestinationAccessControl.h:60
Aws::MediaConvert::Model::S3DestinationAccessControl::WithCannedAcl
S3DestinationAccessControl & WithCannedAcl(const S3ObjectCannedAcl &value)
Definition: S3DestinationAccessControl.h:65
Aws::MediaConvert::Model::S3DestinationAccessControl::WithCannedAcl
S3DestinationAccessControl & WithCannedAcl(S3ObjectCannedAcl &&value)
Definition: S3DestinationAccessControl.h:70
Aws::MediaConvert::Model::S3DestinationAccessControl::operator=
S3DestinationAccessControl & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::S3ObjectCannedAcl
S3ObjectCannedAcl
Definition: S3ObjectCannedAcl.h:17
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::S3DestinationAccessControl::S3DestinationAccessControl
S3DestinationAccessControl(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::S3DestinationAccessControl::CannedAclHasBeenSet
bool CannedAclHasBeenSet() const
Definition: S3DestinationAccessControl.h:50
Aws::MediaConvert::Model::S3DestinationAccessControl
Definition: S3DestinationAccessControl.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::S3DestinationAccessControl::S3DestinationAccessControl
S3DestinationAccessControl()
Aws::MediaConvert::Model::S3DestinationAccessControl::SetCannedAcl
void SetCannedAcl(const S3ObjectCannedAcl &value)
Definition: S3DestinationAccessControl.h:55
Aws::MediaConvert::Model::S3DestinationAccessControl::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const