AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
DeleteDBClusterRequest.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 DeleteDBClusterRequest() = 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 "DeleteDBCluster"; }
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& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
42 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
43 template <typename DBClusterIdentifierT = Aws::String>
44 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
45 m_dBClusterIdentifierHasBeenSet = true;
46 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
47 }
48 template <typename DBClusterIdentifierT = Aws::String>
49 DeleteDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
50 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
51 return *this;
52 }
54
56
65 inline bool GetSkipFinalSnapshot() const { return m_skipFinalSnapshot; }
66 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
67 inline void SetSkipFinalSnapshot(bool value) {
68 m_skipFinalSnapshotHasBeenSet = true;
69 m_skipFinalSnapshot = value;
70 }
73 return *this;
74 }
76
78
87 inline const Aws::String& GetFinalDBSnapshotIdentifier() const { return m_finalDBSnapshotIdentifier; }
88 inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
89 template <typename FinalDBSnapshotIdentifierT = Aws::String>
90 void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
91 m_finalDBSnapshotIdentifierHasBeenSet = true;
92 m_finalDBSnapshotIdentifier = std::forward<FinalDBSnapshotIdentifierT>(value);
93 }
94 template <typename FinalDBSnapshotIdentifierT = Aws::String>
95 DeleteDBClusterRequest& WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
96 SetFinalDBSnapshotIdentifier(std::forward<FinalDBSnapshotIdentifierT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_dBClusterIdentifier;
102 bool m_dBClusterIdentifierHasBeenSet = false;
103
104 bool m_skipFinalSnapshot{false};
105 bool m_skipFinalSnapshotHasBeenSet = false;
106
107 Aws::String m_finalDBSnapshotIdentifier;
108 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace Neptune
113} // namespace Aws
AWS_NEPTUNE_API Aws::String SerializePayload() const override
DeleteDBClusterRequest & WithSkipFinalSnapshot(bool value)
DeleteDBClusterRequest & WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
const Aws::String & GetFinalDBSnapshotIdentifier() const
AWS_NEPTUNE_API DeleteDBClusterRequest()=default
virtual const char * GetServiceRequestName() const override
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
DeleteDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String