/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SsmSap { namespace Model { /** *

Configuration parameters for AWS Backint Agent for SAP HANA. You can backup * your SAP HANA database with AWS Backup or Amazon S3.

See Also:

* AWS * API Reference

*/ class BackintConfig { public: AWS_SSMSAP_API BackintConfig(); AWS_SSMSAP_API BackintConfig(Aws::Utils::Json::JsonView jsonValue); AWS_SSMSAP_API BackintConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

AWS service for your database backup.

*/ inline const BackintMode& GetBackintMode() const{ return m_backintMode; } /** *

AWS service for your database backup.

*/ inline bool BackintModeHasBeenSet() const { return m_backintModeHasBeenSet; } /** *

AWS service for your database backup.

*/ inline void SetBackintMode(const BackintMode& value) { m_backintModeHasBeenSet = true; m_backintMode = value; } /** *

AWS service for your database backup.

*/ inline void SetBackintMode(BackintMode&& value) { m_backintModeHasBeenSet = true; m_backintMode = std::move(value); } /** *

AWS service for your database backup.

*/ inline BackintConfig& WithBackintMode(const BackintMode& value) { SetBackintMode(value); return *this;} /** *

AWS service for your database backup.

*/ inline BackintConfig& WithBackintMode(BackintMode&& value) { SetBackintMode(std::move(value)); return *this;} /** *

*/ inline bool GetEnsureNoBackupInProcess() const{ return m_ensureNoBackupInProcess; } /** *

*/ inline bool EnsureNoBackupInProcessHasBeenSet() const { return m_ensureNoBackupInProcessHasBeenSet; } /** *

*/ inline void SetEnsureNoBackupInProcess(bool value) { m_ensureNoBackupInProcessHasBeenSet = true; m_ensureNoBackupInProcess = value; } /** *

*/ inline BackintConfig& WithEnsureNoBackupInProcess(bool value) { SetEnsureNoBackupInProcess(value); return *this;} private: BackintMode m_backintMode; bool m_backintModeHasBeenSet = false; bool m_ensureNoBackupInProcess; bool m_ensureNoBackupInProcessHasBeenSet = false; }; } // namespace Model } // namespace SsmSap } // namespace Aws