AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBackupPlanRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/backup/model/BackupPlanInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Backup
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BACKUP_API UpdateBackupPlanRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateBackupPlan"; }
32
33 AWS_BACKUP_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
41 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
42 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; }
43 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); }
44 inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); }
45 inline UpdateBackupPlanRequest& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
46 inline UpdateBackupPlanRequest& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
47 inline UpdateBackupPlanRequest& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
49
51
55 inline const BackupPlanInput& GetBackupPlan() const{ return m_backupPlan; }
56 inline bool BackupPlanHasBeenSet() const { return m_backupPlanHasBeenSet; }
57 inline void SetBackupPlan(const BackupPlanInput& value) { m_backupPlanHasBeenSet = true; m_backupPlan = value; }
58 inline void SetBackupPlan(BackupPlanInput&& value) { m_backupPlanHasBeenSet = true; m_backupPlan = std::move(value); }
59 inline UpdateBackupPlanRequest& WithBackupPlan(const BackupPlanInput& value) { SetBackupPlan(value); return *this;}
60 inline UpdateBackupPlanRequest& WithBackupPlan(BackupPlanInput&& value) { SetBackupPlan(std::move(value)); return *this;}
62 private:
63
64 Aws::String m_backupPlanId;
65 bool m_backupPlanIdHasBeenSet = false;
66
67 BackupPlanInput m_backupPlan;
68 bool m_backupPlanHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Backup
73} // namespace Aws
UpdateBackupPlanRequest & WithBackupPlanId(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateBackupPlanRequest & WithBackupPlanId(Aws::String &&value)
void SetBackupPlan(const BackupPlanInput &value)
UpdateBackupPlanRequest & WithBackupPlan(BackupPlanInput &&value)
UpdateBackupPlanRequest & WithBackupPlan(const BackupPlanInput &value)
UpdateBackupPlanRequest & WithBackupPlanId(const Aws::String &value)
AWS_BACKUP_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String