AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteClusterSnapshotRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteClusterSnapshot"; }
34
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
48 inline const Aws::String& GetSnapshotIdentifier() const{ return m_snapshotIdentifier; }
49
56 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
57
64 inline void SetSnapshotIdentifier(const Aws::String& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = value; }
65
72 inline void SetSnapshotIdentifier(Aws::String&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::move(value); }
73
80 inline void SetSnapshotIdentifier(const char* value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier.assign(value); }
81
89
96 inline DeleteClusterSnapshotRequest& WithSnapshotIdentifier(Aws::String&& value) { SetSnapshotIdentifier(std::move(value)); return *this;}
97
104 inline DeleteClusterSnapshotRequest& WithSnapshotIdentifier(const char* value) { SetSnapshotIdentifier(value); return *this;}
105
106
113 inline const Aws::String& GetSnapshotClusterIdentifier() const{ return m_snapshotClusterIdentifier; }
114
121 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
122
129 inline void SetSnapshotClusterIdentifier(const Aws::String& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = value; }
130
137 inline void SetSnapshotClusterIdentifier(Aws::String&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::move(value); }
138
145 inline void SetSnapshotClusterIdentifier(const char* value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier.assign(value); }
146
154
162
170
171 private:
172
173 Aws::String m_snapshotIdentifier;
174 bool m_snapshotIdentifierHasBeenSet = false;
175
176 Aws::String m_snapshotClusterIdentifier;
177 bool m_snapshotClusterIdentifierHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace Redshift
182} // namespace Aws
#define AWS_REDSHIFT_API
virtual const char * GetServiceRequestName() const override
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(Aws::String &&value)
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(const Aws::String &value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(const char *value)
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(const char *value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String