AWS SDK for C++  1.9.20
AWS SDK for C++
GetBackupSelectionResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Backup
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const BackupSelection& GetBackupSelection() const{ return m_backupSelection; }
42 
47  inline void SetBackupSelection(const BackupSelection& value) { m_backupSelection = value; }
48 
53  inline void SetBackupSelection(BackupSelection&& value) { m_backupSelection = std::move(value); }
54 
59  inline GetBackupSelectionResult& WithBackupSelection(const BackupSelection& value) { SetBackupSelection(value); return *this;}
60 
65  inline GetBackupSelectionResult& WithBackupSelection(BackupSelection&& value) { SetBackupSelection(std::move(value)); return *this;}
66 
67 
72  inline const Aws::String& GetSelectionId() const{ return m_selectionId; }
73 
78  inline void SetSelectionId(const Aws::String& value) { m_selectionId = value; }
79 
84  inline void SetSelectionId(Aws::String&& value) { m_selectionId = std::move(value); }
85 
90  inline void SetSelectionId(const char* value) { m_selectionId.assign(value); }
91 
96  inline GetBackupSelectionResult& WithSelectionId(const Aws::String& value) { SetSelectionId(value); return *this;}
97 
102  inline GetBackupSelectionResult& WithSelectionId(Aws::String&& value) { SetSelectionId(std::move(value)); return *this;}
103 
108  inline GetBackupSelectionResult& WithSelectionId(const char* value) { SetSelectionId(value); return *this;}
109 
110 
114  inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
115 
119  inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanId = value; }
120 
124  inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanId = std::move(value); }
125 
129  inline void SetBackupPlanId(const char* value) { m_backupPlanId.assign(value); }
130 
134  inline GetBackupSelectionResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
135 
139  inline GetBackupSelectionResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
140 
144  inline GetBackupSelectionResult& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
145 
146 
153  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
154 
161  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
162 
169  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
170 
177  inline GetBackupSelectionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
178 
185  inline GetBackupSelectionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
186 
187 
192  inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; }
193 
198  inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestId = value; }
199 
204  inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestId = std::move(value); }
205 
210  inline void SetCreatorRequestId(const char* value) { m_creatorRequestId.assign(value); }
211 
216  inline GetBackupSelectionResult& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;}
217 
222  inline GetBackupSelectionResult& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;}
223 
228  inline GetBackupSelectionResult& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;}
229 
230  private:
231 
232  BackupSelection m_backupSelection;
233 
234  Aws::String m_selectionId;
235 
236  Aws::String m_backupPlanId;
237 
238  Aws::Utils::DateTime m_creationDate;
239 
240  Aws::String m_creatorRequestId;
241  };
242 
243 } // namespace Model
244 } // namespace Backup
245 } // namespace Aws
Aws::Backup::Model::BackupSelection
Definition: BackupSelection.h:35
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Backup::Model::GetBackupSelectionResult::SetBackupSelection
void SetBackupSelection(const BackupSelection &value)
Definition: GetBackupSelectionResult.h:47
Aws::Backup::Model::GetBackupSelectionResult::SetCreatorRequestId
void SetCreatorRequestId(const Aws::String &value)
Definition: GetBackupSelectionResult.h:198
Aws::Backup::Model::GetBackupSelectionResult::SetSelectionId
void SetSelectionId(const char *value)
Definition: GetBackupSelectionResult.h:90
Aws::Backup::Model::GetBackupSelectionResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: GetBackupSelectionResult.h:153
Aws::Backup::Model::GetBackupSelectionResult
Definition: GetBackupSelectionResult.h:30
Aws::Backup::Model::GetBackupSelectionResult::WithCreationDate
GetBackupSelectionResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: GetBackupSelectionResult.h:177
Aws::Backup::Model::GetBackupSelectionResult::SetCreatorRequestId
void SetCreatorRequestId(Aws::String &&value)
Definition: GetBackupSelectionResult.h:204
Aws::Backup::Model::GetBackupSelectionResult::SetSelectionId
void SetSelectionId(Aws::String &&value)
Definition: GetBackupSelectionResult.h:84
Aws::Backup::Model::GetBackupSelectionResult::WithCreatorRequestId
GetBackupSelectionResult & WithCreatorRequestId(const char *value)
Definition: GetBackupSelectionResult.h:228
Aws::Backup::Model::GetBackupSelectionResult::WithCreatorRequestId
GetBackupSelectionResult & WithCreatorRequestId(Aws::String &&value)
Definition: GetBackupSelectionResult.h:222
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::GetBackupSelectionResult::GetBackupSelection
const BackupSelection & GetBackupSelection() const
Definition: GetBackupSelectionResult.h:41
DateTime.h
Aws::Backup::Model::GetBackupSelectionResult::SetBackupPlanId
void SetBackupPlanId(const Aws::String &value)
Definition: GetBackupSelectionResult.h:119
Aws::Backup::Model::GetBackupSelectionResult::WithBackupPlanId
GetBackupSelectionResult & WithBackupPlanId(const Aws::String &value)
Definition: GetBackupSelectionResult.h:134
Aws::Backup::Model::GetBackupSelectionResult::GetBackupSelectionResult
GetBackupSelectionResult()
Aws::Backup::Model::GetBackupSelectionResult::SetBackupSelection
void SetBackupSelection(BackupSelection &&value)
Definition: GetBackupSelectionResult.h:53
Aws::Backup::Model::GetBackupSelectionResult::SetBackupPlanId
void SetBackupPlanId(const char *value)
Definition: GetBackupSelectionResult.h:129
Aws::Backup::Model::GetBackupSelectionResult::WithCreatorRequestId
GetBackupSelectionResult & WithCreatorRequestId(const Aws::String &value)
Definition: GetBackupSelectionResult.h:216
Aws::Backup::Model::GetBackupSelectionResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: GetBackupSelectionResult.h:169
Aws::Backup::Model::GetBackupSelectionResult::GetCreatorRequestId
const Aws::String & GetCreatorRequestId() const
Definition: GetBackupSelectionResult.h:192
Aws::Backup::Model::GetBackupSelectionResult::WithSelectionId
GetBackupSelectionResult & WithSelectionId(Aws::String &&value)
Definition: GetBackupSelectionResult.h:102
AWSString.h
BackupSelection.h
Aws::Backup::Model::GetBackupSelectionResult::SetSelectionId
void SetSelectionId(const Aws::String &value)
Definition: GetBackupSelectionResult.h:78
Aws::Backup::Model::GetBackupSelectionResult::WithBackupPlanId
GetBackupSelectionResult & WithBackupPlanId(Aws::String &&value)
Definition: GetBackupSelectionResult.h:139
Aws::Backup::Model::GetBackupSelectionResult::WithBackupSelection
GetBackupSelectionResult & WithBackupSelection(BackupSelection &&value)
Definition: GetBackupSelectionResult.h:65
Aws::Backup::Model::GetBackupSelectionResult::WithSelectionId
GetBackupSelectionResult & WithSelectionId(const char *value)
Definition: GetBackupSelectionResult.h:108
Aws::Backup::Model::GetBackupSelectionResult::WithSelectionId
GetBackupSelectionResult & WithSelectionId(const Aws::String &value)
Definition: GetBackupSelectionResult.h:96
Aws::Backup::Model::GetBackupSelectionResult::SetBackupPlanId
void SetBackupPlanId(Aws::String &&value)
Definition: GetBackupSelectionResult.h:124
Backup_EXPORTS.h
Aws::Backup::Model::GetBackupSelectionResult::GetBackupSelectionResult
GetBackupSelectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::GetBackupSelectionResult::WithBackupPlanId
GetBackupSelectionResult & WithBackupPlanId(const char *value)
Definition: GetBackupSelectionResult.h:144
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::GetBackupSelectionResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: GetBackupSelectionResult.h:161
Aws::Backup::Model::GetBackupSelectionResult::operator=
GetBackupSelectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::GetBackupSelectionResult::WithCreationDate
GetBackupSelectionResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: GetBackupSelectionResult.h:185
Aws::Backup::Model::GetBackupSelectionResult::WithBackupSelection
GetBackupSelectionResult & WithBackupSelection(const BackupSelection &value)
Definition: GetBackupSelectionResult.h:59
Aws::Backup::Model::GetBackupSelectionResult::GetBackupPlanId
const Aws::String & GetBackupPlanId() const
Definition: GetBackupSelectionResult.h:114
Aws::Backup::Model::GetBackupSelectionResult::GetSelectionId
const Aws::String & GetSelectionId() const
Definition: GetBackupSelectionResult.h:72
Aws::Backup::Model::GetBackupSelectionResult::SetCreatorRequestId
void SetCreatorRequestId(const char *value)
Definition: GetBackupSelectionResult.h:210