AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteDBInstanceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Neptune
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 "DeleteDBInstance"; }
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& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
45 
51  inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
52 
58  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
59 
65  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
66 
72  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
73 
79  inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
80 
86  inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
87 
93  inline DeleteDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
94 
95 
107  inline bool GetSkipFinalSnapshot() const{ return m_skipFinalSnapshot; }
108 
120  inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
121 
133  inline void SetSkipFinalSnapshot(bool value) { m_skipFinalSnapshotHasBeenSet = true; m_skipFinalSnapshot = value; }
134 
146  inline DeleteDBInstanceRequest& WithSkipFinalSnapshot(bool value) { SetSkipFinalSnapshot(value); return *this;}
147 
148 
158  inline const Aws::String& GetFinalDBSnapshotIdentifier() const{ return m_finalDBSnapshotIdentifier; }
159 
169  inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
170 
180  inline void SetFinalDBSnapshotIdentifier(const Aws::String& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = value; }
181 
191  inline void SetFinalDBSnapshotIdentifier(Aws::String&& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = std::move(value); }
192 
202  inline void SetFinalDBSnapshotIdentifier(const char* value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier.assign(value); }
203 
213  inline DeleteDBInstanceRequest& WithFinalDBSnapshotIdentifier(const Aws::String& value) { SetFinalDBSnapshotIdentifier(value); return *this;}
214 
224  inline DeleteDBInstanceRequest& WithFinalDBSnapshotIdentifier(Aws::String&& value) { SetFinalDBSnapshotIdentifier(std::move(value)); return *this;}
225 
235  inline DeleteDBInstanceRequest& WithFinalDBSnapshotIdentifier(const char* value) { SetFinalDBSnapshotIdentifier(value); return *this;}
236 
237  private:
238 
239  Aws::String m_dBInstanceIdentifier;
240  bool m_dBInstanceIdentifierHasBeenSet;
241 
242  bool m_skipFinalSnapshot;
243  bool m_skipFinalSnapshotHasBeenSet;
244 
245  Aws::String m_finalDBSnapshotIdentifier;
246  bool m_finalDBSnapshotIdentifierHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace Neptune
251 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Neptune::Model::DeleteDBInstanceRequest::SetSkipFinalSnapshot
void SetSkipFinalSnapshot(bool value)
Definition: DeleteDBInstanceRequest.h:133
Neptune_EXPORTS.h
Aws::Neptune::Model::DeleteDBInstanceRequest::SetFinalDBSnapshotIdentifier
void SetFinalDBSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBInstanceRequest.h:191
Aws::Neptune::Model::DeleteDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const char *value)
Definition: DeleteDBInstanceRequest.h:72
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::DeleteDBInstanceRequest::DBInstanceIdentifierHasBeenSet
bool DBInstanceIdentifierHasBeenSet() const
Definition: DeleteDBInstanceRequest.h:51
Aws::Neptune::Model::DeleteDBInstanceRequest::SetFinalDBSnapshotIdentifier
void SetFinalDBSnapshotIdentifier(const char *value)
Definition: DeleteDBInstanceRequest.h:202
Aws::Neptune::Model::DeleteDBInstanceRequest::WithSkipFinalSnapshot
DeleteDBInstanceRequest & WithSkipFinalSnapshot(bool value)
Definition: DeleteDBInstanceRequest.h:146
Aws::Neptune::Model::DeleteDBInstanceRequest::GetDBInstanceIdentifier
const Aws::String & GetDBInstanceIdentifier() const
Definition: DeleteDBInstanceRequest.h:44
Aws::Neptune::Model::DeleteDBInstanceRequest::WithFinalDBSnapshotIdentifier
DeleteDBInstanceRequest & WithFinalDBSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBInstanceRequest.h:224
Aws::Neptune::Model::DeleteDBInstanceRequest::GetFinalDBSnapshotIdentifier
const Aws::String & GetFinalDBSnapshotIdentifier() const
Definition: DeleteDBInstanceRequest.h:158
Aws::Neptune::NeptuneRequest
Definition: NeptuneRequest.h:17
Aws::Neptune::Model::DeleteDBInstanceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Neptune::Model::DeleteDBInstanceRequest::WithFinalDBSnapshotIdentifier
DeleteDBInstanceRequest & WithFinalDBSnapshotIdentifier(const char *value)
Definition: DeleteDBInstanceRequest.h:235
Aws::Neptune::Model::DeleteDBInstanceRequest::WithDBInstanceIdentifier
DeleteDBInstanceRequest & WithDBInstanceIdentifier(const char *value)
Definition: DeleteDBInstanceRequest.h:93
Aws::Neptune::Model::DeleteDBInstanceRequest::FinalDBSnapshotIdentifierHasBeenSet
bool FinalDBSnapshotIdentifierHasBeenSet() const
Definition: DeleteDBInstanceRequest.h:169
Aws::Neptune::Model::DeleteDBInstanceRequest::WithFinalDBSnapshotIdentifier
DeleteDBInstanceRequest & WithFinalDBSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBInstanceRequest.h:213
Aws::Neptune::Model::DeleteDBInstanceRequest::GetSkipFinalSnapshot
bool GetSkipFinalSnapshot() const
Definition: DeleteDBInstanceRequest.h:107
Aws::Neptune::Model::DeleteDBInstanceRequest
Definition: DeleteDBInstanceRequest.h:22
AWSString.h
Aws::Neptune::Model::DeleteDBInstanceRequest::WithDBInstanceIdentifier
DeleteDBInstanceRequest & WithDBInstanceIdentifier(const Aws::String &value)
Definition: DeleteDBInstanceRequest.h:79
Aws::Neptune::Model::DeleteDBInstanceRequest::SerializePayload
Aws::String SerializePayload() const override
NeptuneRequest.h
Aws::Neptune::Model::DeleteDBInstanceRequest::DeleteDBInstanceRequest
DeleteDBInstanceRequest()
Aws::Neptune::Model::DeleteDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: DeleteDBInstanceRequest.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::DeleteDBInstanceRequest::SkipFinalSnapshotHasBeenSet
bool SkipFinalSnapshotHasBeenSet() const
Definition: DeleteDBInstanceRequest.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::DeleteDBInstanceRequest::SetFinalDBSnapshotIdentifier
void SetFinalDBSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBInstanceRequest.h:180
Aws::Neptune::Model::DeleteDBInstanceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBInstanceRequest.h:30
Aws::Neptune::Model::DeleteDBInstanceRequest::WithDBInstanceIdentifier
DeleteDBInstanceRequest & WithDBInstanceIdentifier(Aws::String &&value)
Definition: DeleteDBInstanceRequest.h:86
Aws::Neptune::Model::DeleteDBInstanceRequest::SetDBInstanceIdentifier
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: DeleteDBInstanceRequest.h:58