AWS SDK for C++  1.9.109
AWS SDK for C++
AwsS3BucketServerSideEncryptionRule.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 SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
45  inline const AwsS3BucketServerSideEncryptionByDefault& GetApplyServerSideEncryptionByDefault() const{ return m_applyServerSideEncryptionByDefault; }
46 
52  inline bool ApplyServerSideEncryptionByDefaultHasBeenSet() const { return m_applyServerSideEncryptionByDefaultHasBeenSet; }
53 
59  inline void SetApplyServerSideEncryptionByDefault(const AwsS3BucketServerSideEncryptionByDefault& value) { m_applyServerSideEncryptionByDefaultHasBeenSet = true; m_applyServerSideEncryptionByDefault = value; }
60 
66  inline void SetApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault&& value) { m_applyServerSideEncryptionByDefaultHasBeenSet = true; m_applyServerSideEncryptionByDefault = std::move(value); }
67 
73  inline AwsS3BucketServerSideEncryptionRule& WithApplyServerSideEncryptionByDefault(const AwsS3BucketServerSideEncryptionByDefault& value) { SetApplyServerSideEncryptionByDefault(value); return *this;}
74 
80  inline AwsS3BucketServerSideEncryptionRule& WithApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault&& value) { SetApplyServerSideEncryptionByDefault(std::move(value)); return *this;}
81 
82  private:
83 
84  AwsS3BucketServerSideEncryptionByDefault m_applyServerSideEncryptionByDefault;
85  bool m_applyServerSideEncryptionByDefaultHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace SecurityHub
90 } // namespace Aws
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault
Definition: AwsS3BucketServerSideEncryptionByDefault.h:33
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::AwsS3BucketServerSideEncryptionRule
AwsS3BucketServerSideEncryptionRule(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule
Definition: AwsS3BucketServerSideEncryptionRule.h:32
AwsS3BucketServerSideEncryptionByDefault.h
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::GetApplyServerSideEncryptionByDefault
const AwsS3BucketServerSideEncryptionByDefault & GetApplyServerSideEncryptionByDefault() const
Definition: AwsS3BucketServerSideEncryptionRule.h:45
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::SetApplyServerSideEncryptionByDefault
void SetApplyServerSideEncryptionByDefault(const AwsS3BucketServerSideEncryptionByDefault &value)
Definition: AwsS3BucketServerSideEncryptionRule.h:59
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::AwsS3BucketServerSideEncryptionRule
AwsS3BucketServerSideEncryptionRule()
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::operator=
AwsS3BucketServerSideEncryptionRule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::SetApplyServerSideEncryptionByDefault
void SetApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault &&value)
Definition: AwsS3BucketServerSideEncryptionRule.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::ApplyServerSideEncryptionByDefaultHasBeenSet
bool ApplyServerSideEncryptionByDefaultHasBeenSet() const
Definition: AwsS3BucketServerSideEncryptionRule.h:52
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::WithApplyServerSideEncryptionByDefault
AwsS3BucketServerSideEncryptionRule & WithApplyServerSideEncryptionByDefault(AwsS3BucketServerSideEncryptionByDefault &&value)
Definition: AwsS3BucketServerSideEncryptionRule.h:80
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionRule::WithApplyServerSideEncryptionByDefault
AwsS3BucketServerSideEncryptionRule & WithApplyServerSideEncryptionByDefault(const AwsS3BucketServerSideEncryptionByDefault &value)
Definition: AwsS3BucketServerSideEncryptionRule.h:73