AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
ManagedPersistenceMonitoringConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMRServerless {
20namespace Model {
21
29 public:
30 AWS_EMRSERVERLESS_API ManagedPersistenceMonitoringConfiguration() = default;
33 AWS_EMRSERVERLESS_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
56 inline const Aws::String& GetEncryptionKeyArn() const { return m_encryptionKeyArn; }
57 inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; }
58 template <typename EncryptionKeyArnT = Aws::String>
59 void SetEncryptionKeyArn(EncryptionKeyArnT&& value) {
60 m_encryptionKeyArnHasBeenSet = true;
61 m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value);
62 }
63 template <typename EncryptionKeyArnT = Aws::String>
65 SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value));
66 return *this;
67 }
69 private:
70 bool m_enabled{false};
71
72 Aws::String m_encryptionKeyArn;
73 bool m_enabledHasBeenSet = false;
74 bool m_encryptionKeyArnHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace EMRServerless
79} // namespace Aws
AWS_EMRSERVERLESS_API ManagedPersistenceMonitoringConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_EMRSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedPersistenceMonitoringConfiguration & WithEncryptionKeyArn(EncryptionKeyArnT &&value)
AWS_EMRSERVERLESS_API ManagedPersistenceMonitoringConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue