AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EncryptionConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/EncryptionOption.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 Athena
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ATHENA_API EncryptionConfiguration() = default;
40 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline EncryptionOption GetEncryptionOption() const { return m_encryptionOption; }
54 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
55 inline void SetEncryptionOption(EncryptionOption value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
58
60
64 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
65 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
66 template<typename KmsKeyT = Aws::String>
67 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
68 template<typename KmsKeyT = Aws::String>
69 EncryptionConfiguration& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
71 private:
72
74 bool m_encryptionOptionHasBeenSet = false;
75
76 Aws::String m_kmsKey;
77 bool m_kmsKeyHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Athena
82} // namespace Aws
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API EncryptionConfiguration()=default
EncryptionConfiguration & WithEncryptionOption(EncryptionOption value)
EncryptionConfiguration & WithKmsKey(KmsKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue