AWS SDK for C++  1.8.152
AWS SDK for C++
ListRecoveryPointsByBackupVaultRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Backup
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListRecoveryPointsByBackupVault"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
48  inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
49 
56  inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
57 
64  inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
65 
72  inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
73 
80  inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
81 
88  inline ListRecoveryPointsByBackupVaultRequest& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
89 
96  inline ListRecoveryPointsByBackupVaultRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
97 
104  inline ListRecoveryPointsByBackupVaultRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
105 
106 
113  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
114 
121  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
122 
129  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 
137  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
138 
145  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
146 
153  inline ListRecoveryPointsByBackupVaultRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154 
161  inline ListRecoveryPointsByBackupVaultRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
162 
169  inline ListRecoveryPointsByBackupVaultRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
170 
171 
175  inline int GetMaxResults() const{ return m_maxResults; }
176 
180  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
181 
185  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
186 
190  inline ListRecoveryPointsByBackupVaultRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
191 
192 
197  inline const Aws::String& GetByResourceArn() const{ return m_byResourceArn; }
198 
203  inline bool ByResourceArnHasBeenSet() const { return m_byResourceArnHasBeenSet; }
204 
209  inline void SetByResourceArn(const Aws::String& value) { m_byResourceArnHasBeenSet = true; m_byResourceArn = value; }
210 
215  inline void SetByResourceArn(Aws::String&& value) { m_byResourceArnHasBeenSet = true; m_byResourceArn = std::move(value); }
216 
221  inline void SetByResourceArn(const char* value) { m_byResourceArnHasBeenSet = true; m_byResourceArn.assign(value); }
222 
227  inline ListRecoveryPointsByBackupVaultRequest& WithByResourceArn(const Aws::String& value) { SetByResourceArn(value); return *this;}
228 
233  inline ListRecoveryPointsByBackupVaultRequest& WithByResourceArn(Aws::String&& value) { SetByResourceArn(std::move(value)); return *this;}
234 
239  inline ListRecoveryPointsByBackupVaultRequest& WithByResourceArn(const char* value) { SetByResourceArn(value); return *this;}
240 
241 
245  inline const Aws::String& GetByResourceType() const{ return m_byResourceType; }
246 
250  inline bool ByResourceTypeHasBeenSet() const { return m_byResourceTypeHasBeenSet; }
251 
255  inline void SetByResourceType(const Aws::String& value) { m_byResourceTypeHasBeenSet = true; m_byResourceType = value; }
256 
260  inline void SetByResourceType(Aws::String&& value) { m_byResourceTypeHasBeenSet = true; m_byResourceType = std::move(value); }
261 
265  inline void SetByResourceType(const char* value) { m_byResourceTypeHasBeenSet = true; m_byResourceType.assign(value); }
266 
270  inline ListRecoveryPointsByBackupVaultRequest& WithByResourceType(const Aws::String& value) { SetByResourceType(value); return *this;}
271 
275  inline ListRecoveryPointsByBackupVaultRequest& WithByResourceType(Aws::String&& value) { SetByResourceType(std::move(value)); return *this;}
276 
280  inline ListRecoveryPointsByBackupVaultRequest& WithByResourceType(const char* value) { SetByResourceType(value); return *this;}
281 
282 
286  inline const Aws::String& GetByBackupPlanId() const{ return m_byBackupPlanId; }
287 
291  inline bool ByBackupPlanIdHasBeenSet() const { return m_byBackupPlanIdHasBeenSet; }
292 
296  inline void SetByBackupPlanId(const Aws::String& value) { m_byBackupPlanIdHasBeenSet = true; m_byBackupPlanId = value; }
297 
301  inline void SetByBackupPlanId(Aws::String&& value) { m_byBackupPlanIdHasBeenSet = true; m_byBackupPlanId = std::move(value); }
302 
306  inline void SetByBackupPlanId(const char* value) { m_byBackupPlanIdHasBeenSet = true; m_byBackupPlanId.assign(value); }
307 
311  inline ListRecoveryPointsByBackupVaultRequest& WithByBackupPlanId(const Aws::String& value) { SetByBackupPlanId(value); return *this;}
312 
316  inline ListRecoveryPointsByBackupVaultRequest& WithByBackupPlanId(Aws::String&& value) { SetByBackupPlanId(std::move(value)); return *this;}
317 
321  inline ListRecoveryPointsByBackupVaultRequest& WithByBackupPlanId(const char* value) { SetByBackupPlanId(value); return *this;}
322 
323 
328  inline const Aws::Utils::DateTime& GetByCreatedBefore() const{ return m_byCreatedBefore; }
329 
334  inline bool ByCreatedBeforeHasBeenSet() const { return m_byCreatedBeforeHasBeenSet; }
335 
340  inline void SetByCreatedBefore(const Aws::Utils::DateTime& value) { m_byCreatedBeforeHasBeenSet = true; m_byCreatedBefore = value; }
341 
346  inline void SetByCreatedBefore(Aws::Utils::DateTime&& value) { m_byCreatedBeforeHasBeenSet = true; m_byCreatedBefore = std::move(value); }
347 
352  inline ListRecoveryPointsByBackupVaultRequest& WithByCreatedBefore(const Aws::Utils::DateTime& value) { SetByCreatedBefore(value); return *this;}
353 
358  inline ListRecoveryPointsByBackupVaultRequest& WithByCreatedBefore(Aws::Utils::DateTime&& value) { SetByCreatedBefore(std::move(value)); return *this;}
359 
360 
365  inline const Aws::Utils::DateTime& GetByCreatedAfter() const{ return m_byCreatedAfter; }
366 
371  inline bool ByCreatedAfterHasBeenSet() const { return m_byCreatedAfterHasBeenSet; }
372 
377  inline void SetByCreatedAfter(const Aws::Utils::DateTime& value) { m_byCreatedAfterHasBeenSet = true; m_byCreatedAfter = value; }
378 
383  inline void SetByCreatedAfter(Aws::Utils::DateTime&& value) { m_byCreatedAfterHasBeenSet = true; m_byCreatedAfter = std::move(value); }
384 
389  inline ListRecoveryPointsByBackupVaultRequest& WithByCreatedAfter(const Aws::Utils::DateTime& value) { SetByCreatedAfter(value); return *this;}
390 
395  inline ListRecoveryPointsByBackupVaultRequest& WithByCreatedAfter(Aws::Utils::DateTime&& value) { SetByCreatedAfter(std::move(value)); return *this;}
396 
397  private:
398 
399  Aws::String m_backupVaultName;
400  bool m_backupVaultNameHasBeenSet;
401 
402  Aws::String m_nextToken;
403  bool m_nextTokenHasBeenSet;
404 
405  int m_maxResults;
406  bool m_maxResultsHasBeenSet;
407 
408  Aws::String m_byResourceArn;
409  bool m_byResourceArnHasBeenSet;
410 
411  Aws::String m_byResourceType;
412  bool m_byResourceTypeHasBeenSet;
413 
414  Aws::String m_byBackupPlanId;
415  bool m_byBackupPlanIdHasBeenSet;
416 
417  Aws::Utils::DateTime m_byCreatedBefore;
418  bool m_byCreatedBeforeHasBeenSet;
419 
420  Aws::Utils::DateTime m_byCreatedAfter;
421  bool m_byCreatedAfterHasBeenSet;
422  };
423 
424 } // namespace Model
425 } // namespace Backup
426 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByResourceArn
ListRecoveryPointsByBackupVaultRequest & WithByResourceArn(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:239
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByBackupPlanId
void SetByBackupPlanId(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:296
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByBackupPlanId
ListRecoveryPointsByBackupVaultRequest & WithByBackupPlanId(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:321
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:185
Aws::Http::URI
Definition: URI.h:32
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithBackupVaultName
ListRecoveryPointsByBackupVaultRequest & WithBackupVaultName(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:88
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetByResourceArn
const Aws::String & GetByResourceArn() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:197
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithNextToken
ListRecoveryPointsByBackupVaultRequest & WithNextToken(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:161
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByResourceType
ListRecoveryPointsByBackupVaultRequest & WithByResourceType(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:270
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
DateTime.h
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest
Definition: ListRecoveryPointsByBackupVaultRequest.h:27
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByResourceArn
void SetByResourceArn(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:215
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::ByCreatedAfterHasBeenSet
bool ByCreatedAfterHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:371
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByCreatedBefore
void SetByCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:346
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByResourceType
ListRecoveryPointsByBackupVaultRequest & WithByResourceType(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:275
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByBackupPlanId
void SetByBackupPlanId(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:306
BackupRequest.h
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByResourceArn
void SetByResourceArn(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:221
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::ListRecoveryPointsByBackupVaultRequest
ListRecoveryPointsByBackupVaultRequest()
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByBackupPlanId
ListRecoveryPointsByBackupVaultRequest & WithByBackupPlanId(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:311
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByCreatedAfter
void SetByCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:383
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByCreatedBefore
ListRecoveryPointsByBackupVaultRequest & WithByCreatedBefore(Aws::Utils::DateTime &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:358
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetBackupVaultName
void SetBackupVaultName(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:72
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:121
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByResourceArn
ListRecoveryPointsByBackupVaultRequest & WithByResourceArn(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:233
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByResourceType
void SetByResourceType(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:260
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetByResourceType
const Aws::String & GetByResourceType() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:245
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByCreatedAfter
ListRecoveryPointsByBackupVaultRequest & WithByCreatedAfter(Aws::Utils::DateTime &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:395
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::ByResourceTypeHasBeenSet
bool ByResourceTypeHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:250
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetMaxResults
int GetMaxResults() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:175
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByResourceArn
ListRecoveryPointsByBackupVaultRequest & WithByResourceArn(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:227
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByCreatedBefore
ListRecoveryPointsByBackupVaultRequest & WithByCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:352
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithBackupVaultName
ListRecoveryPointsByBackupVaultRequest & WithBackupVaultName(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:104
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithNextToken
ListRecoveryPointsByBackupVaultRequest & WithNextToken(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:169
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetByCreatedAfter
const Aws::Utils::DateTime & GetByCreatedAfter() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:365
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:113
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithNextToken
ListRecoveryPointsByBackupVaultRequest & WithNextToken(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:153
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::ByBackupPlanIdHasBeenSet
bool ByBackupPlanIdHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:291
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetBackupVaultName
void SetBackupVaultName(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:64
AWSString.h
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetBackupVaultName
void SetBackupVaultName(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:80
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByResourceType
void SetByResourceType(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:255
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::ByCreatedBeforeHasBeenSet
bool ByCreatedBeforeHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:334
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetByBackupPlanId
const Aws::String & GetByBackupPlanId() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:286
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithMaxResults
ListRecoveryPointsByBackupVaultRequest & WithMaxResults(int value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:190
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByBackupPlanId
ListRecoveryPointsByBackupVaultRequest & WithByBackupPlanId(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:316
Backup_EXPORTS.h
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetByCreatedBefore
const Aws::Utils::DateTime & GetByCreatedBefore() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:328
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByResourceType
ListRecoveryPointsByBackupVaultRequest & WithByResourceType(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:280
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:137
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByCreatedAfter
void SetByCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:377
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:145
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:180
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::BackupVaultNameHasBeenSet
bool BackupVaultNameHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:56
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByBackupPlanId
void SetByBackupPlanId(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:301
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:129
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRecoveryPointsByBackupVaultRequest.h:35
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByResourceType
void SetByResourceType(const char *value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:265
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithByCreatedAfter
ListRecoveryPointsByBackupVaultRequest & WithByCreatedAfter(const Aws::Utils::DateTime &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:389
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::WithBackupVaultName
ListRecoveryPointsByBackupVaultRequest & WithBackupVaultName(Aws::String &&value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:96
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::ByResourceArnHasBeenSet
bool ByResourceArnHasBeenSet() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:203
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByCreatedBefore
void SetByCreatedBefore(const Aws::Utils::DateTime &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:340
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::SetByResourceArn
void SetByResourceArn(const Aws::String &value)
Definition: ListRecoveryPointsByBackupVaultRequest.h:209
Aws::Backup::Model::ListRecoveryPointsByBackupVaultRequest::GetBackupVaultName
const Aws::String & GetBackupVaultName() const
Definition: ListRecoveryPointsByBackupVaultRequest.h:48