AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ManagedQueryResultsConfigurationUpdates.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
29 public:
30 AWS_ATHENA_API ManagedQueryResultsConfigurationUpdates() = default;
33 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline bool GetEnabled() const { return m_enabled; }
41 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
42 inline void SetEnabled(bool value) {
43 m_enabledHasBeenSet = true;
44 m_enabled = value;
45 }
47 SetEnabled(value);
48 return *this;
49 }
51
53
58 inline const ManagedQueryResultsEncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
59 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
60 template <typename EncryptionConfigurationT = ManagedQueryResultsEncryptionConfiguration>
61 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
62 m_encryptionConfigurationHasBeenSet = true;
63 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
64 }
65 template <typename EncryptionConfigurationT = ManagedQueryResultsEncryptionConfiguration>
67 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
68 return *this;
69 }
71
73
78 inline bool GetRemoveEncryptionConfiguration() const { return m_removeEncryptionConfiguration; }
79 inline bool RemoveEncryptionConfigurationHasBeenSet() const { return m_removeEncryptionConfigurationHasBeenSet; }
80 inline void SetRemoveEncryptionConfiguration(bool value) {
81 m_removeEncryptionConfigurationHasBeenSet = true;
82 m_removeEncryptionConfiguration = value;
83 }
86 return *this;
87 }
89 private:
90 bool m_enabled{false};
91
92 ManagedQueryResultsEncryptionConfiguration m_encryptionConfiguration;
93
94 bool m_removeEncryptionConfiguration{false};
95 bool m_enabledHasBeenSet = false;
96 bool m_encryptionConfigurationHasBeenSet = false;
97 bool m_removeEncryptionConfigurationHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Athena
102} // namespace Aws
ManagedQueryResultsConfigurationUpdates & WithRemoveEncryptionConfiguration(bool value)
AWS_ATHENA_API ManagedQueryResultsConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API ManagedQueryResultsConfigurationUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedQueryResultsConfigurationUpdates & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const ManagedQueryResultsEncryptionConfiguration & GetEncryptionConfiguration() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue