AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteDBInstanceRequest.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Neptune
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NEPTUNE_API DeleteDBInstanceRequest() = default;
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_NEPTUNE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
45 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
46 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
47 template<typename DBInstanceIdentifierT = Aws::String>
48 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value); }
49 template<typename DBInstanceIdentifierT = Aws::String>
50 DeleteDBInstanceRequest& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) { SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value)); return *this;}
52
54
65 inline bool GetSkipFinalSnapshot() const { return m_skipFinalSnapshot; }
66 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
67 inline void SetSkipFinalSnapshot(bool value) { m_skipFinalSnapshotHasBeenSet = true; m_skipFinalSnapshot = value; }
68 inline DeleteDBInstanceRequest& WithSkipFinalSnapshot(bool value) { SetSkipFinalSnapshot(value); return *this;}
70
72
81 inline const Aws::String& GetFinalDBSnapshotIdentifier() const { return m_finalDBSnapshotIdentifier; }
82 inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
83 template<typename FinalDBSnapshotIdentifierT = Aws::String>
84 void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = std::forward<FinalDBSnapshotIdentifierT>(value); }
85 template<typename FinalDBSnapshotIdentifierT = Aws::String>
86 DeleteDBInstanceRequest& WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) { SetFinalDBSnapshotIdentifier(std::forward<FinalDBSnapshotIdentifierT>(value)); return *this;}
88 private:
89
90 Aws::String m_dBInstanceIdentifier;
91 bool m_dBInstanceIdentifierHasBeenSet = false;
92
93 bool m_skipFinalSnapshot{false};
94 bool m_skipFinalSnapshotHasBeenSet = false;
95
96 Aws::String m_finalDBSnapshotIdentifier;
97 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Neptune
102} // 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