AWS SDK for C++  1.9.1
AWS SDK for C++
ListRecoveryPointsByResourceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Backup
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListRecoveryPointsByResource"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
46 
51  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
52 
57  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
58 
63  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
64 
69  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
70 
75  inline ListRecoveryPointsByResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
76 
81  inline ListRecoveryPointsByResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
82 
87  inline ListRecoveryPointsByResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
88 
89 
96  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 
104  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
105 
112  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 
120  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
121 
128  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
129 
136  inline ListRecoveryPointsByResourceRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
137 
144  inline ListRecoveryPointsByResourceRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
145 
152  inline ListRecoveryPointsByResourceRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
153 
154 
158  inline int GetMaxResults() const{ return m_maxResults; }
159 
163  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
164 
168  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
169 
173  inline ListRecoveryPointsByResourceRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
174 
175  private:
176 
177  Aws::String m_resourceArn;
178  bool m_resourceArnHasBeenSet;
179 
180  Aws::String m_nextToken;
181  bool m_nextTokenHasBeenSet;
182 
183  int m_maxResults;
184  bool m_maxResultsHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace Backup
189 } // namespace Aws
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::GetMaxResults
int GetMaxResults() const
Definition: ListRecoveryPointsByResourceRequest.h:158
Aws::Http::URI
Definition: URI.h:32
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListRecoveryPointsByResourceRequest.h:34
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Backup::Model::ListRecoveryPointsByResourceRequest
Definition: ListRecoveryPointsByResourceRequest.h:26
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListRecoveryPointsByResourceRequest.h:96
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithNextToken
ListRecoveryPointsByResourceRequest & WithNextToken(const Aws::String &value)
Definition: ListRecoveryPointsByResourceRequest.h:136
BackupRequest.h
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithResourceArn
ListRecoveryPointsByResourceRequest & WithResourceArn(const char *value)
Definition: ListRecoveryPointsByResourceRequest.h:87
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithNextToken
ListRecoveryPointsByResourceRequest & WithNextToken(const char *value)
Definition: ListRecoveryPointsByResourceRequest.h:152
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListRecoveryPointsByResourceRequest.h:120
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListRecoveryPointsByResourceRequest.h:163
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithMaxResults
ListRecoveryPointsByResourceRequest & WithMaxResults(int value)
Definition: ListRecoveryPointsByResourceRequest.h:173
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListRecoveryPointsByResourceRequest.h:168
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: ListRecoveryPointsByResourceRequest.h:69
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithResourceArn
ListRecoveryPointsByResourceRequest & WithResourceArn(Aws::String &&value)
Definition: ListRecoveryPointsByResourceRequest.h:81
Aws::Backup::BackupRequest
Definition: BackupRequest.h:17
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::ListRecoveryPointsByResourceRequest
ListRecoveryPointsByResourceRequest()
AWSString.h
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: ListRecoveryPointsByResourceRequest.h:45
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListRecoveryPointsByResourceRequest.h:128
Backup_EXPORTS.h
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: ListRecoveryPointsByResourceRequest.h:63
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListRecoveryPointsByResourceRequest.h:104
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: ListRecoveryPointsByResourceRequest.h:57
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: ListRecoveryPointsByResourceRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithResourceArn
ListRecoveryPointsByResourceRequest & WithResourceArn(const Aws::String &value)
Definition: ListRecoveryPointsByResourceRequest.h:75
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListRecoveryPointsByResourceRequest.h:112
Aws::Backup::Model::ListRecoveryPointsByResourceRequest::WithNextToken
ListRecoveryPointsByResourceRequest & WithNextToken(Aws::String &&value)
Definition: ListRecoveryPointsByResourceRequest.h:144