AWS SDK for C++  1.9.104
AWS SDK for C++
StartExportTaskRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RDS
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "StartExportTask"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
44  inline const Aws::String& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; }
45 
50  inline bool ExportTaskIdentifierHasBeenSet() const { return m_exportTaskIdentifierHasBeenSet; }
51 
56  inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = value; }
57 
62  inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::move(value); }
63 
68  inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier.assign(value); }
69 
74  inline StartExportTaskRequest& WithExportTaskIdentifier(const Aws::String& value) { SetExportTaskIdentifier(value); return *this;}
75 
80  inline StartExportTaskRequest& WithExportTaskIdentifier(Aws::String&& value) { SetExportTaskIdentifier(std::move(value)); return *this;}
81 
86  inline StartExportTaskRequest& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;}
87 
88 
92  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
93 
97  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
98 
102  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
103 
107  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
108 
112  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
113 
117  inline StartExportTaskRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
118 
122  inline StartExportTaskRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
123 
127  inline StartExportTaskRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
128 
129 
133  inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
134 
138  inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
139 
143  inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
144 
148  inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
149 
153  inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
154 
158  inline StartExportTaskRequest& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
159 
163  inline StartExportTaskRequest& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
164 
168  inline StartExportTaskRequest& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
169 
170 
175  inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
176 
181  inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
182 
187  inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
188 
193  inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
194 
199  inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
200 
205  inline StartExportTaskRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
206 
211  inline StartExportTaskRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
212 
217  inline StartExportTaskRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
218 
219 
235  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
236 
252  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
253 
269  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
270 
286  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
287 
303  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
304 
320  inline StartExportTaskRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
321 
337  inline StartExportTaskRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
338 
354  inline StartExportTaskRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
355 
356 
361  inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
362 
367  inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
368 
373  inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
374 
379  inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
380 
385  inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
386 
391  inline StartExportTaskRequest& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
392 
397  inline StartExportTaskRequest& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
398 
403  inline StartExportTaskRequest& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
404 
405 
419  inline const Aws::Vector<Aws::String>& GetExportOnly() const{ return m_exportOnly; }
420 
434  inline bool ExportOnlyHasBeenSet() const { return m_exportOnlyHasBeenSet; }
435 
449  inline void SetExportOnly(const Aws::Vector<Aws::String>& value) { m_exportOnlyHasBeenSet = true; m_exportOnly = value; }
450 
464  inline void SetExportOnly(Aws::Vector<Aws::String>&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly = std::move(value); }
465 
479  inline StartExportTaskRequest& WithExportOnly(const Aws::Vector<Aws::String>& value) { SetExportOnly(value); return *this;}
480 
494  inline StartExportTaskRequest& WithExportOnly(Aws::Vector<Aws::String>&& value) { SetExportOnly(std::move(value)); return *this;}
495 
509  inline StartExportTaskRequest& AddExportOnly(const Aws::String& value) { m_exportOnlyHasBeenSet = true; m_exportOnly.push_back(value); return *this; }
510 
524  inline StartExportTaskRequest& AddExportOnly(Aws::String&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly.push_back(std::move(value)); return *this; }
525 
539  inline StartExportTaskRequest& AddExportOnly(const char* value) { m_exportOnlyHasBeenSet = true; m_exportOnly.push_back(value); return *this; }
540 
541  private:
542 
543  Aws::String m_exportTaskIdentifier;
544  bool m_exportTaskIdentifierHasBeenSet;
545 
546  Aws::String m_sourceArn;
547  bool m_sourceArnHasBeenSet;
548 
549  Aws::String m_s3BucketName;
550  bool m_s3BucketNameHasBeenSet;
551 
552  Aws::String m_iamRoleArn;
553  bool m_iamRoleArnHasBeenSet;
554 
555  Aws::String m_kmsKeyId;
556  bool m_kmsKeyIdHasBeenSet;
557 
558  Aws::String m_s3Prefix;
559  bool m_s3PrefixHasBeenSet;
560 
561  Aws::Vector<Aws::String> m_exportOnly;
562  bool m_exportOnlyHasBeenSet;
563  };
564 
565 } // namespace Model
566 } // namespace RDS
567 } // namespace Aws
Aws::RDS::Model::StartExportTaskRequest::ExportOnlyHasBeenSet
bool ExportOnlyHasBeenSet() const
Definition: StartExportTaskRequest.h:434
Aws::RDS::Model::StartExportTaskRequest::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: StartExportTaskRequest.h:97
Aws::RDS::Model::StartExportTaskRequest::SetS3Prefix
void SetS3Prefix(Aws::String &&value)
Definition: StartExportTaskRequest.h:379
Aws::RDS::Model::StartExportTaskRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::StartExportTaskRequest::WithSourceArn
StartExportTaskRequest & WithSourceArn(const char *value)
Definition: StartExportTaskRequest.h:127
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::StartExportTaskRequest::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: StartExportTaskRequest.h:303
Aws::RDS::Model::StartExportTaskRequest::WithExportOnly
StartExportTaskRequest & WithExportOnly(Aws::Vector< Aws::String > &&value)
Definition: StartExportTaskRequest.h:494
Aws::RDS::Model::StartExportTaskRequest
Definition: StartExportTaskRequest.h:23
Aws::RDS::Model::StartExportTaskRequest::WithExportTaskIdentifier
StartExportTaskRequest & WithExportTaskIdentifier(const Aws::String &value)
Definition: StartExportTaskRequest.h:74
Aws::RDS::Model::StartExportTaskRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(Aws::String &&value)
Definition: StartExportTaskRequest.h:62
Aws::RDS::Model::StartExportTaskRequest::WithS3Prefix
StartExportTaskRequest & WithS3Prefix(const char *value)
Definition: StartExportTaskRequest.h:403
Aws::RDS::Model::StartExportTaskRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(const Aws::String &value)
Definition: StartExportTaskRequest.h:56
Aws::RDS::Model::StartExportTaskRequest::GetS3Prefix
const Aws::String & GetS3Prefix() const
Definition: StartExportTaskRequest.h:361
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::StartExportTaskRequest::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: StartExportTaskRequest.h:269
Aws::RDS::Model::StartExportTaskRequest::StartExportTaskRequest
StartExportTaskRequest()
Aws::RDS::Model::StartExportTaskRequest::WithS3BucketName
StartExportTaskRequest & WithS3BucketName(const Aws::String &value)
Definition: StartExportTaskRequest.h:158
Aws::RDS::Model::StartExportTaskRequest::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: StartExportTaskRequest.h:252
Aws::RDS::Model::StartExportTaskRequest::SetS3BucketName
void SetS3BucketName(const Aws::String &value)
Definition: StartExportTaskRequest.h:143
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::StartExportTaskRequest::SetExportOnly
void SetExportOnly(Aws::Vector< Aws::String > &&value)
Definition: StartExportTaskRequest.h:464
Aws::RDS::Model::StartExportTaskRequest::WithIamRoleArn
StartExportTaskRequest & WithIamRoleArn(const char *value)
Definition: StartExportTaskRequest.h:217
Aws::RDS::Model::StartExportTaskRequest::WithKmsKeyId
StartExportTaskRequest & WithKmsKeyId(const char *value)
Definition: StartExportTaskRequest.h:354
Aws::RDS::Model::StartExportTaskRequest::WithExportTaskIdentifier
StartExportTaskRequest & WithExportTaskIdentifier(Aws::String &&value)
Definition: StartExportTaskRequest.h:80
Aws::RDS::Model::StartExportTaskRequest::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: StartExportTaskRequest.h:286
Aws::RDS::Model::StartExportTaskRequest::WithIamRoleArn
StartExportTaskRequest & WithIamRoleArn(const Aws::String &value)
Definition: StartExportTaskRequest.h:205
Aws::RDS::Model::StartExportTaskRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartExportTaskRequest.h:31
AWSVector.h
Aws::RDS::Model::StartExportTaskRequest::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: StartExportTaskRequest.h:107
Aws::RDS::Model::StartExportTaskRequest::WithKmsKeyId
StartExportTaskRequest & WithKmsKeyId(const Aws::String &value)
Definition: StartExportTaskRequest.h:320
Aws::RDS::Model::StartExportTaskRequest::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: StartExportTaskRequest.h:92
Aws::RDS::Model::StartExportTaskRequest::WithSourceArn
StartExportTaskRequest & WithSourceArn(const Aws::String &value)
Definition: StartExportTaskRequest.h:117
Aws::RDS::Model::StartExportTaskRequest::GetIamRoleArn
const Aws::String & GetIamRoleArn() const
Definition: StartExportTaskRequest.h:175
Aws::RDS::Model::StartExportTaskRequest::IamRoleArnHasBeenSet
bool IamRoleArnHasBeenSet() const
Definition: StartExportTaskRequest.h:181
Aws::RDS::Model::StartExportTaskRequest::S3PrefixHasBeenSet
bool S3PrefixHasBeenSet() const
Definition: StartExportTaskRequest.h:367
Aws::RDS::Model::StartExportTaskRequest::SetExportTaskIdentifier
void SetExportTaskIdentifier(const char *value)
Definition: StartExportTaskRequest.h:68
Aws::RDS::Model::StartExportTaskRequest::GetS3BucketName
const Aws::String & GetS3BucketName() const
Definition: StartExportTaskRequest.h:133
Aws::RDS::Model::StartExportTaskRequest::GetExportTaskIdentifier
const Aws::String & GetExportTaskIdentifier() const
Definition: StartExportTaskRequest.h:44
RDS_EXPORTS.h
Aws::RDS::Model::StartExportTaskRequest::AddExportOnly
StartExportTaskRequest & AddExportOnly(const char *value)
Definition: StartExportTaskRequest.h:539
Aws::RDS::Model::StartExportTaskRequest::SetIamRoleArn
void SetIamRoleArn(const char *value)
Definition: StartExportTaskRequest.h:199
Aws::RDS::Model::StartExportTaskRequest::SetIamRoleArn
void SetIamRoleArn(const Aws::String &value)
Definition: StartExportTaskRequest.h:187
Aws::RDS::Model::StartExportTaskRequest::SetSourceArn
void SetSourceArn(const char *value)
Definition: StartExportTaskRequest.h:112
Aws::RDS::Model::StartExportTaskRequest::ExportTaskIdentifierHasBeenSet
bool ExportTaskIdentifierHasBeenSet() const
Definition: StartExportTaskRequest.h:50
Aws::RDS::Model::StartExportTaskRequest::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: StartExportTaskRequest.h:235
Aws::RDS::Model::StartExportTaskRequest::WithExportOnly
StartExportTaskRequest & WithExportOnly(const Aws::Vector< Aws::String > &value)
Definition: StartExportTaskRequest.h:479
AWSString.h
Aws::RDS::Model::StartExportTaskRequest::AddExportOnly
StartExportTaskRequest & AddExportOnly(Aws::String &&value)
Definition: StartExportTaskRequest.h:524
Aws::RDS::Model::StartExportTaskRequest::SetS3Prefix
void SetS3Prefix(const char *value)
Definition: StartExportTaskRequest.h:385
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::StartExportTaskRequest::WithS3Prefix
StartExportTaskRequest & WithS3Prefix(const Aws::String &value)
Definition: StartExportTaskRequest.h:391
Aws::RDS::Model::StartExportTaskRequest::SetS3BucketName
void SetS3BucketName(const char *value)
Definition: StartExportTaskRequest.h:153
Aws::RDS::Model::StartExportTaskRequest::GetExportOnly
const Aws::Vector< Aws::String > & GetExportOnly() const
Definition: StartExportTaskRequest.h:419
Aws::RDS::Model::StartExportTaskRequest::S3BucketNameHasBeenSet
bool S3BucketNameHasBeenSet() const
Definition: StartExportTaskRequest.h:138
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::StartExportTaskRequest::WithS3BucketName
StartExportTaskRequest & WithS3BucketName(Aws::String &&value)
Definition: StartExportTaskRequest.h:163
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::StartExportTaskRequest::WithSourceArn
StartExportTaskRequest & WithSourceArn(Aws::String &&value)
Definition: StartExportTaskRequest.h:122
Aws::RDS::Model::StartExportTaskRequest::SetS3Prefix
void SetS3Prefix(const Aws::String &value)
Definition: StartExportTaskRequest.h:373
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::StartExportTaskRequest::SetS3BucketName
void SetS3BucketName(Aws::String &&value)
Definition: StartExportTaskRequest.h:148
Aws::RDS::Model::StartExportTaskRequest::AddExportOnly
StartExportTaskRequest & AddExportOnly(const Aws::String &value)
Definition: StartExportTaskRequest.h:509
Aws::RDS::Model::StartExportTaskRequest::WithExportTaskIdentifier
StartExportTaskRequest & WithExportTaskIdentifier(const char *value)
Definition: StartExportTaskRequest.h:86
Aws::RDS::Model::StartExportTaskRequest::WithIamRoleArn
StartExportTaskRequest & WithIamRoleArn(Aws::String &&value)
Definition: StartExportTaskRequest.h:211
Aws::RDS::Model::StartExportTaskRequest::SetIamRoleArn
void SetIamRoleArn(Aws::String &&value)
Definition: StartExportTaskRequest.h:193
Aws::RDS::Model::StartExportTaskRequest::WithS3Prefix
StartExportTaskRequest & WithS3Prefix(Aws::String &&value)
Definition: StartExportTaskRequest.h:397
Aws::RDS::Model::StartExportTaskRequest::WithKmsKeyId
StartExportTaskRequest & WithKmsKeyId(Aws::String &&value)
Definition: StartExportTaskRequest.h:337
Aws::RDS::Model::StartExportTaskRequest::WithS3BucketName
StartExportTaskRequest & WithS3BucketName(const char *value)
Definition: StartExportTaskRequest.h:168
Aws::RDS::Model::StartExportTaskRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::StartExportTaskRequest::SetExportOnly
void SetExportOnly(const Aws::Vector< Aws::String > &value)
Definition: StartExportTaskRequest.h:449
Aws::RDS::Model::StartExportTaskRequest::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: StartExportTaskRequest.h:102