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-backup/include/aws/backup/model/UpdateBackupPlanRequest.h

125 lines
4.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/backup/Backup_EXPORTS.h>
#include <aws/backup/BackupRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/backup/model/BackupPlanInput.h>
#include <utility>
namespace Aws
{
namespace Backup
{
namespace Model
{
/**
*/
class AWS_BACKUP_API UpdateBackupPlanRequest : public BackupRequest
{
public:
UpdateBackupPlanRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "UpdateBackupPlan"; }
Aws::String SerializePayload() const override;
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline UpdateBackupPlanRequest& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline UpdateBackupPlanRequest& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
/**
* <p>Uniquely identifies a backup plan.</p>
*/
inline UpdateBackupPlanRequest& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
/**
* <p>Specifies the body of a backup plan. Includes a <code>BackupPlanName</code>
* and one or more sets of <code>Rules</code>.</p>
*/
inline const BackupPlanInput& GetBackupPlan() const{ return m_backupPlan; }
/**
* <p>Specifies the body of a backup plan. Includes a <code>BackupPlanName</code>
* and one or more sets of <code>Rules</code>.</p>
*/
inline bool BackupPlanHasBeenSet() const { return m_backupPlanHasBeenSet; }
/**
* <p>Specifies the body of a backup plan. Includes a <code>BackupPlanName</code>
* and one or more sets of <code>Rules</code>.</p>
*/
inline void SetBackupPlan(const BackupPlanInput& value) { m_backupPlanHasBeenSet = true; m_backupPlan = value; }
/**
* <p>Specifies the body of a backup plan. Includes a <code>BackupPlanName</code>
* and one or more sets of <code>Rules</code>.</p>
*/
inline void SetBackupPlan(BackupPlanInput&& value) { m_backupPlanHasBeenSet = true; m_backupPlan = std::move(value); }
/**
* <p>Specifies the body of a backup plan. Includes a <code>BackupPlanName</code>
* and one or more sets of <code>Rules</code>.</p>
*/
inline UpdateBackupPlanRequest& WithBackupPlan(const BackupPlanInput& value) { SetBackupPlan(value); return *this;}
/**
* <p>Specifies the body of a backup plan. Includes a <code>BackupPlanName</code>
* and one or more sets of <code>Rules</code>.</p>
*/
inline UpdateBackupPlanRequest& WithBackupPlan(BackupPlanInput&& value) { SetBackupPlan(std::move(value)); return *this;}
private:
Aws::String m_backupPlanId;
bool m_backupPlanIdHasBeenSet;
BackupPlanInput m_backupPlan;
bool m_backupPlanHasBeenSet;
};
} // namespace Model
} // namespace Backup
} // namespace Aws