AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ManagedQueryResultsConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/ManagedQueryResultsEncryptionConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Athena {
20namespace Model {
21
30 public:
31 AWS_ATHENA_API ManagedQueryResultsConfiguration() = default;
34 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline bool GetEnabled() const { return m_enabled; }
45 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
46 inline void SetEnabled(bool value) {
47 m_enabledHasBeenSet = true;
48 m_enabled = value;
49 }
51 SetEnabled(value);
52 return *this;
53 }
55
57
62 inline const ManagedQueryResultsEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
63 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
64 template <typename EncryptionConfigurationT = ManagedQueryResultsEncryptionConfiguration>
65 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
66 m_encryptionConfigurationHasBeenSet = true;
67 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
68 }
69 template <typename EncryptionConfigurationT = ManagedQueryResultsEncryptionConfiguration>
71 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
72 return *this;
73 }
75 private:
76 bool m_enabled{false};
77
78 ManagedQueryResultsEncryptionConfiguration m_encryptionConfiguration;
79 bool m_enabledHasBeenSet = false;
80 bool m_encryptionConfigurationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Athena
85} // namespace Aws
const ManagedQueryResultsEncryptionConfiguration & GetEncryptionConfiguration() const
AWS_ATHENA_API ManagedQueryResultsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API ManagedQueryResultsConfiguration(Aws::Utils::Json::JsonView jsonValue)
ManagedQueryResultsConfiguration & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedQueryResultsConfiguration & WithEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue