AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetBackupSelectionResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/BackupSelection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
30 {
31 public:
32 AWS_BACKUP_API GetBackupSelectionResult() = default;
35
36
38
42 inline const BackupSelection& GetBackupSelection() const { return m_backupSelection; }
43 template<typename BackupSelectionT = BackupSelection>
44 void SetBackupSelection(BackupSelectionT&& value) { m_backupSelectionHasBeenSet = true; m_backupSelection = std::forward<BackupSelectionT>(value); }
45 template<typename BackupSelectionT = BackupSelection>
46 GetBackupSelectionResult& WithBackupSelection(BackupSelectionT&& value) { SetBackupSelection(std::forward<BackupSelectionT>(value)); return *this;}
48
50
54 inline const Aws::String& GetSelectionId() const { return m_selectionId; }
55 template<typename SelectionIdT = Aws::String>
56 void SetSelectionId(SelectionIdT&& value) { m_selectionIdHasBeenSet = true; m_selectionId = std::forward<SelectionIdT>(value); }
57 template<typename SelectionIdT = Aws::String>
58 GetBackupSelectionResult& WithSelectionId(SelectionIdT&& value) { SetSelectionId(std::forward<SelectionIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
66 template<typename BackupPlanIdT = Aws::String>
67 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
68 template<typename BackupPlanIdT = Aws::String>
69 GetBackupSelectionResult& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
71
73
79 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
80 template<typename CreationDateT = Aws::Utils::DateTime>
81 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
82 template<typename CreationDateT = Aws::Utils::DateTime>
83 GetBackupSelectionResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
85
87
91 inline const Aws::String& GetCreatorRequestId() const { return m_creatorRequestId; }
92 template<typename CreatorRequestIdT = Aws::String>
93 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
94 template<typename CreatorRequestIdT = Aws::String>
95 GetBackupSelectionResult& WithCreatorRequestId(CreatorRequestIdT&& value) { SetCreatorRequestId(std::forward<CreatorRequestIdT>(value)); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template<typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
103 template<typename RequestIdT = Aws::String>
104 GetBackupSelectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
106 private:
107
108 BackupSelection m_backupSelection;
109 bool m_backupSelectionHasBeenSet = false;
110
111 Aws::String m_selectionId;
112 bool m_selectionIdHasBeenSet = false;
113
114 Aws::String m_backupPlanId;
115 bool m_backupPlanIdHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDate{};
118 bool m_creationDateHasBeenSet = false;
119
120 Aws::String m_creatorRequestId;
121 bool m_creatorRequestIdHasBeenSet = false;
122
123 Aws::String m_requestId;
124 bool m_requestIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Backup
129} // namespace Aws
GetBackupSelectionResult & WithBackupPlanId(BackupPlanIdT &&value)
GetBackupSelectionResult & WithSelectionId(SelectionIdT &&value)
GetBackupSelectionResult & WithCreationDate(CreationDateT &&value)
AWS_BACKUP_API GetBackupSelectionResult()=default
const Aws::Utils::DateTime & GetCreationDate() const
GetBackupSelectionResult & WithRequestId(RequestIdT &&value)
GetBackupSelectionResult & WithBackupSelection(BackupSelectionT &&value)
AWS_BACKUP_API GetBackupSelectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API GetBackupSelectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupSelectionResult & WithCreatorRequestId(CreatorRequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue