AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartExportTaskRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RDS
16{
17namespace 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_RDS_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
45 inline const Aws::String& GetExportTaskIdentifier() const{ return m_exportTaskIdentifier; }
46 inline bool ExportTaskIdentifierHasBeenSet() const { return m_exportTaskIdentifierHasBeenSet; }
47 inline void SetExportTaskIdentifier(const Aws::String& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = value; }
48 inline void SetExportTaskIdentifier(Aws::String&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::move(value); }
49 inline void SetExportTaskIdentifier(const char* value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier.assign(value); }
51 inline StartExportTaskRequest& WithExportTaskIdentifier(Aws::String&& value) { SetExportTaskIdentifier(std::move(value)); return *this;}
52 inline StartExportTaskRequest& WithExportTaskIdentifier(const char* value) { SetExportTaskIdentifier(value); return *this;}
54
56
60 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
61 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
62 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
63 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
64 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
65 inline StartExportTaskRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
66 inline StartExportTaskRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
67 inline StartExportTaskRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
69
71
75 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
76 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
77 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
78 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
79 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
80 inline StartExportTaskRequest& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
81 inline StartExportTaskRequest& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
82 inline StartExportTaskRequest& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
84
86
99 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
100 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
101 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
102 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
103 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
104 inline StartExportTaskRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
105 inline StartExportTaskRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
106 inline StartExportTaskRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
108
110
121 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
122 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
123 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
124 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
125 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
126 inline StartExportTaskRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
127 inline StartExportTaskRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
128 inline StartExportTaskRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
130
132
136 inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; }
137 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
138 inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; }
139 inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); }
140 inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); }
141 inline StartExportTaskRequest& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;}
142 inline StartExportTaskRequest& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;}
143 inline StartExportTaskRequest& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;}
145
147
160 inline const Aws::Vector<Aws::String>& GetExportOnly() const{ return m_exportOnly; }
161 inline bool ExportOnlyHasBeenSet() const { return m_exportOnlyHasBeenSet; }
162 inline void SetExportOnly(const Aws::Vector<Aws::String>& value) { m_exportOnlyHasBeenSet = true; m_exportOnly = value; }
163 inline void SetExportOnly(Aws::Vector<Aws::String>&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly = std::move(value); }
165 inline StartExportTaskRequest& WithExportOnly(Aws::Vector<Aws::String>&& value) { SetExportOnly(std::move(value)); return *this;}
166 inline StartExportTaskRequest& AddExportOnly(const Aws::String& value) { m_exportOnlyHasBeenSet = true; m_exportOnly.push_back(value); return *this; }
167 inline StartExportTaskRequest& AddExportOnly(Aws::String&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly.push_back(std::move(value)); return *this; }
168 inline StartExportTaskRequest& AddExportOnly(const char* value) { m_exportOnlyHasBeenSet = true; m_exportOnly.push_back(value); return *this; }
170 private:
171
172 Aws::String m_exportTaskIdentifier;
173 bool m_exportTaskIdentifierHasBeenSet = false;
174
175 Aws::String m_sourceArn;
176 bool m_sourceArnHasBeenSet = false;
177
178 Aws::String m_s3BucketName;
179 bool m_s3BucketNameHasBeenSet = false;
180
181 Aws::String m_iamRoleArn;
182 bool m_iamRoleArnHasBeenSet = false;
183
184 Aws::String m_kmsKeyId;
185 bool m_kmsKeyIdHasBeenSet = false;
186
187 Aws::String m_s3Prefix;
188 bool m_s3PrefixHasBeenSet = false;
189
190 Aws::Vector<Aws::String> m_exportOnly;
191 bool m_exportOnlyHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace RDS
196} // namespace Aws
StartExportTaskRequest & WithS3Prefix(const Aws::String &value)
StartExportTaskRequest & WithIamRoleArn(Aws::String &&value)
AWS_RDS_API Aws::String SerializePayload() const override
StartExportTaskRequest & WithKmsKeyId(Aws::String &&value)
StartExportTaskRequest & AddExportOnly(Aws::String &&value)
StartExportTaskRequest & WithExportTaskIdentifier(Aws::String &&value)
StartExportTaskRequest & WithS3BucketName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetExportOnly() const
StartExportTaskRequest & WithExportTaskIdentifier(const Aws::String &value)
void SetExportTaskIdentifier(const Aws::String &value)
StartExportTaskRequest & AddExportOnly(const Aws::String &value)
const Aws::String & GetExportTaskIdentifier() const
StartExportTaskRequest & WithExportOnly(Aws::Vector< Aws::String > &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
StartExportTaskRequest & WithIamRoleArn(const char *value)
StartExportTaskRequest & WithKmsKeyId(const Aws::String &value)
void SetExportOnly(const Aws::Vector< Aws::String > &value)
StartExportTaskRequest & WithKmsKeyId(const char *value)
StartExportTaskRequest & WithIamRoleArn(const Aws::String &value)
StartExportTaskRequest & WithS3BucketName(const char *value)
void SetIamRoleArn(const Aws::String &value)
void SetSourceArn(const Aws::String &value)
void SetS3BucketName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartExportTaskRequest & WithSourceArn(const Aws::String &value)
StartExportTaskRequest & WithS3BucketName(const Aws::String &value)
StartExportTaskRequest & WithSourceArn(const char *value)
StartExportTaskRequest & WithSourceArn(Aws::String &&value)
void SetExportOnly(Aws::Vector< Aws::String > &&value)
StartExportTaskRequest & WithExportOnly(const Aws::Vector< Aws::String > &value)
StartExportTaskRequest & AddExportOnly(const char *value)
StartExportTaskRequest & WithS3Prefix(const char *value)
StartExportTaskRequest & WithS3Prefix(Aws::String &&value)
StartExportTaskRequest & WithExportTaskIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector