AWS SDK for C++  1.9.108
AWS SDK for C++
DeleteDBClusterSnapshotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
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 "DeleteDBClusterSnapshot"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
47  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
48 
54  inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
55 
61  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
62 
68  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
69 
75  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
76 
82  inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
83 
89  inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
90 
96  inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
97 
98  private:
99 
100  Aws::String m_dBClusterSnapshotIdentifier;
101  bool m_dBClusterSnapshotIdentifierHasBeenSet;
102  };
103 
104 } // namespace Model
105 } // namespace RDS
106 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::WithDBClusterSnapshotIdentifier
DeleteDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBClusterSnapshotRequest.h:89
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::GetDBClusterSnapshotIdentifier
const Aws::String & GetDBClusterSnapshotIdentifier() const
Definition: DeleteDBClusterSnapshotRequest.h:47
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::DeleteDBClusterSnapshotRequest
DeleteDBClusterSnapshotRequest()
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::DBClusterSnapshotIdentifierHasBeenSet
bool DBClusterSnapshotIdentifierHasBeenSet() const
Definition: DeleteDBClusterSnapshotRequest.h:54
RDS_EXPORTS.h
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBClusterSnapshotRequest.h:33
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::WithDBClusterSnapshotIdentifier
DeleteDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBClusterSnapshotRequest.h:82
AWSString.h
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::WithDBClusterSnapshotIdentifier
DeleteDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(const char *value)
Definition: DeleteDBClusterSnapshotRequest.h:96
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DeleteDBClusterSnapshotRequest
Definition: DeleteDBClusterSnapshotRequest.h:25
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBClusterSnapshotRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const char *value)
Definition: DeleteDBClusterSnapshotRequest.h:75
Aws::RDS::Model::DeleteDBClusterSnapshotRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBClusterSnapshotRequest.h:61
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17