AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRelationalDatabaseRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/lightsail/LightsailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Lightsail
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 "DeleteRelationalDatabase"; }
31
32 AWS_LIGHTSAIL_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetRelationalDatabaseName() const{ return m_relationalDatabaseName; }
42 inline bool RelationalDatabaseNameHasBeenSet() const { return m_relationalDatabaseNameHasBeenSet; }
43 inline void SetRelationalDatabaseName(const Aws::String& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = value; }
44 inline void SetRelationalDatabaseName(Aws::String&& value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName = std::move(value); }
45 inline void SetRelationalDatabaseName(const char* value) { m_relationalDatabaseNameHasBeenSet = true; m_relationalDatabaseName.assign(value); }
50
52
60 inline bool GetSkipFinalSnapshot() const{ return m_skipFinalSnapshot; }
61 inline bool SkipFinalSnapshotHasBeenSet() const { return m_skipFinalSnapshotHasBeenSet; }
62 inline void SetSkipFinalSnapshot(bool value) { m_skipFinalSnapshotHasBeenSet = true; m_skipFinalSnapshot = value; }
65
67
76 inline const Aws::String& GetFinalRelationalDatabaseSnapshotName() const{ return m_finalRelationalDatabaseSnapshotName; }
77 inline bool FinalRelationalDatabaseSnapshotNameHasBeenSet() const { return m_finalRelationalDatabaseSnapshotNameHasBeenSet; }
78 inline void SetFinalRelationalDatabaseSnapshotName(const Aws::String& value) { m_finalRelationalDatabaseSnapshotNameHasBeenSet = true; m_finalRelationalDatabaseSnapshotName = value; }
79 inline void SetFinalRelationalDatabaseSnapshotName(Aws::String&& value) { m_finalRelationalDatabaseSnapshotNameHasBeenSet = true; m_finalRelationalDatabaseSnapshotName = std::move(value); }
80 inline void SetFinalRelationalDatabaseSnapshotName(const char* value) { m_finalRelationalDatabaseSnapshotNameHasBeenSet = true; m_finalRelationalDatabaseSnapshotName.assign(value); }
85 private:
86
87 Aws::String m_relationalDatabaseName;
88 bool m_relationalDatabaseNameHasBeenSet = false;
89
90 bool m_skipFinalSnapshot;
91 bool m_skipFinalSnapshotHasBeenSet = false;
92
93 Aws::String m_finalRelationalDatabaseSnapshotName;
94 bool m_finalRelationalDatabaseSnapshotNameHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Lightsail
99} // namespace Aws
DeleteRelationalDatabaseRequest & WithRelationalDatabaseName(const char *value)
DeleteRelationalDatabaseRequest & WithSkipFinalSnapshot(bool value)
DeleteRelationalDatabaseRequest & WithFinalRelationalDatabaseSnapshotName(const char *value)
DeleteRelationalDatabaseRequest & WithFinalRelationalDatabaseSnapshotName(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::String SerializePayload() const override
DeleteRelationalDatabaseRequest & WithRelationalDatabaseName(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteRelationalDatabaseRequest & WithFinalRelationalDatabaseSnapshotName(Aws::String &&value)
DeleteRelationalDatabaseRequest & WithRelationalDatabaseName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String