This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-elasticfilesystem/include/aws/elasticfilesystem/model/PutBackupPolicyResult.h

73 lines
2.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticfilesystem/EFS_EXPORTS.h>
#include <aws/elasticfilesystem/model/BackupPolicy.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace EFS
{
namespace Model
{
class AWS_EFS_API PutBackupPolicyResult
{
public:
PutBackupPolicyResult();
PutBackupPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
PutBackupPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Describes the file system's backup policy, indicating whether automatic
* backups are turned on or off..</p>
*/
inline const BackupPolicy& GetBackupPolicy() const{ return m_backupPolicy; }
/**
* <p>Describes the file system's backup policy, indicating whether automatic
* backups are turned on or off..</p>
*/
inline void SetBackupPolicy(const BackupPolicy& value) { m_backupPolicy = value; }
/**
* <p>Describes the file system's backup policy, indicating whether automatic
* backups are turned on or off..</p>
*/
inline void SetBackupPolicy(BackupPolicy&& value) { m_backupPolicy = std::move(value); }
/**
* <p>Describes the file system's backup policy, indicating whether automatic
* backups are turned on or off..</p>
*/
inline PutBackupPolicyResult& WithBackupPolicy(const BackupPolicy& value) { SetBackupPolicy(value); return *this;}
/**
* <p>Describes the file system's backup policy, indicating whether automatic
* backups are turned on or off..</p>
*/
inline PutBackupPolicyResult& WithBackupPolicy(BackupPolicy&& value) { SetBackupPolicy(std::move(value)); return *this;}
private:
BackupPolicy m_backupPolicy;
};
} // namespace Model
} // namespace EFS
} // namespace Aws