AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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
33 {
34 public:
35 AWS_ATHENA_API ManagedQueryResultsConfigurationUpdates() = default;
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetEnabled() const { return m_enabled; }
47 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
48 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
49 inline ManagedQueryResultsConfigurationUpdates& WithEnabled(bool value) { SetEnabled(value); return *this;}
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) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
62 template<typename EncryptionConfigurationT = ManagedQueryResultsEncryptionConfiguration>
63 ManagedQueryResultsConfigurationUpdates& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
65
67
72 inline bool GetRemoveEncryptionConfiguration() const { return m_removeEncryptionConfiguration; }
73 inline bool RemoveEncryptionConfigurationHasBeenSet() const { return m_removeEncryptionConfigurationHasBeenSet; }
74 inline void SetRemoveEncryptionConfiguration(bool value) { m_removeEncryptionConfigurationHasBeenSet = true; m_removeEncryptionConfiguration = value; }
77 private:
78
79 bool m_enabled{false};
80 bool m_enabledHasBeenSet = false;
81
82 ManagedQueryResultsEncryptionConfiguration m_encryptionConfiguration;
83 bool m_encryptionConfigurationHasBeenSet = false;
84
85 bool m_removeEncryptionConfiguration{false};
86 bool m_removeEncryptionConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Athena
91} // 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