AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteClusterSnapshotRequest.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_REDSHIFT_API DeleteClusterSnapshotRequest() = default;
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_REDSHIFT_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39
40 public:
41
43
49 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
50 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
51 template<typename SnapshotIdentifierT = Aws::String>
52 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet = true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
53 template<typename SnapshotIdentifierT = Aws::String>
54 DeleteClusterSnapshotRequest& WithSnapshotIdentifier(SnapshotIdentifierT&& value) { SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value)); return *this;}
56
58
64 inline const Aws::String& GetSnapshotClusterIdentifier() const { return m_snapshotClusterIdentifier; }
65 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
66 template<typename SnapshotClusterIdentifierT = Aws::String>
67 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { m_snapshotClusterIdentifierHasBeenSet = true; m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value); }
68 template<typename SnapshotClusterIdentifierT = Aws::String>
69 DeleteClusterSnapshotRequest& WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { SetSnapshotClusterIdentifier(std::forward<SnapshotClusterIdentifierT>(value)); return *this;}
71 private:
72
73 Aws::String m_snapshotIdentifier;
74 bool m_snapshotIdentifierHasBeenSet = false;
75
76 Aws::String m_snapshotClusterIdentifier;
77 bool m_snapshotClusterIdentifierHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Redshift
82} // namespace Aws
DeleteClusterSnapshotRequest & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
DeleteClusterSnapshotRequest & WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
AWS_REDSHIFT_API DeleteClusterSnapshotRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String