AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GetBackupSelectionRequest.h
1
6#pragma once
7#include <aws/backup/BackupRequest.h>
8#include <aws/backup/Backup_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Backup {
15namespace Model {
16
20 public:
21 AWS_BACKUP_API GetBackupSelectionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetBackupSelection"; }
28
29 AWS_BACKUP_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
36 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
37 template <typename BackupPlanIdT = Aws::String>
38 void SetBackupPlanId(BackupPlanIdT&& value) {
39 m_backupPlanIdHasBeenSet = true;
40 m_backupPlanId = std::forward<BackupPlanIdT>(value);
41 }
42 template <typename BackupPlanIdT = Aws::String>
44 SetBackupPlanId(std::forward<BackupPlanIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetSelectionId() const { return m_selectionId; }
55 inline bool SelectionIdHasBeenSet() const { return m_selectionIdHasBeenSet; }
56 template <typename SelectionIdT = Aws::String>
57 void SetSelectionId(SelectionIdT&& value) {
58 m_selectionIdHasBeenSet = true;
59 m_selectionId = std::forward<SelectionIdT>(value);
60 }
61 template <typename SelectionIdT = Aws::String>
63 SetSelectionId(std::forward<SelectionIdT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_backupPlanId;
69
70 Aws::String m_selectionId;
71 bool m_backupPlanIdHasBeenSet = false;
72 bool m_selectionIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Backup
77} // namespace Aws
AWS_BACKUP_API Aws::String SerializePayload() const override
GetBackupSelectionRequest & WithBackupPlanId(BackupPlanIdT &&value)
GetBackupSelectionRequest & WithSelectionId(SelectionIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_BACKUP_API GetBackupSelectionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String