AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteTenantDatabaseRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RDS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_RDS_API DeleteTenantDatabaseRequest() = 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 "DeleteTenantDatabase"; }
31
32 AWS_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
44 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
45 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
46 template<typename DBInstanceIdentifierT = Aws::String>
47 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value); }
48 template<typename DBInstanceIdentifierT = Aws::String>
49 DeleteTenantDatabaseRequest& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) { SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value)); return *this;}
51
53
58 inline const Aws::String& GetTenantDBName() const { return m_tenantDBName; }
59 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
60 template<typename TenantDBNameT = Aws::String>
61 void SetTenantDBName(TenantDBNameT&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::forward<TenantDBNameT>(value); }
62 template<typename TenantDBNameT = Aws::String>
63 DeleteTenantDatabaseRequest& WithTenantDBName(TenantDBNameT&& value) { SetTenantDBName(std::forward<TenantDBNameT>(value)); return *this;}
65
67
75 inline bool GetSkipFinalSnapshot() const { return m_skipFinalSnapshot; }
76 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
77 inline void SetSkipFinalSnapshot(bool value) { m_skipFinalSnapshotHasBeenSet = true; m_skipFinalSnapshot = value; }
78 inline DeleteTenantDatabaseRequest& WithSkipFinalSnapshot(bool value) { SetSkipFinalSnapshot(value); return *this;}
80
82
88 inline const Aws::String& GetFinalDBSnapshotIdentifier() const { return m_finalDBSnapshotIdentifier; }
89 inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
90 template<typename FinalDBSnapshotIdentifierT = Aws::String>
91 void SetFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = std::forward<FinalDBSnapshotIdentifierT>(value); }
92 template<typename FinalDBSnapshotIdentifierT = Aws::String>
93 DeleteTenantDatabaseRequest& WithFinalDBSnapshotIdentifier(FinalDBSnapshotIdentifierT&& value) { SetFinalDBSnapshotIdentifier(std::forward<FinalDBSnapshotIdentifierT>(value)); return *this;}
95 private:
96
97 Aws::String m_dBInstanceIdentifier;
98 bool m_dBInstanceIdentifierHasBeenSet = false;
99
100 Aws::String m_tenantDBName;
101 bool m_tenantDBNameHasBeenSet = false;
102
103 bool m_skipFinalSnapshot{false};
104 bool m_skipFinalSnapshotHasBeenSet = false;
105
106 Aws::String m_finalDBSnapshotIdentifier;
107 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace RDS
112} // 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