AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3tables/S3Tables_EXPORTS.h>
9#include <aws/s3tables/model/SSEAlgorithm.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace S3Tables {
21namespace Model {
22
31 public:
32 AWS_S3TABLES_API EncryptionConfiguration() = default;
35 AWS_S3TABLES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
47 inline SSEAlgorithm GetSseAlgorithm() const { return m_sseAlgorithm; }
48 inline bool SseAlgorithmHasBeenSet() const { return m_sseAlgorithmHasBeenSet; }
49 inline void SetSseAlgorithm(SSEAlgorithm value) {
50 m_sseAlgorithmHasBeenSet = true;
51 m_sseAlgorithm = value;
52 }
54 SetSseAlgorithm(value);
55 return *this;
56 }
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) {
69 m_kmsKeyArnHasBeenSet = true;
70 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
71 }
72 template <typename KmsKeyArnT = Aws::String>
74 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
75 return *this;
76 }
78 private:
79 SSEAlgorithm m_sseAlgorithm{SSEAlgorithm::NOT_SET};
80
81 Aws::String m_kmsKeyArn;
82 bool m_sseAlgorithmHasBeenSet = false;
83 bool m_kmsKeyArnHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace S3Tables
88} // 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