AWS SDK for C++  1.8.154
AWS SDK for C++
DeleteDBInstanceAutomatedBackupRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteDBInstanceAutomatedBackup"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
47  inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; }
48 
53  inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
54 
59  inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; }
60 
65  inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); }
66 
71  inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); }
72 
77  inline DeleteDBInstanceAutomatedBackupRequest& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;}
78 
83  inline DeleteDBInstanceAutomatedBackupRequest& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;}
84 
89  inline DeleteDBInstanceAutomatedBackupRequest& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;}
90 
91 
97  inline const Aws::String& GetDBInstanceAutomatedBackupsArn() const{ return m_dBInstanceAutomatedBackupsArn; }
98 
104  inline bool DBInstanceAutomatedBackupsArnHasBeenSet() const { return m_dBInstanceAutomatedBackupsArnHasBeenSet; }
105 
111  inline void SetDBInstanceAutomatedBackupsArn(const Aws::String& value) { m_dBInstanceAutomatedBackupsArnHasBeenSet = true; m_dBInstanceAutomatedBackupsArn = value; }
112 
118  inline void SetDBInstanceAutomatedBackupsArn(Aws::String&& value) { m_dBInstanceAutomatedBackupsArnHasBeenSet = true; m_dBInstanceAutomatedBackupsArn = std::move(value); }
119 
125  inline void SetDBInstanceAutomatedBackupsArn(const char* value) { m_dBInstanceAutomatedBackupsArnHasBeenSet = true; m_dBInstanceAutomatedBackupsArn.assign(value); }
126 
132  inline DeleteDBInstanceAutomatedBackupRequest& WithDBInstanceAutomatedBackupsArn(const Aws::String& value) { SetDBInstanceAutomatedBackupsArn(value); return *this;}
133 
139  inline DeleteDBInstanceAutomatedBackupRequest& WithDBInstanceAutomatedBackupsArn(Aws::String&& value) { SetDBInstanceAutomatedBackupsArn(std::move(value)); return *this;}
140 
146  inline DeleteDBInstanceAutomatedBackupRequest& WithDBInstanceAutomatedBackupsArn(const char* value) { SetDBInstanceAutomatedBackupsArn(value); return *this;}
147 
148  private:
149 
150  Aws::String m_dbiResourceId;
151  bool m_dbiResourceIdHasBeenSet;
152 
153  Aws::String m_dBInstanceAutomatedBackupsArn;
154  bool m_dBInstanceAutomatedBackupsArnHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace RDS
159 } // namespace Aws
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SetDbiResourceId
void SetDbiResourceId(Aws::String &&value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:65
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::DbiResourceIdHasBeenSet
bool DbiResourceIdHasBeenSet() const
Definition: DeleteDBInstanceAutomatedBackupRequest.h:53
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SetDbiResourceId
void SetDbiResourceId(const char *value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:71
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SetDBInstanceAutomatedBackupsArn
void SetDBInstanceAutomatedBackupsArn(Aws::String &&value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:118
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest
Definition: DeleteDBInstanceAutomatedBackupRequest.h:26
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::WithDbiResourceId
DeleteDBInstanceAutomatedBackupRequest & WithDbiResourceId(const Aws::String &value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:77
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::DeleteDBInstanceAutomatedBackupRequest
DeleteDBInstanceAutomatedBackupRequest()
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::WithDBInstanceAutomatedBackupsArn
DeleteDBInstanceAutomatedBackupRequest & WithDBInstanceAutomatedBackupsArn(const char *value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:146
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::WithDbiResourceId
DeleteDBInstanceAutomatedBackupRequest & WithDbiResourceId(const char *value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:89
RDS_EXPORTS.h
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWSString.h
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::DBInstanceAutomatedBackupsArnHasBeenSet
bool DBInstanceAutomatedBackupsArnHasBeenSet() const
Definition: DeleteDBInstanceAutomatedBackupRequest.h:104
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::GetDbiResourceId
const Aws::String & GetDbiResourceId() const
Definition: DeleteDBInstanceAutomatedBackupRequest.h:47
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::GetDBInstanceAutomatedBackupsArn
const Aws::String & GetDBInstanceAutomatedBackupsArn() const
Definition: DeleteDBInstanceAutomatedBackupRequest.h:97
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SetDBInstanceAutomatedBackupsArn
void SetDBInstanceAutomatedBackupsArn(const char *value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:125
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SetDBInstanceAutomatedBackupsArn
void SetDBInstanceAutomatedBackupsArn(const Aws::String &value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:111
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::WithDBInstanceAutomatedBackupsArn
DeleteDBInstanceAutomatedBackupRequest & WithDBInstanceAutomatedBackupsArn(const Aws::String &value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:132
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBInstanceAutomatedBackupRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::WithDbiResourceId
DeleteDBInstanceAutomatedBackupRequest & WithDbiResourceId(Aws::String &&value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:83
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::WithDBInstanceAutomatedBackupsArn
DeleteDBInstanceAutomatedBackupRequest & WithDBInstanceAutomatedBackupsArn(Aws::String &&value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:139
Aws::RDS::Model::DeleteDBInstanceAutomatedBackupRequest::SetDbiResourceId
void SetDbiResourceId(const Aws::String &value)
Definition: DeleteDBInstanceAutomatedBackupRequest.h:59