AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteTenantDatabaseRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace RDS {
15namespace Model {
16
20 public:
21 AWS_RDS_API DeleteTenantDatabaseRequest() = 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 "DeleteTenantDatabase"; }
28
29 AWS_RDS_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
40 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
41 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
42 template <typename DBInstanceIdentifierT = Aws::String>
43 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
44 m_dBInstanceIdentifierHasBeenSet = true;
45 m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value);
46 }
47 template <typename DBInstanceIdentifierT = Aws::String>
48 DeleteTenantDatabaseRequest& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) {
49 SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetTenantDBName() const { return m_tenantDBName; }
61 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
62 template <typename TenantDBNameT = Aws::String>
63 void SetTenantDBName(TenantDBNameT&& value) {
64 m_tenantDBNameHasBeenSet = true;
65 m_tenantDBName = std::forward<TenantDBNameT>(value);
66 }
67 template <typename TenantDBNameT = Aws::String>
69 SetTenantDBName(std::forward<TenantDBNameT>(value));
70 return *this;
71 }
73
75
83 inline bool GetSkipFinalSnapshot() const { return m_skipFinalSnapshot; }
84 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
85 inline void SetSkipFinalSnapshot(bool value) {
86 m_skipFinalSnapshotHasBeenSet = true;
87 m_skipFinalSnapshot = value;
88 }
91 return *this;
92 }
94
96
102 inline const Aws::String& GetFinalDBSnapshotIdentifier() const { return m_finalDBSnapshotIdentifier; }
103 inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
104 template <typename FinalDBSnapshotIdentifierT = Aws::String>
105 void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
106 m_finalDBSnapshotIdentifierHasBeenSet = true;
107 m_finalDBSnapshotIdentifier = std::forward<FinalDBSnapshotIdentifierT>(value);
108 }
109 template <typename FinalDBSnapshotIdentifierT = Aws::String>
110 DeleteTenantDatabaseRequest& WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) {
111 SetFinalDBSnapshotIdentifier(std::forward<FinalDBSnapshotIdentifierT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_dBInstanceIdentifier;
117
118 Aws::String m_tenantDBName;
119
120 bool m_skipFinalSnapshot{false};
121
122 Aws::String m_finalDBSnapshotIdentifier;
123 bool m_dBInstanceIdentifierHasBeenSet = false;
124 bool m_tenantDBNameHasBeenSet = false;
125 bool m_skipFinalSnapshotHasBeenSet = false;
126 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace RDS
131} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
AWS_RDS_API DeleteTenantDatabaseRequest()=default
DeleteTenantDatabaseRequest & WithTenantDBName(TenantDBNameT &&value)
DeleteTenantDatabaseRequest & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
DeleteTenantDatabaseRequest & WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
DeleteTenantDatabaseRequest & WithSkipFinalSnapshot(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String