AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteDBClusterRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteDBCluster"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
47  inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
48 
54  inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
55 
61  inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
62 
68  inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
69 
75  inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
76 
82  inline DeleteDBClusterRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
83 
89  inline DeleteDBClusterRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
90 
96  inline DeleteDBClusterRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
97 
98 
108  inline bool GetSkipFinalSnapshot() const{ return m_skipFinalSnapshot; }
109 
119  inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
120 
130  inline void SetSkipFinalSnapshot(bool value) { m_skipFinalSnapshotHasBeenSet = true; m_skipFinalSnapshot = value; }
131 
141  inline DeleteDBClusterRequest& WithSkipFinalSnapshot(bool value) { SetSkipFinalSnapshot(value); return *this;}
142 
143 
153  inline const Aws::String& GetFinalDBSnapshotIdentifier() const{ return m_finalDBSnapshotIdentifier; }
154 
164  inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
165 
175  inline void SetFinalDBSnapshotIdentifier(const Aws::String& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = value; }
176 
186  inline void SetFinalDBSnapshotIdentifier(Aws::String&& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = std::move(value); }
187 
197  inline void SetFinalDBSnapshotIdentifier(const char* value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier.assign(value); }
198 
208  inline DeleteDBClusterRequest& WithFinalDBSnapshotIdentifier(const Aws::String& value) { SetFinalDBSnapshotIdentifier(value); return *this;}
209 
219  inline DeleteDBClusterRequest& WithFinalDBSnapshotIdentifier(Aws::String&& value) { SetFinalDBSnapshotIdentifier(std::move(value)); return *this;}
220 
230  inline DeleteDBClusterRequest& WithFinalDBSnapshotIdentifier(const char* value) { SetFinalDBSnapshotIdentifier(value); return *this;}
231 
232  private:
233 
234  Aws::String m_dBClusterIdentifier;
235  bool m_dBClusterIdentifierHasBeenSet;
236 
237  bool m_skipFinalSnapshot;
238  bool m_skipFinalSnapshotHasBeenSet;
239 
240  Aws::String m_finalDBSnapshotIdentifier;
241  bool m_finalDBSnapshotIdentifierHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace RDS
246 } // namespace Aws
Aws::RDS::Model::DeleteDBClusterRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(Aws::String &&value)
Definition: DeleteDBClusterRequest.h:68
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DeleteDBClusterRequest::GetSkipFinalSnapshot
bool GetSkipFinalSnapshot() const
Definition: DeleteDBClusterRequest.h:108
Aws::RDS::Model::DeleteDBClusterRequest::GetDBClusterIdentifier
const Aws::String & GetDBClusterIdentifier() const
Definition: DeleteDBClusterRequest.h:47
Aws::RDS::Model::DeleteDBClusterRequest
Definition: DeleteDBClusterRequest.h:25
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DeleteDBClusterRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DeleteDBClusterRequest::DBClusterIdentifierHasBeenSet
bool DBClusterIdentifierHasBeenSet() const
Definition: DeleteDBClusterRequest.h:54
Aws::RDS::Model::DeleteDBClusterRequest::WithSkipFinalSnapshot
DeleteDBClusterRequest & WithSkipFinalSnapshot(bool value)
Definition: DeleteDBClusterRequest.h:141
Aws::RDS::Model::DeleteDBClusterRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const char *value)
Definition: DeleteDBClusterRequest.h:75
Aws::RDS::Model::DeleteDBClusterRequest::WithDBClusterIdentifier
DeleteDBClusterRequest & WithDBClusterIdentifier(Aws::String &&value)
Definition: DeleteDBClusterRequest.h:89
Aws::RDS::Model::DeleteDBClusterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DeleteDBClusterRequest::DeleteDBClusterRequest
DeleteDBClusterRequest()
Aws::RDS::Model::DeleteDBClusterRequest::SetDBClusterIdentifier
void SetDBClusterIdentifier(const Aws::String &value)
Definition: DeleteDBClusterRequest.h:61
Aws::RDS::Model::DeleteDBClusterRequest::WithFinalDBSnapshotIdentifier
DeleteDBClusterRequest & WithFinalDBSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBClusterRequest.h:219
Aws::RDS::Model::DeleteDBClusterRequest::SetFinalDBSnapshotIdentifier
void SetFinalDBSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBClusterRequest.h:175
RDS_EXPORTS.h
Aws::RDS::Model::DeleteDBClusterRequest::WithDBClusterIdentifier
DeleteDBClusterRequest & WithDBClusterIdentifier(const char *value)
Definition: DeleteDBClusterRequest.h:96
Aws::RDS::Model::DeleteDBClusterRequest::SetFinalDBSnapshotIdentifier
void SetFinalDBSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBClusterRequest.h:186
AWSString.h
Aws::RDS::Model::DeleteDBClusterRequest::WithFinalDBSnapshotIdentifier
DeleteDBClusterRequest & WithFinalDBSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBClusterRequest.h:208
Aws::RDS::Model::DeleteDBClusterRequest::WithFinalDBSnapshotIdentifier
DeleteDBClusterRequest & WithFinalDBSnapshotIdentifier(const char *value)
Definition: DeleteDBClusterRequest.h:230
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DeleteDBClusterRequest::SetFinalDBSnapshotIdentifier
void SetFinalDBSnapshotIdentifier(const char *value)
Definition: DeleteDBClusterRequest.h:197
Aws::RDS::Model::DeleteDBClusterRequest::GetFinalDBSnapshotIdentifier
const Aws::String & GetFinalDBSnapshotIdentifier() const
Definition: DeleteDBClusterRequest.h:153
Aws::RDS::Model::DeleteDBClusterRequest::FinalDBSnapshotIdentifierHasBeenSet
bool FinalDBSnapshotIdentifierHasBeenSet() const
Definition: DeleteDBClusterRequest.h:164
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DeleteDBClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBClusterRequest.h:33
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DeleteDBClusterRequest::SetSkipFinalSnapshot
void SetSkipFinalSnapshot(bool value)
Definition: DeleteDBClusterRequest.h:130
Aws::RDS::Model::DeleteDBClusterRequest::SkipFinalSnapshotHasBeenSet
bool SkipFinalSnapshotHasBeenSet() const
Definition: DeleteDBClusterRequest.h:119
Aws::RDS::Model::DeleteDBClusterRequest::WithDBClusterIdentifier
DeleteDBClusterRequest & WithDBClusterIdentifier(const Aws::String &value)
Definition: DeleteDBClusterRequest.h:82