AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBackupSelectionResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Backup
25{
26namespace Model
27{
29 {
30 public:
31 AWS_BACKUP_API CreateBackupSelectionResult() = default;
34
35
37
41 inline const Aws::String& GetSelectionId() const { return m_selectionId; }
42 template<typename SelectionIdT = Aws::String>
43 void SetSelectionId(SelectionIdT&& value) { m_selectionIdHasBeenSet = true; m_selectionId = std::forward<SelectionIdT>(value); }
44 template<typename SelectionIdT = Aws::String>
45 CreateBackupSelectionResult& WithSelectionId(SelectionIdT&& value) { SetSelectionId(std::forward<SelectionIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
53 template<typename BackupPlanIdT = Aws::String>
54 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
55 template<typename BackupPlanIdT = Aws::String>
56 CreateBackupSelectionResult& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
58
60
66 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
67 template<typename CreationDateT = Aws::Utils::DateTime>
68 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
69 template<typename CreationDateT = Aws::Utils::DateTime>
70 CreateBackupSelectionResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 CreateBackupSelectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::String m_selectionId;
84 bool m_selectionIdHasBeenSet = false;
85
86 Aws::String m_backupPlanId;
87 bool m_backupPlanIdHasBeenSet = false;
88
89 Aws::Utils::DateTime m_creationDate{};
90 bool m_creationDateHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Backup
98} // namespace Aws
AWS_BACKUP_API CreateBackupSelectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BACKUP_API CreateBackupSelectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBackupSelectionResult & WithSelectionId(SelectionIdT &&value)
AWS_BACKUP_API CreateBackupSelectionResult()=default
CreateBackupSelectionResult & WithCreationDate(CreationDateT &&value)
CreateBackupSelectionResult & WithBackupPlanId(BackupPlanIdT &&value)
CreateBackupSelectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue