AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ManagedPersistenceMonitoringConfiguration.h
1
6#pragma once
7#include <aws/emr-serverless/EMRServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 EMRServerless
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMRSERVERLESS_API ManagedPersistenceMonitoringConfiguration() = default;
38 AWS_EMRSERVERLESS_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 ManagedPersistenceMonitoringConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;}
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) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::forward<EncryptionKeyArnT>(value); }
60 template<typename EncryptionKeyArnT = Aws::String>
61 ManagedPersistenceMonitoringConfiguration& WithEncryptionKeyArn(EncryptionKeyArnT&& value) { SetEncryptionKeyArn(std::forward<EncryptionKeyArnT>(value)); return *this;}
63 private:
64
65 bool m_enabled{false};
66 bool m_enabledHasBeenSet = false;
67
68 Aws::String m_encryptionKeyArn;
69 bool m_encryptionKeyArnHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace EMRServerless
74} // 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