AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
51 inline const S3ObjectEncryptionType& GetObjectEncryptionType() const{ return m_objectEncryptionType; }
52 inline bool ObjectEncryptionTypeHasBeenSet() const { return m_objectEncryptionTypeHasBeenSet; }
53 inline void SetObjectEncryptionType(const S3ObjectEncryptionType& value) { m_objectEncryptionTypeHasBeenSet = true; m_objectEncryptionType = value; }
54 inline void SetObjectEncryptionType(S3ObjectEncryptionType&& value) { m_objectEncryptionTypeHasBeenSet = true; m_objectEncryptionType = std::move(value); }
58
60
68 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
69 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
70 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; }
71 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); }
72 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }
73 inline S3EncryptionConfiguration& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
74 inline S3EncryptionConfiguration& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
75 inline S3EncryptionConfiguration& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
77 private:
78
79 S3ObjectEncryptionType m_objectEncryptionType;
80 bool m_objectEncryptionTypeHasBeenSet = false;
81
82 Aws::String m_kmsKeyArn;
83 bool m_kmsKeyArnHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace QLDB
88} // namespace Aws
S3EncryptionConfiguration & WithObjectEncryptionType(const S3ObjectEncryptionType &value)
AWS_QLDB_API S3EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetObjectEncryptionType(const S3ObjectEncryptionType &value)
void SetObjectEncryptionType(S3ObjectEncryptionType &&value)
S3EncryptionConfiguration & WithObjectEncryptionType(S3ObjectEncryptionType &&value)
S3EncryptionConfiguration & WithKmsKeyArn(const Aws::String &value)
AWS_QLDB_API S3EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const S3ObjectEncryptionType & GetObjectEncryptionType() const
S3EncryptionConfiguration & WithKmsKeyArn(Aws::String &&value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
S3EncryptionConfiguration & WithKmsKeyArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue