AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BucketServerSideEncryption.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/Type.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
37 {
38 public:
42 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetKmsMasterKeyId() const{ return m_kmsMasterKeyId; }
53 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
54 inline void SetKmsMasterKeyId(const Aws::String& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = value; }
55 inline void SetKmsMasterKeyId(Aws::String&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::move(value); }
56 inline void SetKmsMasterKeyId(const char* value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId.assign(value); }
57 inline BucketServerSideEncryption& WithKmsMasterKeyId(const Aws::String& value) { SetKmsMasterKeyId(value); return *this;}
58 inline BucketServerSideEncryption& WithKmsMasterKeyId(Aws::String&& value) { SetKmsMasterKeyId(std::move(value)); return *this;}
59 inline BucketServerSideEncryption& WithKmsMasterKeyId(const char* value) { SetKmsMasterKeyId(value); return *this;}
61
63
75 inline const Type& GetType() const{ return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
78 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
79 inline BucketServerSideEncryption& WithType(const Type& value) { SetType(value); return *this;}
80 inline BucketServerSideEncryption& WithType(Type&& value) { SetType(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_kmsMasterKeyId;
85 bool m_kmsMasterKeyIdHasBeenSet = false;
86
87 Type m_type;
88 bool m_typeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Macie2
93} // namespace Aws
BucketServerSideEncryption & WithType(Type &&value)
BucketServerSideEncryption & WithType(const Type &value)
BucketServerSideEncryption & WithKmsMasterKeyId(Aws::String &&value)
AWS_MACIE2_API BucketServerSideEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
BucketServerSideEncryption & WithKmsMasterKeyId(const char *value)
AWS_MACIE2_API BucketServerSideEncryption(Aws::Utils::Json::JsonView jsonValue)
BucketServerSideEncryption & WithKmsMasterKeyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue