1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 14 namespace Aws 15 { 16 namespace Http 17 { 18 class URI; 19 } //namespace Http 20 namespace Backup 21 { 22 namespace Model 23 { 24 25 /** 26 */ 27 class AWS_BACKUP_API ListCopyJobsRequest : public BackupRequest 28 { 29 public: 30 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. GetServiceRequestName()36 inline virtual const char* GetServiceRequestName() const override { return "ListCopyJobs"; } 37 38 Aws::String SerializePayload() const override; 39 40 void AddQueryStringParameters(Aws::Http::URI& uri) const override; 41 42 43 /** 44 * <p>The next item following a partial list of returned items. For example, if a 45 * request is made to return maxResults number of items, NextToken allows you to 46 * return more items in your list starting at the location pointed to by the next 47 * token. </p> 48 */ GetNextToken()49 inline const Aws::String& GetNextToken() const{ return m_nextToken; } 50 51 /** 52 * <p>The next item following a partial list of returned items. For example, if a 53 * request is made to return maxResults number of items, NextToken allows you to 54 * return more items in your list starting at the location pointed to by the next 55 * token. </p> 56 */ NextTokenHasBeenSet()57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } 58 59 /** 60 * <p>The next item following a partial list of returned items. For example, if a 61 * request is made to return maxResults number of items, NextToken allows you to 62 * return more items in your list starting at the location pointed to by the next 63 * token. </p> 64 */ SetNextToken(const Aws::String & value)65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } 66 67 /** 68 * <p>The next item following a partial list of returned items. For example, if a 69 * request is made to return maxResults number of items, NextToken allows you to 70 * return more items in your list starting at the location pointed to by the next 71 * token. </p> 72 */ SetNextToken(Aws::String && value)73 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } 74 75 /** 76 * <p>The next item following a partial list of returned items. For example, if a 77 * request is made to return maxResults number of items, NextToken allows you to 78 * return more items in your list starting at the location pointed to by the next 79 * token. </p> 80 */ SetNextToken(const char * value)81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } 82 83 /** 84 * <p>The next item following a partial list of returned items. For example, if a 85 * request is made to return maxResults number of items, NextToken allows you to 86 * return more items in your list starting at the location pointed to by the next 87 * token. </p> 88 */ WithNextToken(const Aws::String & value)89 inline ListCopyJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} 90 91 /** 92 * <p>The next item following a partial list of returned items. For example, if a 93 * request is made to return maxResults number of items, NextToken allows you to 94 * return more items in your list starting at the location pointed to by the next 95 * token. </p> 96 */ WithNextToken(Aws::String && value)97 inline ListCopyJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} 98 99 /** 100 * <p>The next item following a partial list of returned items. For example, if a 101 * request is made to return maxResults number of items, NextToken allows you to 102 * return more items in your list starting at the location pointed to by the next 103 * token. </p> 104 */ WithNextToken(const char * value)105 inline ListCopyJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} 106 107 108 /** 109 * <p>The maximum number of items to be returned.</p> 110 */ GetMaxResults()111 inline int GetMaxResults() const{ return m_maxResults; } 112 113 /** 114 * <p>The maximum number of items to be returned.</p> 115 */ MaxResultsHasBeenSet()116 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } 117 118 /** 119 * <p>The maximum number of items to be returned.</p> 120 */ SetMaxResults(int value)121 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } 122 123 /** 124 * <p>The maximum number of items to be returned.</p> 125 */ WithMaxResults(int value)126 inline ListCopyJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} 127 128 129 /** 130 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 131 * (ARN). </p> 132 */ GetByResourceArn()133 inline const Aws::String& GetByResourceArn() const{ return m_byResourceArn; } 134 135 /** 136 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 137 * (ARN). </p> 138 */ ByResourceArnHasBeenSet()139 inline bool ByResourceArnHasBeenSet() const { return m_byResourceArnHasBeenSet; } 140 141 /** 142 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 143 * (ARN). </p> 144 */ SetByResourceArn(const Aws::String & value)145 inline void SetByResourceArn(const Aws::String& value) { m_byResourceArnHasBeenSet = true; m_byResourceArn = value; } 146 147 /** 148 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 149 * (ARN). </p> 150 */ SetByResourceArn(Aws::String && value)151 inline void SetByResourceArn(Aws::String&& value) { m_byResourceArnHasBeenSet = true; m_byResourceArn = std::move(value); } 152 153 /** 154 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 155 * (ARN). </p> 156 */ SetByResourceArn(const char * value)157 inline void SetByResourceArn(const char* value) { m_byResourceArnHasBeenSet = true; m_byResourceArn.assign(value); } 158 159 /** 160 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 161 * (ARN). </p> 162 */ WithByResourceArn(const Aws::String & value)163 inline ListCopyJobsRequest& WithByResourceArn(const Aws::String& value) { SetByResourceArn(value); return *this;} 164 165 /** 166 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 167 * (ARN). </p> 168 */ WithByResourceArn(Aws::String && value)169 inline ListCopyJobsRequest& WithByResourceArn(Aws::String&& value) { SetByResourceArn(std::move(value)); return *this;} 170 171 /** 172 * <p>Returns only copy jobs that match the specified resource Amazon Resource Name 173 * (ARN). </p> 174 */ WithByResourceArn(const char * value)175 inline ListCopyJobsRequest& WithByResourceArn(const char* value) { SetByResourceArn(value); return *this;} 176 177 178 /** 179 * <p>Returns only copy jobs that are in the specified state.</p> 180 */ GetByState()181 inline const CopyJobState& GetByState() const{ return m_byState; } 182 183 /** 184 * <p>Returns only copy jobs that are in the specified state.</p> 185 */ ByStateHasBeenSet()186 inline bool ByStateHasBeenSet() const { return m_byStateHasBeenSet; } 187 188 /** 189 * <p>Returns only copy jobs that are in the specified state.</p> 190 */ SetByState(const CopyJobState & value)191 inline void SetByState(const CopyJobState& value) { m_byStateHasBeenSet = true; m_byState = value; } 192 193 /** 194 * <p>Returns only copy jobs that are in the specified state.</p> 195 */ SetByState(CopyJobState && value)196 inline void SetByState(CopyJobState&& value) { m_byStateHasBeenSet = true; m_byState = std::move(value); } 197 198 /** 199 * <p>Returns only copy jobs that are in the specified state.</p> 200 */ WithByState(const CopyJobState & value)201 inline ListCopyJobsRequest& WithByState(const CopyJobState& value) { SetByState(value); return *this;} 202 203 /** 204 * <p>Returns only copy jobs that are in the specified state.</p> 205 */ WithByState(CopyJobState && value)206 inline ListCopyJobsRequest& WithByState(CopyJobState&& value) { SetByState(std::move(value)); return *this;} 207 208 209 /** 210 * <p>Returns only copy jobs that were created before the specified date.</p> 211 */ GetByCreatedBefore()212 inline const Aws::Utils::DateTime& GetByCreatedBefore() const{ return m_byCreatedBefore; } 213 214 /** 215 * <p>Returns only copy jobs that were created before the specified date.</p> 216 */ ByCreatedBeforeHasBeenSet()217 inline bool ByCreatedBeforeHasBeenSet() const { return m_byCreatedBeforeHasBeenSet; } 218 219 /** 220 * <p>Returns only copy jobs that were created before the specified date.</p> 221 */ SetByCreatedBefore(const Aws::Utils::DateTime & value)222 inline void SetByCreatedBefore(const Aws::Utils::DateTime& value) { m_byCreatedBeforeHasBeenSet = true; m_byCreatedBefore = value; } 223 224 /** 225 * <p>Returns only copy jobs that were created before the specified date.</p> 226 */ SetByCreatedBefore(Aws::Utils::DateTime && value)227 inline void SetByCreatedBefore(Aws::Utils::DateTime&& value) { m_byCreatedBeforeHasBeenSet = true; m_byCreatedBefore = std::move(value); } 228 229 /** 230 * <p>Returns only copy jobs that were created before the specified date.</p> 231 */ WithByCreatedBefore(const Aws::Utils::DateTime & value)232 inline ListCopyJobsRequest& WithByCreatedBefore(const Aws::Utils::DateTime& value) { SetByCreatedBefore(value); return *this;} 233 234 /** 235 * <p>Returns only copy jobs that were created before the specified date.</p> 236 */ WithByCreatedBefore(Aws::Utils::DateTime && value)237 inline ListCopyJobsRequest& WithByCreatedBefore(Aws::Utils::DateTime&& value) { SetByCreatedBefore(std::move(value)); return *this;} 238 239 240 /** 241 * <p>Returns only copy jobs that were created after the specified date.</p> 242 */ GetByCreatedAfter()243 inline const Aws::Utils::DateTime& GetByCreatedAfter() const{ return m_byCreatedAfter; } 244 245 /** 246 * <p>Returns only copy jobs that were created after the specified date.</p> 247 */ ByCreatedAfterHasBeenSet()248 inline bool ByCreatedAfterHasBeenSet() const { return m_byCreatedAfterHasBeenSet; } 249 250 /** 251 * <p>Returns only copy jobs that were created after the specified date.</p> 252 */ SetByCreatedAfter(const Aws::Utils::DateTime & value)253 inline void SetByCreatedAfter(const Aws::Utils::DateTime& value) { m_byCreatedAfterHasBeenSet = true; m_byCreatedAfter = value; } 254 255 /** 256 * <p>Returns only copy jobs that were created after the specified date.</p> 257 */ SetByCreatedAfter(Aws::Utils::DateTime && value)258 inline void SetByCreatedAfter(Aws::Utils::DateTime&& value) { m_byCreatedAfterHasBeenSet = true; m_byCreatedAfter = std::move(value); } 259 260 /** 261 * <p>Returns only copy jobs that were created after the specified date.</p> 262 */ WithByCreatedAfter(const Aws::Utils::DateTime & value)263 inline ListCopyJobsRequest& WithByCreatedAfter(const Aws::Utils::DateTime& value) { SetByCreatedAfter(value); return *this;} 264 265 /** 266 * <p>Returns only copy jobs that were created after the specified date.</p> 267 */ WithByCreatedAfter(Aws::Utils::DateTime && value)268 inline ListCopyJobsRequest& WithByCreatedAfter(Aws::Utils::DateTime&& value) { SetByCreatedAfter(std::move(value)); return *this;} 269 270 271 /** 272 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 273 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 274 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 275 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 276 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 277 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 278 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 279 */ GetByResourceType()280 inline const Aws::String& GetByResourceType() const{ return m_byResourceType; } 281 282 /** 283 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 284 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 285 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 286 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 287 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 288 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 289 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 290 */ ByResourceTypeHasBeenSet()291 inline bool ByResourceTypeHasBeenSet() const { return m_byResourceTypeHasBeenSet; } 292 293 /** 294 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 295 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 296 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 297 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 298 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 299 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 300 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 301 */ SetByResourceType(const Aws::String & value)302 inline void SetByResourceType(const Aws::String& value) { m_byResourceTypeHasBeenSet = true; m_byResourceType = value; } 303 304 /** 305 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 306 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 307 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 308 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 309 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 310 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 311 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 312 */ SetByResourceType(Aws::String && value)313 inline void SetByResourceType(Aws::String&& value) { m_byResourceTypeHasBeenSet = true; m_byResourceType = std::move(value); } 314 315 /** 316 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 317 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 318 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 319 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 320 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 321 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 322 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 323 */ SetByResourceType(const char * value)324 inline void SetByResourceType(const char* value) { m_byResourceTypeHasBeenSet = true; m_byResourceType.assign(value); } 325 326 /** 327 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 328 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 329 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 330 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 331 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 332 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 333 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 334 */ WithByResourceType(const Aws::String & value)335 inline ListCopyJobsRequest& WithByResourceType(const Aws::String& value) { SetByResourceType(value); return *this;} 336 337 /** 338 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 339 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 340 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 341 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 342 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 343 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 344 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 345 */ WithByResourceType(Aws::String && value)346 inline ListCopyJobsRequest& WithByResourceType(Aws::String&& value) { SetByResourceType(std::move(value)); return *this;} 347 348 /** 349 * <p>Returns only backup jobs for the specified resources:</p> <ul> <li> <p> 350 * <code>DynamoDB</code> for Amazon DynamoDB</p> </li> <li> <p> <code>EBS</code> 351 * for Amazon Elastic Block Store</p> </li> <li> <p> <code>EC2</code> for Amazon 352 * Elastic Compute Cloud</p> </li> <li> <p> <code>EFS</code> for Amazon Elastic 353 * File System</p> </li> <li> <p> <code>RDS</code> for Amazon Relational Database 354 * Service</p> </li> <li> <p> <code>Aurora</code> for Amazon Aurora</p> </li> <li> 355 * <p> <code>Storage Gateway</code> for Storage Gateway</p> </li> </ul> 356 */ WithByResourceType(const char * value)357 inline ListCopyJobsRequest& WithByResourceType(const char* value) { SetByResourceType(value); return *this;} 358 359 360 /** 361 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 362 * to copy from; for example, 363 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 364 */ GetByDestinationVaultArn()365 inline const Aws::String& GetByDestinationVaultArn() const{ return m_byDestinationVaultArn; } 366 367 /** 368 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 369 * to copy from; for example, 370 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 371 */ ByDestinationVaultArnHasBeenSet()372 inline bool ByDestinationVaultArnHasBeenSet() const { return m_byDestinationVaultArnHasBeenSet; } 373 374 /** 375 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 376 * to copy from; for example, 377 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 378 */ SetByDestinationVaultArn(const Aws::String & value)379 inline void SetByDestinationVaultArn(const Aws::String& value) { m_byDestinationVaultArnHasBeenSet = true; m_byDestinationVaultArn = value; } 380 381 /** 382 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 383 * to copy from; for example, 384 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 385 */ SetByDestinationVaultArn(Aws::String && value)386 inline void SetByDestinationVaultArn(Aws::String&& value) { m_byDestinationVaultArnHasBeenSet = true; m_byDestinationVaultArn = std::move(value); } 387 388 /** 389 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 390 * to copy from; for example, 391 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 392 */ SetByDestinationVaultArn(const char * value)393 inline void SetByDestinationVaultArn(const char* value) { m_byDestinationVaultArnHasBeenSet = true; m_byDestinationVaultArn.assign(value); } 394 395 /** 396 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 397 * to copy from; for example, 398 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 399 */ WithByDestinationVaultArn(const Aws::String & value)400 inline ListCopyJobsRequest& WithByDestinationVaultArn(const Aws::String& value) { SetByDestinationVaultArn(value); return *this;} 401 402 /** 403 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 404 * to copy from; for example, 405 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 406 */ WithByDestinationVaultArn(Aws::String && value)407 inline ListCopyJobsRequest& WithByDestinationVaultArn(Aws::String&& value) { SetByDestinationVaultArn(std::move(value)); return *this;} 408 409 /** 410 * <p>An Amazon Resource Name (ARN) that uniquely identifies a source backup vault 411 * to copy from; for example, 412 * <code>arn:aws:backup:us-east-1:123456789012:vault:aBackupVault</code>. </p> 413 */ WithByDestinationVaultArn(const char * value)414 inline ListCopyJobsRequest& WithByDestinationVaultArn(const char* value) { SetByDestinationVaultArn(value); return *this;} 415 416 417 /** 418 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 419 * the specified account ID.</p> 420 */ GetByAccountId()421 inline const Aws::String& GetByAccountId() const{ return m_byAccountId; } 422 423 /** 424 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 425 * the specified account ID.</p> 426 */ ByAccountIdHasBeenSet()427 inline bool ByAccountIdHasBeenSet() const { return m_byAccountIdHasBeenSet; } 428 429 /** 430 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 431 * the specified account ID.</p> 432 */ SetByAccountId(const Aws::String & value)433 inline void SetByAccountId(const Aws::String& value) { m_byAccountIdHasBeenSet = true; m_byAccountId = value; } 434 435 /** 436 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 437 * the specified account ID.</p> 438 */ SetByAccountId(Aws::String && value)439 inline void SetByAccountId(Aws::String&& value) { m_byAccountIdHasBeenSet = true; m_byAccountId = std::move(value); } 440 441 /** 442 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 443 * the specified account ID.</p> 444 */ SetByAccountId(const char * value)445 inline void SetByAccountId(const char* value) { m_byAccountIdHasBeenSet = true; m_byAccountId.assign(value); } 446 447 /** 448 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 449 * the specified account ID.</p> 450 */ WithByAccountId(const Aws::String & value)451 inline ListCopyJobsRequest& WithByAccountId(const Aws::String& value) { SetByAccountId(value); return *this;} 452 453 /** 454 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 455 * the specified account ID.</p> 456 */ WithByAccountId(Aws::String && value)457 inline ListCopyJobsRequest& WithByAccountId(Aws::String&& value) { SetByAccountId(std::move(value)); return *this;} 458 459 /** 460 * <p>The account ID to list the jobs from. Returns only copy jobs associated with 461 * the specified account ID.</p> 462 */ WithByAccountId(const char * value)463 inline ListCopyJobsRequest& WithByAccountId(const char* value) { SetByAccountId(value); return *this;} 464 465 private: 466 467 Aws::String m_nextToken; 468 bool m_nextTokenHasBeenSet; 469 470 int m_maxResults; 471 bool m_maxResultsHasBeenSet; 472 473 Aws::String m_byResourceArn; 474 bool m_byResourceArnHasBeenSet; 475 476 CopyJobState m_byState; 477 bool m_byStateHasBeenSet; 478 479 Aws::Utils::DateTime m_byCreatedBefore; 480 bool m_byCreatedBeforeHasBeenSet; 481 482 Aws::Utils::DateTime m_byCreatedAfter; 483 bool m_byCreatedAfterHasBeenSet; 484 485 Aws::String m_byResourceType; 486 bool m_byResourceTypeHasBeenSet; 487 488 Aws::String m_byDestinationVaultArn; 489 bool m_byDestinationVaultArnHasBeenSet; 490 491 Aws::String m_byAccountId; 492 bool m_byAccountIdHasBeenSet; 493 }; 494 495 } // namespace Model 496 } // namespace Backup 497 } // namespace Aws 498