AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename BackupPlanIdT = Aws::String>
43 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
44 template<typename BackupPlanIdT = Aws::String>
45 UpdateBackupPlanRequest& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
47
49
53 inline const BackupPlanInput& GetBackupPlan() const { return m_backupPlan; }
54 inline bool BackupPlanHasBeenSet() const { return m_backupPlanHasBeenSet; }
55 template<typename BackupPlanT = BackupPlanInput>
56 void SetBackupPlan(BackupPlanT&& value) { m_backupPlanHasBeenSet = true; m_backupPlan = std::forward<BackupPlanT>(value); }
57 template<typename BackupPlanT = BackupPlanInput>
58 UpdateBackupPlanRequest& WithBackupPlan(BackupPlanT&& value) { SetBackupPlan(std::forward<BackupPlanT>(value)); return *this;}
60 private:
61
62 Aws::String m_backupPlanId;
63 bool m_backupPlanIdHasBeenSet = false;
64
65 BackupPlanInput m_backupPlan;
66 bool m_backupPlanHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Backup
71} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_BACKUP_API UpdateBackupPlanRequest()=default
UpdateBackupPlanRequest & WithBackupPlanId(BackupPlanIdT &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
UpdateBackupPlanRequest & WithBackupPlan(BackupPlanT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String