AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
DeleteDBInstanceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Neptune {
15namespace Model {
16
20 public:
21 AWS_NEPTUNE_API DeleteDBInstanceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteDBInstance"; }
28
29 AWS_NEPTUNE_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
41 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
42 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
43 template <typename DBInstanceIdentifierT = Aws::String>
44 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
45 m_dBInstanceIdentifierHasBeenSet = true;
46 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
47 }
48 template <typename DBInstanceIdentifierT = Aws::String>
49 DeleteDBInstanceRequest& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
50 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
51 return *this;
52 }
54
56
67 inline bool GetSkipFinalSnapshot() const { return m_skipFinalSnapshot; }
68 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
69 inline void SetSkipFinalSnapshot(bool value) {
70 m_skipFinalSnapshotHasBeenSet = true;
71 m_skipFinalSnapshot = value;
72 }
75 return *this;
76 }
78
80
89 inline const Aws::String& GetFinalDBSnapshotIdentifier() const { return m_finalDBSnapshotIdentifier; }
90 inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
91 template <typename FinalDBSnapshotIdentifierT = Aws::String>
92 void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
93 m_finalDBSnapshotIdentifierHasBeenSet = true;
94 m_finalDBSnapshotIdentifier = std::forward<FinalDBSnapshotIdentifierT>(value);
95 }
96 template <typename FinalDBSnapshotIdentifierT = Aws::String>
97 DeleteDBInstanceRequest& WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
98 SetFinalDBSnapshotIdentifier(std::forward<FinalDBSnapshotIdentifierT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_dBInstanceIdentifier;
104 bool m_dBInstanceIdentifierHasBeenSet = false;
105
106 bool m_skipFinalSnapshot{false};
107 bool m_skipFinalSnapshotHasBeenSet = false;
108
109 Aws::String m_finalDBSnapshotIdentifier;
110 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Neptune
115} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteDBInstanceRequest & WithSkipFinalSnapshot(bool value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
DeleteDBInstanceRequest & WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
AWS_NEPTUNE_API DeleteDBInstanceRequest()=default
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
DeleteDBInstanceRequest & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String