AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
42 inline const BackupSelection& GetBackupSelection() const{ return m_backupSelection; }
43 inline void SetBackupSelection(const BackupSelection& value) { m_backupSelection = value; }
44 inline void SetBackupSelection(BackupSelection&& value) { m_backupSelection = std::move(value); }
46 inline GetBackupSelectionResult& WithBackupSelection(BackupSelection&& value) { SetBackupSelection(std::move(value)); return *this;}
48
50
54 inline const Aws::String& GetSelectionId() const{ return m_selectionId; }
55 inline void SetSelectionId(const Aws::String& value) { m_selectionId = value; }
56 inline void SetSelectionId(Aws::String&& value) { m_selectionId = std::move(value); }
57 inline void SetSelectionId(const char* value) { m_selectionId.assign(value); }
58 inline GetBackupSelectionResult& WithSelectionId(const Aws::String& value) { SetSelectionId(value); return *this;}
59 inline GetBackupSelectionResult& WithSelectionId(Aws::String&& value) { SetSelectionId(std::move(value)); return *this;}
60 inline GetBackupSelectionResult& WithSelectionId(const char* value) { SetSelectionId(value); return *this;}
62
64
67 inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
68 inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanId = value; }
69 inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanId = std::move(value); }
70 inline void SetBackupPlanId(const char* value) { m_backupPlanId.assign(value); }
71 inline GetBackupSelectionResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
72 inline GetBackupSelectionResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
73 inline GetBackupSelectionResult& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
75
77
83 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
84 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
85 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
87 inline GetBackupSelectionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
89
91
95 inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
96 inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestId = value; }
97 inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestId = std::move(value); }
98 inline void SetCreatorRequestId(const char* value) { m_creatorRequestId.assign(value); }
100 inline GetBackupSelectionResult& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
101 inline GetBackupSelectionResult& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const{ return m_requestId; }
107 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
108 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
109 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
110 inline GetBackupSelectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
111 inline GetBackupSelectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
112 inline GetBackupSelectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
114 private:
115
116 BackupSelection m_backupSelection;
117
118 Aws::String m_selectionId;
119
120 Aws::String m_backupPlanId;
121
122 Aws::Utils::DateTime m_creationDate;
123
124 Aws::String m_creatorRequestId;
125
126 Aws::String m_requestId;
127 };
128
129} // namespace Model
130} // namespace Backup
131} // namespace Aws
GetBackupSelectionResult & WithRequestId(Aws::String &&value)
GetBackupSelectionResult & WithBackupPlanId(const Aws::String &value)
GetBackupSelectionResult & WithBackupPlanId(const char *value)
GetBackupSelectionResult & WithCreatorRequestId(Aws::String &&value)
GetBackupSelectionResult & WithSelectionId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() const
GetBackupSelectionResult & WithSelectionId(const Aws::String &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
GetBackupSelectionResult & WithBackupSelection(BackupSelection &&value)
GetBackupSelectionResult & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_BACKUP_API GetBackupSelectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupSelectionResult & WithCreationDate(const Aws::Utils::DateTime &value)
AWS_BACKUP_API GetBackupSelectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBackupSelectionResult & WithCreatorRequestId(const Aws::String &value)
GetBackupSelectionResult & WithBackupSelection(const BackupSelection &value)
GetBackupSelectionResult & WithRequestId(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
GetBackupSelectionResult & WithBackupPlanId(Aws::String &&value)
GetBackupSelectionResult & WithRequestId(const Aws::String &value)
void SetBackupSelection(const BackupSelection &value)
GetBackupSelectionResult & WithCreatorRequestId(const char *value)
GetBackupSelectionResult & WithSelectionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue