AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedQueryResultsEncryptionConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Athena
22{
23namespace Model
24{
25
34 {
35 public:
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
47 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
48 template<typename KmsKeyT = Aws::String>
49 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
50 template<typename KmsKeyT = Aws::String>
51 ManagedQueryResultsEncryptionConfiguration& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
53 private:
54
55 Aws::String m_kmsKey;
56 bool m_kmsKeyHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Athena
61} // namespace Aws
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API ManagedQueryResultsEncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API ManagedQueryResultsEncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
ManagedQueryResultsEncryptionConfiguration & WithKmsKey(KmsKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue