/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EFS { namespace Model { class DescribeBackupPolicyResult { public: AWS_EFS_API DescribeBackupPolicyResult(); AWS_EFS_API DescribeBackupPolicyResult(const Aws::AmazonWebServiceResult& result); AWS_EFS_API DescribeBackupPolicyResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes the file system's backup policy, indicating whether automatic * backups are turned on or off.

*/ inline const BackupPolicy& GetBackupPolicy() const{ return m_backupPolicy; } /** *

Describes the file system's backup policy, indicating whether automatic * backups are turned on or off.

*/ inline void SetBackupPolicy(const BackupPolicy& value) { m_backupPolicy = value; } /** *

Describes the file system's backup policy, indicating whether automatic * backups are turned on or off.

*/ inline void SetBackupPolicy(BackupPolicy&& value) { m_backupPolicy = std::move(value); } /** *

Describes the file system's backup policy, indicating whether automatic * backups are turned on or off.

*/ inline DescribeBackupPolicyResult& WithBackupPolicy(const BackupPolicy& value) { SetBackupPolicy(value); return *this;} /** *

Describes the file system's backup policy, indicating whether automatic * backups are turned on or off.

*/ inline DescribeBackupPolicyResult& WithBackupPolicy(BackupPolicy&& value) { SetBackupPolicy(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeBackupPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeBackupPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeBackupPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: BackupPolicy m_backupPolicy; Aws::String m_requestId; }; } // namespace Model } // namespace EFS } // namespace Aws