AWS SDK for C++

AWS SDK for C++ Version 1.11.746

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Athena {
21namespace Model {
22
31 public:
32 AWS_ATHENA_API EncryptionConfiguration() = default;
35 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
47 inline EncryptionOption GetEncryptionOption() const { return m_encryptionOption; }
48 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
50 m_encryptionOptionHasBeenSet = true;
51 m_encryptionOption = value;
52 }
55 return *this;
56 }
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) {
68 m_kmsKeyHasBeenSet = true;
69 m_kmsKey = std::forward<KmsKeyT>(value);
70 }
71 template <typename KmsKeyT = Aws::String>
73 SetKmsKey(std::forward<KmsKeyT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_kmsKey;
81 bool m_encryptionOptionHasBeenSet = false;
82 bool m_kmsKeyHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace Athena
87} // 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