AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
S3EncryptionConfiguration.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/qldb/model/S3ObjectEncryptionType.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 QLDB
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_QLDB_API S3EncryptionConfiguration() = default;
41
42
44
51 inline S3ObjectEncryptionType GetObjectEncryptionType() const { return m_objectEncryptionType; }
52 inline bool ObjectEncryptionTypeHasBeenSet() const { return m_objectEncryptionTypeHasBeenSet; }
53 inline void SetObjectEncryptionType(S3ObjectEncryptionType value) { m_objectEncryptionTypeHasBeenSet = true; m_objectEncryptionType = value; }
56
58
66 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
67 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
68 template<typename KmsKeyArnT = Aws::String>
69 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
70 template<typename KmsKeyArnT = Aws::String>
71 S3EncryptionConfiguration& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
73 private:
74
76 bool m_objectEncryptionTypeHasBeenSet = false;
77
78 Aws::String m_kmsKeyArn;
79 bool m_kmsKeyArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace QLDB
84} // namespace Aws
AWS_QLDB_API S3EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QLDB_API S3EncryptionConfiguration()=default
AWS_QLDB_API S3EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetObjectEncryptionType(S3ObjectEncryptionType value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
S3EncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
S3EncryptionConfiguration & WithObjectEncryptionType(S3ObjectEncryptionType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue