AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
47 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
48 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
51 inline DeleteTenantDatabaseRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
53
55
60 inline const Aws::String& GetTenantDBName() const{ return m_tenantDBName; }
61 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
62 inline void SetTenantDBName(const Aws::String& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = value; }
63 inline void SetTenantDBName(Aws::String&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::move(value); }
64 inline void SetTenantDBName(const char* value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName.assign(value); }
65 inline DeleteTenantDatabaseRequest& WithTenantDBName(const Aws::String& value) { SetTenantDBName(value); return *this;}
66 inline DeleteTenantDatabaseRequest& WithTenantDBName(Aws::String&& value) { SetTenantDBName(std::move(value)); return *this;}
67 inline DeleteTenantDatabaseRequest& WithTenantDBName(const char* value) { SetTenantDBName(value); return *this;}
69
71
79 inline bool GetSkipFinalSnapshot() const{ return m_skipFinalSnapshot; }
80 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
81 inline void SetSkipFinalSnapshot(bool value) { m_skipFinalSnapshotHasBeenSet = true; m_skipFinalSnapshot = value; }
82 inline DeleteTenantDatabaseRequest& WithSkipFinalSnapshot(bool value) { SetSkipFinalSnapshot(value); return *this;}
84
86
92 inline const Aws::String& GetFinalDBSnapshotIdentifier() const{ return m_finalDBSnapshotIdentifier; }
93 inline bool FinalDBSnapshotIdentifierHasBeenSet() const { return m_finalDBSnapshotIdentifierHasBeenSet; }
94 inline void SetFinalDBSnapshotIdentifier(const Aws::String& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = value; }
95 inline void SetFinalDBSnapshotIdentifier(Aws::String&& value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier = std::move(value); }
96 inline void SetFinalDBSnapshotIdentifier(const char* value) { m_finalDBSnapshotIdentifierHasBeenSet = true; m_finalDBSnapshotIdentifier.assign(value); }
101 private:
102
103 Aws::String m_dBInstanceIdentifier;
104 bool m_dBInstanceIdentifierHasBeenSet = false;
105
106 Aws::String m_tenantDBName;
107 bool m_tenantDBNameHasBeenSet = false;
108
109 bool m_skipFinalSnapshot;
110 bool m_skipFinalSnapshotHasBeenSet = false;
111
112 Aws::String m_finalDBSnapshotIdentifier;
113 bool m_finalDBSnapshotIdentifierHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace RDS
118} // namespace Aws
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteTenantDatabaseRequest & WithDBInstanceIdentifier(const char *value)
DeleteTenantDatabaseRequest & WithTenantDBName(const char *value)
DeleteTenantDatabaseRequest & WithTenantDBName(Aws::String &&value)
DeleteTenantDatabaseRequest & WithFinalDBSnapshotIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
DeleteTenantDatabaseRequest & WithFinalDBSnapshotIdentifier(const char *value)
DeleteTenantDatabaseRequest & WithTenantDBName(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
DeleteTenantDatabaseRequest & WithFinalDBSnapshotIdentifier(const Aws::String &value)
DeleteTenantDatabaseRequest & WithSkipFinalSnapshot(bool value)
DeleteTenantDatabaseRequest & WithDBInstanceIdentifier(const Aws::String &value)
DeleteTenantDatabaseRequest & WithDBInstanceIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String