AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteDBClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/docdb/DocDB_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DocDB {
15namespace Model {
16
23 public:
24 AWS_DOCDB_API DeleteDBClusterRequest() = 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 "DeleteDBCluster"; }
31
32 AWS_DOCDB_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
44 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
45 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
46 template <typename DBClusterIdentifierT = Aws::String>
47 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
48 m_dBClusterIdentifierHasBeenSet = true;
49 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
50 }
51 template <typename DBClusterIdentifierT = Aws::String>
52 DeleteDBClusterRequest& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
53 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
54 return *this;
55 }
57
59
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 DeleteDBClusterRequest& WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
98 SetFinalDBSnapshotIdentifier(std::forward<FinalDBSnapshotIdentifierT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_dBClusterIdentifier;
104
105 bool m_skipFinalSnapshot{false};
106
107 Aws::String m_finalDBSnapshotIdentifier;
108 bool m_dBClusterIdentifierHasBeenSet = false;
109 bool m_skipFinalSnapshotHasBeenSet = false;
110 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace DocDB
115} // namespace Aws
DeleteDBClusterRequest & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
DeleteDBClusterRequest & WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
AWS_DOCDB_API DeleteDBClusterRequest()=default
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
DeleteDBClusterRequest & WithSkipFinalSnapshot(bool value)
void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
const Aws::String & GetFinalDBSnapshotIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String