AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
25 AWS_RDS_API StartExportTaskRequest() = default;
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 template<typename ExportTaskIdentifierT = Aws::String>
48 void SetExportTaskIdentifier(ExportTaskIdentifierT&& value) { m_exportTaskIdentifierHasBeenSet = true; m_exportTaskIdentifier = std::forward<ExportTaskIdentifierT>(value); }
49 template<typename ExportTaskIdentifierT = Aws::String>
50 StartExportTaskRequest& WithExportTaskIdentifier(ExportTaskIdentifierT&& value) { SetExportTaskIdentifier(std::forward<ExportTaskIdentifierT>(value)); return *this;}
52
54
58 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
59 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
60 template<typename SourceArnT = Aws::String>
61 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
62 template<typename SourceArnT = Aws::String>
63 StartExportTaskRequest& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
65
67
71 inline const Aws::String& GetS3BucketName() const { return m_s3BucketName; }
72 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
73 template<typename S3BucketNameT = Aws::String>
74 void SetS3BucketName(S3BucketNameT&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::forward<S3BucketNameT>(value); }
75 template<typename S3BucketNameT = Aws::String>
76 StartExportTaskRequest& WithS3BucketName(S3BucketNameT&& value) { SetS3BucketName(std::forward<S3BucketNameT>(value)); return *this;}
78
80
93 inline const Aws::String& GetIamRoleArn() const { return m_iamRoleArn; }
94 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
95 template<typename IamRoleArnT = Aws::String>
96 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
97 template<typename IamRoleArnT = Aws::String>
98 StartExportTaskRequest& WithIamRoleArn(IamRoleArnT&& value) { SetIamRoleArn(std::forward<IamRoleArnT>(value)); return *this;}
100
102
110 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
111 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
112 template<typename KmsKeyIdT = Aws::String>
113 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
114 template<typename KmsKeyIdT = Aws::String>
115 StartExportTaskRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
117
119
123 inline const Aws::String& GetS3Prefix() const { return m_s3Prefix; }
124 inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; }
125 template<typename S3PrefixT = Aws::String>
126 void SetS3Prefix(S3PrefixT&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::forward<S3PrefixT>(value); }
127 template<typename S3PrefixT = Aws::String>
128 StartExportTaskRequest& WithS3Prefix(S3PrefixT&& value) { SetS3Prefix(std::forward<S3PrefixT>(value)); return *this;}
130
132
145 inline const Aws::Vector<Aws::String>& GetExportOnly() const { return m_exportOnly; }
146 inline bool ExportOnlyHasBeenSet() const { return m_exportOnlyHasBeenSet; }
147 template<typename ExportOnlyT = Aws::Vector<Aws::String>>
148 void SetExportOnly(ExportOnlyT&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly = std::forward<ExportOnlyT>(value); }
149 template<typename ExportOnlyT = Aws::Vector<Aws::String>>
150 StartExportTaskRequest& WithExportOnly(ExportOnlyT&& value) { SetExportOnly(std::forward<ExportOnlyT>(value)); return *this;}
151 template<typename ExportOnlyT = Aws::String>
152 StartExportTaskRequest& AddExportOnly(ExportOnlyT&& value) { m_exportOnlyHasBeenSet = true; m_exportOnly.emplace_back(std::forward<ExportOnlyT>(value)); return *this; }
154 private:
155
156 Aws::String m_exportTaskIdentifier;
157 bool m_exportTaskIdentifierHasBeenSet = false;
158
159 Aws::String m_sourceArn;
160 bool m_sourceArnHasBeenSet = false;
161
162 Aws::String m_s3BucketName;
163 bool m_s3BucketNameHasBeenSet = false;
164
165 Aws::String m_iamRoleArn;
166 bool m_iamRoleArnHasBeenSet = false;
167
168 Aws::String m_kmsKeyId;
169 bool m_kmsKeyIdHasBeenSet = false;
170
171 Aws::String m_s3Prefix;
172 bool m_s3PrefixHasBeenSet = false;
173
174 Aws::Vector<Aws::String> m_exportOnly;
175 bool m_exportOnlyHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace RDS
180} // namespace Aws
StartExportTaskRequest & WithSourceArn(SourceArnT &&value)
StartExportTaskRequest & WithS3Prefix(S3PrefixT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
StartExportTaskRequest & WithExportOnly(ExportOnlyT &&value)
const Aws::Vector< Aws::String > & GetExportOnly() const
StartExportTaskRequest & WithIamRoleArn(IamRoleArnT &&value)
const Aws::String & GetExportTaskIdentifier() const
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetExportTaskIdentifier(ExportTaskIdentifierT &&value)
StartExportTaskRequest & WithS3BucketName(S3BucketNameT &&value)
StartExportTaskRequest & WithExportTaskIdentifier(ExportTaskIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API StartExportTaskRequest()=default
StartExportTaskRequest & WithKmsKeyId(KmsKeyIdT &&value)
StartExportTaskRequest & AddExportOnly(ExportOnlyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector