AWS SDK for C++  1.9.109
AWS SDK for C++
StartDBInstanceAutomatedBackupsReplicationRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "StartDBInstanceAutomatedBackupsReplication"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline const Aws::String& GetSourceDBInstanceArn() const{ return m_sourceDBInstanceArn; }
45 
51  inline bool SourceDBInstanceArnHasBeenSet() const { return m_sourceDBInstanceArnHasBeenSet; }
52 
58  inline void SetSourceDBInstanceArn(const Aws::String& value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn = value; }
59 
65  inline void SetSourceDBInstanceArn(Aws::String&& value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn = std::move(value); }
66 
72  inline void SetSourceDBInstanceArn(const char* value) { m_sourceDBInstanceArnHasBeenSet = true; m_sourceDBInstanceArn.assign(value); }
73 
79  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(const Aws::String& value) { SetSourceDBInstanceArn(value); return *this;}
80 
86  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(Aws::String&& value) { SetSourceDBInstanceArn(std::move(value)); return *this;}
87 
93  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithSourceDBInstanceArn(const char* value) { SetSourceDBInstanceArn(value); return *this;}
94 
95 
99  inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; }
100 
104  inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
105 
109  inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
110 
114  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;}
115 
116 
123  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
124 
131  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
132 
139  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
140 
147  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
148 
155  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
156 
163  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
164 
171  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
172 
179  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
180 
181 
190  inline const Aws::String& GetPreSignedUrl() const{ return m_preSignedUrl; }
191 
200  inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; }
201 
210  inline void SetPreSignedUrl(const Aws::String& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = value; }
211 
220  inline void SetPreSignedUrl(Aws::String&& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = std::move(value); }
221 
230  inline void SetPreSignedUrl(const char* value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl.assign(value); }
231 
240  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithPreSignedUrl(const Aws::String& value) { SetPreSignedUrl(value); return *this;}
241 
250  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithPreSignedUrl(Aws::String&& value) { SetPreSignedUrl(std::move(value)); return *this;}
251 
260  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithPreSignedUrl(const char* value) { SetPreSignedUrl(value); return *this;}
261 
262 
266  inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
267 
271  inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
272 
276  inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
277 
281  inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); }
282 
286  inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
287 
291  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
292 
296  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
297 
301  inline StartDBInstanceAutomatedBackupsReplicationRequest& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
302 
303  private:
304 
305  Aws::String m_sourceDBInstanceArn;
306  bool m_sourceDBInstanceArnHasBeenSet;
307 
308  int m_backupRetentionPeriod;
309  bool m_backupRetentionPeriodHasBeenSet;
310 
311  Aws::String m_kmsKeyId;
312  bool m_kmsKeyIdHasBeenSet;
313 
314  Aws::String m_preSignedUrl;
315  bool m_preSignedUrlHasBeenSet;
316 
317  Aws::String m_sourceRegion;
318  bool m_sourceRegionHasBeenSet;
319  };
320 
321 } // namespace Model
322 } // namespace RDS
323 } // namespace Aws
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SourceRegionHasBeenSet
bool SourceRegionHasBeenSet() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:271
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithSourceDBInstanceArn
StartDBInstanceAutomatedBackupsReplicationRequest & WithSourceDBInstanceArn(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:79
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::PreSignedUrlHasBeenSet
bool PreSignedUrlHasBeenSet() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:200
Aws::Http::URI
Definition: URI.h:32
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithPreSignedUrl
StartDBInstanceAutomatedBackupsReplicationRequest & WithPreSignedUrl(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:250
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::StartDBInstanceAutomatedBackupsReplicationRequest
StartDBInstanceAutomatedBackupsReplicationRequest()
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithKmsKeyId
StartDBInstanceAutomatedBackupsReplicationRequest & WithKmsKeyId(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:163
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithSourceRegion
StartDBInstanceAutomatedBackupsReplicationRequest & WithSourceRegion(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:291
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithPreSignedUrl
StartDBInstanceAutomatedBackupsReplicationRequest & WithPreSignedUrl(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:260
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetPreSignedUrl
void SetPreSignedUrl(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:220
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:139
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:123
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetSourceRegion
void SetSourceRegion(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:276
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:30
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetSourceDBInstanceArn
void SetSourceDBInstanceArn(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:65
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetSourceDBInstanceArn
void SetSourceDBInstanceArn(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:58
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:147
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::GetPreSignedUrl
const Aws::String & GetPreSignedUrl() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:190
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::KmsKeyIdHasBeenSet
bool KmsKeyIdHasBeenSet() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:131
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetSourceDBInstanceArn
void SetSourceDBInstanceArn(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:72
RDS_EXPORTS.h
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:22
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::GetSourceDBInstanceArn
const Aws::String & GetSourceDBInstanceArn() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:44
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetPreSignedUrl
void SetPreSignedUrl(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:210
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithSourceRegion
StartDBInstanceAutomatedBackupsReplicationRequest & WithSourceRegion(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:296
AWSString.h
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithSourceDBInstanceArn
StartDBInstanceAutomatedBackupsReplicationRequest & WithSourceDBInstanceArn(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:93
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithKmsKeyId
StartDBInstanceAutomatedBackupsReplicationRequest & WithKmsKeyId(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:179
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithPreSignedUrl
StartDBInstanceAutomatedBackupsReplicationRequest & WithPreSignedUrl(const Aws::String &value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:240
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithKmsKeyId
StartDBInstanceAutomatedBackupsReplicationRequest & WithKmsKeyId(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:171
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SourceDBInstanceArnHasBeenSet
bool SourceDBInstanceArnHasBeenSet() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetSourceRegion
void SetSourceRegion(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:286
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithBackupRetentionPeriod
StartDBInstanceAutomatedBackupsReplicationRequest & WithBackupRetentionPeriod(int value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:114
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:155
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::BackupRetentionPeriodHasBeenSet
bool BackupRetentionPeriodHasBeenSet() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetBackupRetentionPeriod
void SetBackupRetentionPeriod(int value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:109
RDSRequest.h
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetSourceRegion
void SetSourceRegion(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:281
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::GetSourceRegion
const Aws::String & GetSourceRegion() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:266
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithSourceDBInstanceArn
StartDBInstanceAutomatedBackupsReplicationRequest & WithSourceDBInstanceArn(Aws::String &&value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:86
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SetPreSignedUrl
void SetPreSignedUrl(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:230
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::GetBackupRetentionPeriod
int GetBackupRetentionPeriod() const
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:99
Aws::RDS::Model::StartDBInstanceAutomatedBackupsReplicationRequest::WithSourceRegion
StartDBInstanceAutomatedBackupsReplicationRequest & WithSourceRegion(const char *value)
Definition: StartDBInstanceAutomatedBackupsReplicationRequest.h:301