/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The managed log persistence configuration for a job run.See
* Also:
AWS
* API Reference
Enables managed logging and defaults to true. If set to false, managed * logging will be turned off.
*/ inline bool GetEnabled() const{ return m_enabled; } /** *Enables managed logging and defaults to true. If set to false, managed * logging will be turned off.
*/ inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** *Enables managed logging and defaults to true. If set to false, managed * logging will be turned off.
*/ inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** *Enables managed logging and defaults to true. If set to false, managed * logging will be turned off.
*/ inline ManagedPersistenceMonitoringConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; } /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; } /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; } /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); } /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); } /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline ManagedPersistenceMonitoringConfiguration& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;} /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline ManagedPersistenceMonitoringConfiguration& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;} /** *The KMS key ARN to encrypt the logs stored in managed log persistence.
*/ inline ManagedPersistenceMonitoringConfiguration& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;} private: bool m_enabled; bool m_enabledHasBeenSet = false; Aws::String m_encryptionKeyArn; bool m_encryptionKeyArnHasBeenSet = false; }; } // namespace Model } // namespace EMRServerless } // namespace Aws