AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteDBClusterSnapshotRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Neptune
15 {
16 namespace 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 "DeleteDBClusterSnapshot"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
44  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
45 
51  inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
52 
58  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
59 
65  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
66 
72  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
73 
79  inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
80 
86  inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
87 
93  inline DeleteDBClusterSnapshotRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
94 
95  private:
96 
97  Aws::String m_dBClusterSnapshotIdentifier;
98  bool m_dBClusterSnapshotIdentifierHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace Neptune
103 } // namespace Aws
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::WithDBClusterSnapshotIdentifier
DeleteDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBClusterSnapshotRequest.h:86
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::URI
Definition: URI.h:32
Neptune_EXPORTS.h
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::WithDBClusterSnapshotIdentifier
DeleteDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBClusterSnapshotRequest.h:79
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest
Definition: DeleteDBClusterSnapshotRequest.h:22
Aws::Neptune::NeptuneRequest
Definition: NeptuneRequest.h:17
AWSString.h
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::DBClusterSnapshotIdentifierHasBeenSet
bool DBClusterSnapshotIdentifierHasBeenSet() const
Definition: DeleteDBClusterSnapshotRequest.h:51
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::WithDBClusterSnapshotIdentifier
DeleteDBClusterSnapshotRequest & WithDBClusterSnapshotIdentifier(const char *value)
Definition: DeleteDBClusterSnapshotRequest.h:93
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DeleteDBClusterSnapshotRequest.h:65
NeptuneRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DeleteDBClusterSnapshotRequest.h:58
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const char *value)
Definition: DeleteDBClusterSnapshotRequest.h:72
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::DeleteDBClusterSnapshotRequest
DeleteDBClusterSnapshotRequest()
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::GetDBClusterSnapshotIdentifier
const Aws::String & GetDBClusterSnapshotIdentifier() const
Definition: DeleteDBClusterSnapshotRequest.h:44
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Neptune::Model::DeleteDBClusterSnapshotRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDBClusterSnapshotRequest.h:30