AWS SDK for C++  1.9.110
AWS SDK for C++
DeleteClusterSnapshotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Redshift
15 {
16 namespace 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 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  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 
88  inline DeleteClusterSnapshotRequest& WithSnapshotIdentifier(const Aws::String& value) { SetSnapshotIdentifier(value); return *this;}
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 
153  inline DeleteClusterSnapshotRequest& WithSnapshotClusterIdentifier(const Aws::String& value) { SetSnapshotClusterIdentifier(value); return *this;}
154 
161  inline DeleteClusterSnapshotRequest& WithSnapshotClusterIdentifier(Aws::String&& value) { SetSnapshotClusterIdentifier(std::move(value)); return *this;}
162 
169  inline DeleteClusterSnapshotRequest& WithSnapshotClusterIdentifier(const char* value) { SetSnapshotClusterIdentifier(value); return *this;}
170 
171  private:
172 
173  Aws::String m_snapshotIdentifier;
174  bool m_snapshotIdentifierHasBeenSet;
175 
176  Aws::String m_snapshotClusterIdentifier;
177  bool m_snapshotClusterIdentifierHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace Redshift
182 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SetSnapshotIdentifier
void SetSnapshotIdentifier(const char *value)
Definition: DeleteClusterSnapshotRequest.h:80
Aws::Redshift::Model::DeleteClusterSnapshotRequest::WithSnapshotIdentifier
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotRequest.h:96
Aws::Redshift::Model::DeleteClusterSnapshotRequest
Definition: DeleteClusterSnapshotRequest.h:25
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SetSnapshotClusterIdentifier
void SetSnapshotClusterIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotRequest.h:137
RedshiftRequest.h
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SetSnapshotClusterIdentifier
void SetSnapshotClusterIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotRequest.h:129
Aws::Redshift::Model::DeleteClusterSnapshotRequest::DeleteClusterSnapshotRequest
DeleteClusterSnapshotRequest()
Aws::Redshift::Model::DeleteClusterSnapshotRequest::WithSnapshotClusterIdentifier
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(const char *value)
Definition: DeleteClusterSnapshotRequest.h:169
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DeleteClusterSnapshotRequest::GetSnapshotClusterIdentifier
const Aws::String & GetSnapshotClusterIdentifier() const
Definition: DeleteClusterSnapshotRequest.h:113
Aws::Redshift::Model::DeleteClusterSnapshotRequest::GetSnapshotIdentifier
const Aws::String & GetSnapshotIdentifier() const
Definition: DeleteClusterSnapshotRequest.h:48
Aws::Redshift::Model::DeleteClusterSnapshotRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::DeleteClusterSnapshotRequest::WithSnapshotIdentifier
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotRequest.h:88
AWSString.h
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SetSnapshotClusterIdentifier
void SetSnapshotClusterIdentifier(const char *value)
Definition: DeleteClusterSnapshotRequest.h:145
Aws::Redshift::Model::DeleteClusterSnapshotRequest::WithSnapshotIdentifier
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(const char *value)
Definition: DeleteClusterSnapshotRequest.h:104
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Redshift::Model::DeleteClusterSnapshotRequest::WithSnapshotClusterIdentifier
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotRequest.h:161
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SnapshotClusterIdentifierHasBeenSet
bool SnapshotClusterIdentifierHasBeenSet() const
Definition: DeleteClusterSnapshotRequest.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DeleteClusterSnapshotRequest::WithSnapshotClusterIdentifier
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotRequest.h:153
Redshift_EXPORTS.h
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SetSnapshotIdentifier
void SetSnapshotIdentifier(const Aws::String &value)
Definition: DeleteClusterSnapshotRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DeleteClusterSnapshotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteClusterSnapshotRequest.h:33
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SetSnapshotIdentifier
void SetSnapshotIdentifier(Aws::String &&value)
Definition: DeleteClusterSnapshotRequest.h:72
Aws::Redshift::Model::DeleteClusterSnapshotRequest::SnapshotIdentifierHasBeenSet
bool SnapshotIdentifierHasBeenSet() const
Definition: DeleteClusterSnapshotRequest.h:56