AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/model/SSEAlgorithm.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 S3Tables
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_S3TABLES_API EncryptionConfiguration() = default;
40 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline SSEAlgorithm GetSseAlgorithm() const { return m_sseAlgorithm; }
54 inline bool SseAlgorithmHasBeenSet() const { return m_sseAlgorithmHasBeenSet; }
55 inline void SetSseAlgorithm(SSEAlgorithm value) { m_sseAlgorithmHasBeenSet = true; m_sseAlgorithm = value; }
58
60
65 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
66 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
67 template<typename KmsKeyArnT = Aws::String>
68 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
69 template<typename KmsKeyArnT = Aws::String>
70 EncryptionConfiguration& WithKmsKeyArn(KmsKeyArnT&& value) { SetKmsKeyArn(std::forward<KmsKeyArnT>(value)); return *this;}
72 private:
73
74 SSEAlgorithm m_sseAlgorithm{SSEAlgorithm::NOT_SET};
75 bool m_sseAlgorithmHasBeenSet = false;
76
77 Aws::String m_kmsKeyArn;
78 bool m_kmsKeyArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace S3Tables
83} // namespace Aws
AWS_S3TABLES_API EncryptionConfiguration()=default
EncryptionConfiguration & WithSseAlgorithm(SSEAlgorithm value)
EncryptionConfiguration & WithKmsKeyArn(KmsKeyArnT &&value)
AWS_S3TABLES_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3TABLES_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue