AWS SDK for C++

AWS SDK for C++ Version 1.11.714

Loading...
Searching...
No Matches
DeleteClusterSnapshotRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
23 public:
24 AWS_REDSHIFT_API DeleteClusterSnapshotRequest() = default;
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 "DeleteClusterSnapshot"; }
31
32 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
36
37 public:
39
45 inline const Aws::String& GetSnapshotIdentifier() const { return m_snapshotIdentifier; }
46 inline bool SnapshotIdentifierHasBeenSet() const { return m_snapshotIdentifierHasBeenSet; }
47 template <typename SnapshotIdentifierT = Aws::String>
48 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) {
49 m_snapshotIdentifierHasBeenSet = true;
50 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
51 }
52 template <typename SnapshotIdentifierT = Aws::String>
54 SetSnapshotIdentifier(std::forward<SnapshotIdentifierT>(value));
55 return *this;
56 }
58
60
66 inline const Aws::String& GetSnapshotClusterIdentifier() const { return m_snapshotClusterIdentifier; }
67 inline bool SnapshotClusterIdentifierHasBeenSet() const { return m_snapshotClusterIdentifierHasBeenSet; }
68 template <typename SnapshotClusterIdentifierT = Aws::String>
69 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) {
70 m_snapshotClusterIdentifierHasBeenSet = true;
71 m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value);
72 }
73 template <typename SnapshotClusterIdentifierT = Aws::String>
74 DeleteClusterSnapshotRequest& WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) {
75 SetSnapshotClusterIdentifier(std::forward<SnapshotClusterIdentifierT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_snapshotIdentifier;
81
82 Aws::String m_snapshotClusterIdentifier;
83 bool m_snapshotIdentifierHasBeenSet = false;
84 bool m_snapshotClusterIdentifierHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace Redshift
89} // 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