AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ServerSideEncryption.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/EncryptionType.h>
9#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_MACIE2_API ServerSideEncryption() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline EncryptionType GetEncryptionType() const { return m_encryptionType; }
51 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
52 inline void SetEncryptionType(EncryptionType value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
55
57
62 inline const Aws::String& GetKmsMasterKeyId() const { return m_kmsMasterKeyId; }
63 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
64 template<typename KmsMasterKeyIdT = Aws::String>
65 void SetKmsMasterKeyId(KmsMasterKeyIdT&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::forward<KmsMasterKeyIdT>(value); }
66 template<typename KmsMasterKeyIdT = Aws::String>
67 ServerSideEncryption& WithKmsMasterKeyId(KmsMasterKeyIdT&& value) { SetKmsMasterKeyId(std::forward<KmsMasterKeyIdT>(value)); return *this;}
69 private:
70
72 bool m_encryptionTypeHasBeenSet = false;
73
74 Aws::String m_kmsMasterKeyId;
75 bool m_kmsMasterKeyIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Macie2
80} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
ServerSideEncryption & WithKmsMasterKeyId(KmsMasterKeyIdT &&value)
void SetKmsMasterKeyId(KmsMasterKeyIdT &&value)
ServerSideEncryption & WithEncryptionType(EncryptionType value)
AWS_MACIE2_API ServerSideEncryption()=default
const Aws::String & GetKmsMasterKeyId() const
AWS_MACIE2_API ServerSideEncryption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ServerSideEncryption(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue