AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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:
36 AWS_ATHENA_API ManagedQueryResultsConfiguration() = default;
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline bool GetEnabled() const { return m_enabled; }
51 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
52 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
53 inline ManagedQueryResultsConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
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) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
66 template<typename EncryptionConfigurationT = ManagedQueryResultsEncryptionConfiguration>
67 ManagedQueryResultsConfiguration& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
69 private:
70
71 bool m_enabled{false};
72 bool m_enabledHasBeenSet = false;
73
74 ManagedQueryResultsEncryptionConfiguration m_encryptionConfiguration;
75 bool m_encryptionConfigurationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Athena
80} // 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