AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
53 inline const EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; }
54 inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; }
55 inline void SetEncryptionOption(const EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; }
56 inline void SetEncryptionOption(EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); }
58 inline EncryptionConfiguration& WithEncryptionOption(EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;}
60
62
66 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
67 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
68 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
69 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
70 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
71 inline EncryptionConfiguration& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
72 inline EncryptionConfiguration& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
73 inline EncryptionConfiguration& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
75 private:
76
77 EncryptionOption m_encryptionOption;
78 bool m_encryptionOptionHasBeenSet = false;
79
80 Aws::String m_kmsKey;
81 bool m_kmsKeyHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Athena
86} // namespace Aws
EncryptionConfiguration & WithEncryptionOption(const EncryptionOption &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API EncryptionConfiguration(Aws::Utils::Json::JsonView jsonValue)
const EncryptionOption & GetEncryptionOption() const
EncryptionConfiguration & WithKmsKey(Aws::String &&value)
EncryptionConfiguration & WithKmsKey(const Aws::String &value)
EncryptionConfiguration & WithEncryptionOption(EncryptionOption &&value)
EncryptionConfiguration & WithKmsKey(const char *value)
void SetEncryptionOption(const EncryptionOption &value)
AWS_ATHENA_API EncryptionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue