AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ManagedLoggingConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ManagedLoggingConfiguration() = default;
33 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline bool GetEnabled() const { return m_enabled; }
40 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
41 inline void SetEnabled(bool value) {
42 m_enabledHasBeenSet = true;
43 m_enabled = value;
44 }
46 SetEnabled(value);
47 return *this;
48 }
50
52
55 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
56 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
57 template <typename KmsKeyT = Aws::String>
58 void SetKmsKey(KmsKeyT&& value) {
59 m_kmsKeyHasBeenSet = true;
60 m_kmsKey = std::forward<KmsKeyT>(value);
61 }
62 template <typename KmsKeyT = Aws::String>
64 SetKmsKey(std::forward<KmsKeyT>(value));
65 return *this;
66 }
68 private:
69 bool m_enabled{false};
70
71 Aws::String m_kmsKey;
72 bool m_enabledHasBeenSet = false;
73 bool m_kmsKeyHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Athena
78} // namespace Aws
AWS_ATHENA_API ManagedLoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
ManagedLoggingConfiguration & WithKmsKey(KmsKeyT &&value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API ManagedLoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API ManagedLoggingConfiguration()=default
ManagedLoggingConfiguration & WithEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue