AWS SDK for C++  1.9.108
AWS SDK for C++
AwsS3BucketServerSideEncryptionByDefault.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetSSEAlgorithm() const{ return m_sSEAlgorithm; }
45 
49  inline bool SSEAlgorithmHasBeenSet() const { return m_sSEAlgorithmHasBeenSet; }
50 
54  inline void SetSSEAlgorithm(const Aws::String& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = value; }
55 
59  inline void SetSSEAlgorithm(Aws::String&& value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm = std::move(value); }
60 
64  inline void SetSSEAlgorithm(const char* value) { m_sSEAlgorithmHasBeenSet = true; m_sSEAlgorithm.assign(value); }
65 
69  inline AwsS3BucketServerSideEncryptionByDefault& WithSSEAlgorithm(const Aws::String& value) { SetSSEAlgorithm(value); return *this;}
70 
74  inline AwsS3BucketServerSideEncryptionByDefault& WithSSEAlgorithm(Aws::String&& value) { SetSSEAlgorithm(std::move(value)); return *this;}
75 
79  inline AwsS3BucketServerSideEncryptionByDefault& WithSSEAlgorithm(const char* value) { SetSSEAlgorithm(value); return *this;}
80 
81 
85  inline const Aws::String& GetKMSMasterKeyID() const{ return m_kMSMasterKeyID; }
86 
90  inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; }
91 
95  inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; }
96 
100  inline void SetKMSMasterKeyID(Aws::String&& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = std::move(value); }
101 
105  inline void SetKMSMasterKeyID(const char* value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID.assign(value); }
106 
110  inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(const Aws::String& value) { SetKMSMasterKeyID(value); return *this;}
111 
115  inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(Aws::String&& value) { SetKMSMasterKeyID(std::move(value)); return *this;}
116 
120  inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(const char* value) { SetKMSMasterKeyID(value); return *this;}
121 
122  private:
123 
124  Aws::String m_sSEAlgorithm;
125  bool m_sSEAlgorithmHasBeenSet;
126 
127  Aws::String m_kMSMasterKeyID;
128  bool m_kMSMasterKeyIDHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SecurityHub
133 } // namespace Aws
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault
Definition: AwsS3BucketServerSideEncryptionByDefault.h:33
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::WithKMSMasterKeyID
AwsS3BucketServerSideEncryptionByDefault & WithKMSMasterKeyID(Aws::String &&value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:115
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::AwsS3BucketServerSideEncryptionByDefault
AwsS3BucketServerSideEncryptionByDefault(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SetKMSMasterKeyID
void SetKMSMasterKeyID(const char *value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:105
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::WithSSEAlgorithm
AwsS3BucketServerSideEncryptionByDefault & WithSSEAlgorithm(const char *value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:79
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::WithSSEAlgorithm
AwsS3BucketServerSideEncryptionByDefault & WithSSEAlgorithm(const Aws::String &value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:69
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::AwsS3BucketServerSideEncryptionByDefault
AwsS3BucketServerSideEncryptionByDefault()
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::WithKMSMasterKeyID
AwsS3BucketServerSideEncryptionByDefault & WithKMSMasterKeyID(const Aws::String &value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:110
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::operator=
AwsS3BucketServerSideEncryptionByDefault & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SetSSEAlgorithm
void SetSSEAlgorithm(const char *value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:64
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SetSSEAlgorithm
void SetSSEAlgorithm(const Aws::String &value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:54
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SetKMSMasterKeyID
void SetKMSMasterKeyID(const Aws::String &value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:95
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::WithSSEAlgorithm
AwsS3BucketServerSideEncryptionByDefault & WithSSEAlgorithm(Aws::String &&value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:74
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SSEAlgorithmHasBeenSet
bool SSEAlgorithmHasBeenSet() const
Definition: AwsS3BucketServerSideEncryptionByDefault.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::GetKMSMasterKeyID
const Aws::String & GetKMSMasterKeyID() const
Definition: AwsS3BucketServerSideEncryptionByDefault.h:85
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::KMSMasterKeyIDHasBeenSet
bool KMSMasterKeyIDHasBeenSet() const
Definition: AwsS3BucketServerSideEncryptionByDefault.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SetSSEAlgorithm
void SetSSEAlgorithm(Aws::String &&value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:59
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::GetSSEAlgorithm
const Aws::String & GetSSEAlgorithm() const
Definition: AwsS3BucketServerSideEncryptionByDefault.h:44
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::WithKMSMasterKeyID
AwsS3BucketServerSideEncryptionByDefault & WithKMSMasterKeyID(const char *value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:120
Aws::SecurityHub::Model::AwsS3BucketServerSideEncryptionByDefault::SetKMSMasterKeyID
void SetKMSMasterKeyID(Aws::String &&value)
Definition: AwsS3BucketServerSideEncryptionByDefault.h:100