AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListCopyJobsRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/backup/model/CopyJobState.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Backup
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_BACKUP_API ListCopyJobsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListCopyJobs"; }
37
38 AWS_BACKUP_API Aws::String SerializePayload() const override;
39
40 AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
50 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
51 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
52 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
53 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
54 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
55 inline ListCopyJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
56 inline ListCopyJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
57 inline ListCopyJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
59
61
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListCopyJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
75 inline const Aws::String& GetByResourceArn() const{ return m_byResourceArn; }
76 inline bool ByResourceArnHasBeenSet() const { return m_byResourceArnHasBeenSet; }
77 inline void SetByResourceArn(const Aws::String& value) { m_byResourceArnHasBeenSet = true; m_byResourceArn = value; }
78 inline void SetByResourceArn(Aws::String&& value) { m_byResourceArnHasBeenSet = true; m_byResourceArn = std::move(value); }
79 inline void SetByResourceArn(const char* value) { m_byResourceArnHasBeenSet = true; m_byResourceArn.assign(value); }
80 inline ListCopyJobsRequest& WithByResourceArn(const Aws::String& value) { SetByResourceArn(value); return *this;}
81 inline ListCopyJobsRequest& WithByResourceArn(Aws::String&& value) { SetByResourceArn(std::move(value)); return *this;}
82 inline ListCopyJobsRequest& WithByResourceArn(const char* value) { SetByResourceArn(value); return *this;}
84
86
89 inline const CopyJobState& GetByState() const{ return m_byState; }
90 inline bool ByStateHasBeenSet() const { return m_byStateHasBeenSet; }
91 inline void SetByState(const CopyJobState& value) { m_byStateHasBeenSet = true; m_byState = value; }
92 inline void SetByState(CopyJobState&& value) { m_byStateHasBeenSet = true; m_byState = std::move(value); }
93 inline ListCopyJobsRequest& WithByState(const CopyJobState& value) { SetByState(value); return *this;}
94 inline ListCopyJobsRequest& WithByState(CopyJobState&& value) { SetByState(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetByCreatedBefore() const{ return m_byCreatedBefore; }
102 inline bool ByCreatedBeforeHasBeenSet() const { return m_byCreatedBeforeHasBeenSet; }
103 inline void SetByCreatedBefore(const Aws::Utils::DateTime& value) { m_byCreatedBeforeHasBeenSet = true; m_byCreatedBefore = value; }
104 inline void SetByCreatedBefore(Aws::Utils::DateTime&& value) { m_byCreatedBeforeHasBeenSet = true; m_byCreatedBefore = std::move(value); }
106 inline ListCopyJobsRequest& WithByCreatedBefore(Aws::Utils::DateTime&& value) { SetByCreatedBefore(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetByCreatedAfter() const{ return m_byCreatedAfter; }
114 inline bool ByCreatedAfterHasBeenSet() const { return m_byCreatedAfterHasBeenSet; }
115 inline void SetByCreatedAfter(const Aws::Utils::DateTime& value) { m_byCreatedAfterHasBeenSet = true; m_byCreatedAfter = value; }
116 inline void SetByCreatedAfter(Aws::Utils::DateTime&& value) { m_byCreatedAfterHasBeenSet = true; m_byCreatedAfter = std::move(value); }
118 inline ListCopyJobsRequest& WithByCreatedAfter(Aws::Utils::DateTime&& value) { SetByCreatedAfter(std::move(value)); return *this;}
120
122
141 inline const Aws::String& GetByResourceType() const{ return m_byResourceType; }
142 inline bool ByResourceTypeHasBeenSet() const { return m_byResourceTypeHasBeenSet; }
143 inline void SetByResourceType(const Aws::String& value) { m_byResourceTypeHasBeenSet = true; m_byResourceType = value; }
144 inline void SetByResourceType(Aws::String&& value) { m_byResourceTypeHasBeenSet = true; m_byResourceType = std::move(value); }
145 inline void SetByResourceType(const char* value) { m_byResourceTypeHasBeenSet = true; m_byResourceType.assign(value); }
146 inline ListCopyJobsRequest& WithByResourceType(const Aws::String& value) { SetByResourceType(value); return *this;}
147 inline ListCopyJobsRequest& WithByResourceType(Aws::String&& value) { SetByResourceType(std::move(value)); return *this;}
148 inline ListCopyJobsRequest& WithByResourceType(const char* value) { SetByResourceType(value); return *this;}
150
152
158 inline const Aws::String& GetByDestinationVaultArn() const{ return m_byDestinationVaultArn; }
159 inline bool ByDestinationVaultArnHasBeenSet() const { return m_byDestinationVaultArnHasBeenSet; }
160 inline void SetByDestinationVaultArn(const Aws::String& value) { m_byDestinationVaultArnHasBeenSet = true; m_byDestinationVaultArn = value; }
161 inline void SetByDestinationVaultArn(Aws::String&& value) { m_byDestinationVaultArnHasBeenSet = true; m_byDestinationVaultArn = std::move(value); }
162 inline void SetByDestinationVaultArn(const char* value) { m_byDestinationVaultArnHasBeenSet = true; m_byDestinationVaultArn.assign(value); }
164 inline ListCopyJobsRequest& WithByDestinationVaultArn(Aws::String&& value) { SetByDestinationVaultArn(std::move(value)); return *this;}
165 inline ListCopyJobsRequest& WithByDestinationVaultArn(const char* value) { SetByDestinationVaultArn(value); return *this;}
167
169
173 inline const Aws::String& GetByAccountId() const{ return m_byAccountId; }
174 inline bool ByAccountIdHasBeenSet() const { return m_byAccountIdHasBeenSet; }
175 inline void SetByAccountId(const Aws::String& value) { m_byAccountIdHasBeenSet = true; m_byAccountId = value; }
176 inline void SetByAccountId(Aws::String&& value) { m_byAccountIdHasBeenSet = true; m_byAccountId = std::move(value); }
177 inline void SetByAccountId(const char* value) { m_byAccountIdHasBeenSet = true; m_byAccountId.assign(value); }
178 inline ListCopyJobsRequest& WithByAccountId(const Aws::String& value) { SetByAccountId(value); return *this;}
179 inline ListCopyJobsRequest& WithByAccountId(Aws::String&& value) { SetByAccountId(std::move(value)); return *this;}
180 inline ListCopyJobsRequest& WithByAccountId(const char* value) { SetByAccountId(value); return *this;}
182
184
188 inline const Aws::Utils::DateTime& GetByCompleteBefore() const{ return m_byCompleteBefore; }
189 inline bool ByCompleteBeforeHasBeenSet() const { return m_byCompleteBeforeHasBeenSet; }
190 inline void SetByCompleteBefore(const Aws::Utils::DateTime& value) { m_byCompleteBeforeHasBeenSet = true; m_byCompleteBefore = value; }
191 inline void SetByCompleteBefore(Aws::Utils::DateTime&& value) { m_byCompleteBeforeHasBeenSet = true; m_byCompleteBefore = std::move(value); }
193 inline ListCopyJobsRequest& WithByCompleteBefore(Aws::Utils::DateTime&& value) { SetByCompleteBefore(std::move(value)); return *this;}
195
197
201 inline const Aws::Utils::DateTime& GetByCompleteAfter() const{ return m_byCompleteAfter; }
202 inline bool ByCompleteAfterHasBeenSet() const { return m_byCompleteAfterHasBeenSet; }
203 inline void SetByCompleteAfter(const Aws::Utils::DateTime& value) { m_byCompleteAfterHasBeenSet = true; m_byCompleteAfter = value; }
204 inline void SetByCompleteAfter(Aws::Utils::DateTime&& value) { m_byCompleteAfterHasBeenSet = true; m_byCompleteAfter = std::move(value); }
206 inline ListCopyJobsRequest& WithByCompleteAfter(Aws::Utils::DateTime&& value) { SetByCompleteAfter(std::move(value)); return *this;}
208
210
213 inline const Aws::String& GetByParentJobId() const{ return m_byParentJobId; }
214 inline bool ByParentJobIdHasBeenSet() const { return m_byParentJobIdHasBeenSet; }
215 inline void SetByParentJobId(const Aws::String& value) { m_byParentJobIdHasBeenSet = true; m_byParentJobId = value; }
216 inline void SetByParentJobId(Aws::String&& value) { m_byParentJobIdHasBeenSet = true; m_byParentJobId = std::move(value); }
217 inline void SetByParentJobId(const char* value) { m_byParentJobIdHasBeenSet = true; m_byParentJobId.assign(value); }
218 inline ListCopyJobsRequest& WithByParentJobId(const Aws::String& value) { SetByParentJobId(value); return *this;}
219 inline ListCopyJobsRequest& WithByParentJobId(Aws::String&& value) { SetByParentJobId(std::move(value)); return *this;}
220 inline ListCopyJobsRequest& WithByParentJobId(const char* value) { SetByParentJobId(value); return *this;}
222
224
234 inline const Aws::String& GetByMessageCategory() const{ return m_byMessageCategory; }
235 inline bool ByMessageCategoryHasBeenSet() const { return m_byMessageCategoryHasBeenSet; }
236 inline void SetByMessageCategory(const Aws::String& value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory = value; }
237 inline void SetByMessageCategory(Aws::String&& value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory = std::move(value); }
238 inline void SetByMessageCategory(const char* value) { m_byMessageCategoryHasBeenSet = true; m_byMessageCategory.assign(value); }
239 inline ListCopyJobsRequest& WithByMessageCategory(const Aws::String& value) { SetByMessageCategory(value); return *this;}
240 inline ListCopyJobsRequest& WithByMessageCategory(Aws::String&& value) { SetByMessageCategory(std::move(value)); return *this;}
241 inline ListCopyJobsRequest& WithByMessageCategory(const char* value) { SetByMessageCategory(value); return *this;}
243 private:
244
245 Aws::String m_nextToken;
246 bool m_nextTokenHasBeenSet = false;
247
248 int m_maxResults;
249 bool m_maxResultsHasBeenSet = false;
250
251 Aws::String m_byResourceArn;
252 bool m_byResourceArnHasBeenSet = false;
253
254 CopyJobState m_byState;
255 bool m_byStateHasBeenSet = false;
256
257 Aws::Utils::DateTime m_byCreatedBefore;
258 bool m_byCreatedBeforeHasBeenSet = false;
259
260 Aws::Utils::DateTime m_byCreatedAfter;
261 bool m_byCreatedAfterHasBeenSet = false;
262
263 Aws::String m_byResourceType;
264 bool m_byResourceTypeHasBeenSet = false;
265
266 Aws::String m_byDestinationVaultArn;
267 bool m_byDestinationVaultArnHasBeenSet = false;
268
269 Aws::String m_byAccountId;
270 bool m_byAccountIdHasBeenSet = false;
271
272 Aws::Utils::DateTime m_byCompleteBefore;
273 bool m_byCompleteBeforeHasBeenSet = false;
274
275 Aws::Utils::DateTime m_byCompleteAfter;
276 bool m_byCompleteAfterHasBeenSet = false;
277
278 Aws::String m_byParentJobId;
279 bool m_byParentJobIdHasBeenSet = false;
280
281 Aws::String m_byMessageCategory;
282 bool m_byMessageCategoryHasBeenSet = false;
283 };
284
285} // namespace Model
286} // namespace Backup
287} // namespace Aws
ListCopyJobsRequest & WithByAccountId(Aws::String &&value)
void SetByCompleteBefore(Aws::Utils::DateTime &&value)
ListCopyJobsRequest & WithByState(CopyJobState &&value)
ListCopyJobsRequest & WithByDestinationVaultArn(const char *value)
void SetByDestinationVaultArn(Aws::String &&value)
ListCopyJobsRequest & WithByResourceArn(Aws::String &&value)
ListCopyJobsRequest & WithByDestinationVaultArn(Aws::String &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
ListCopyJobsRequest & WithNextToken(Aws::String &&value)
ListCopyJobsRequest & WithByCreatedBefore(const Aws::Utils::DateTime &value)
ListCopyJobsRequest & WithByParentJobId(const Aws::String &value)
void SetByMessageCategory(const Aws::String &value)
ListCopyJobsRequest & WithByCreatedAfter(Aws::Utils::DateTime &&value)
void SetByState(const CopyJobState &value)
void SetByDestinationVaultArn(const Aws::String &value)
ListCopyJobsRequest & WithByResourceType(const Aws::String &value)
ListCopyJobsRequest & WithByDestinationVaultArn(const Aws::String &value)
ListCopyJobsRequest & WithByCompleteBefore(Aws::Utils::DateTime &&value)
void SetByCompleteAfter(const Aws::Utils::DateTime &value)
void SetByResourceType(const Aws::String &value)
const CopyJobState & GetByState() const
const Aws::Utils::DateTime & GetByCompleteBefore() const
ListCopyJobsRequest & WithByState(const CopyJobState &value)
AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListCopyJobsRequest & WithByMessageCategory(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListCopyJobsRequest & WithByAccountId(const Aws::String &value)
void SetByCreatedBefore(Aws::Utils::DateTime &&value)
const Aws::String & GetByResourceArn() const
ListCopyJobsRequest & WithByCompleteAfter(Aws::Utils::DateTime &&value)
ListCopyJobsRequest & WithByCreatedBefore(Aws::Utils::DateTime &&value)
void SetByCreatedAfter(Aws::Utils::DateTime &&value)
ListCopyJobsRequest & WithByCompleteBefore(const Aws::Utils::DateTime &value)
void SetByParentJobId(const Aws::String &value)
ListCopyJobsRequest & WithByParentJobId(const char *value)
void SetByResourceArn(const Aws::String &value)
ListCopyJobsRequest & WithByResourceType(const char *value)
ListCopyJobsRequest & WithByMessageCategory(const char *value)
const Aws::String & GetByParentJobId() const
ListCopyJobsRequest & WithByResourceArn(const Aws::String &value)
const Aws::Utils::DateTime & GetByCompleteAfter() const
ListCopyJobsRequest & WithByAccountId(const char *value)
ListCopyJobsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListCopyJobsRequest & WithByMessageCategory(Aws::String &&value)
const Aws::String & GetByResourceType() const
const Aws::Utils::DateTime & GetByCreatedAfter() const
void SetByCompleteBefore(const Aws::Utils::DateTime &value)
ListCopyJobsRequest & WithByResourceArn(const char *value)
void SetByCreatedAfter(const Aws::Utils::DateTime &value)
const Aws::String & GetByDestinationVaultArn() const
ListCopyJobsRequest & WithByCompleteAfter(const Aws::Utils::DateTime &value)
const Aws::String & GetByMessageCategory() const
void SetByCompleteAfter(Aws::Utils::DateTime &&value)
ListCopyJobsRequest & WithByParentJobId(Aws::String &&value)
ListCopyJobsRequest & WithNextToken(const Aws::String &value)
ListCopyJobsRequest & WithByResourceType(Aws::String &&value)
ListCopyJobsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetByCreatedBefore() const
ListCopyJobsRequest & WithByCreatedAfter(const Aws::Utils::DateTime &value)
void SetByCreatedBefore(const Aws::Utils::DateTime &value)
void SetByAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String