AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteClusterSnapshotResult.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift
25{
26namespace Model
27{
29 {
30 public:
34
35
36
37 inline const Snapshot& GetSnapshot() const{ return m_snapshot; }
38
39
40 inline void SetSnapshot(const Snapshot& value) { m_snapshot = value; }
41
42
43 inline void SetSnapshot(Snapshot&& value) { m_snapshot = std::move(value); }
44
45
46 inline DeleteClusterSnapshotResult& WithSnapshot(const Snapshot& value) { SetSnapshot(value); return *this;}
47
48
49 inline DeleteClusterSnapshotResult& WithSnapshot(Snapshot&& value) { SetSnapshot(std::move(value)); return *this;}
50
51
52
53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54
55
56 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
57
58
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60
61
63
64
65 inline DeleteClusterSnapshotResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
66
67 private:
68
69 Snapshot m_snapshot;
70
71 ResponseMetadata m_responseMetadata;
72 };
73
74} // namespace Model
75} // namespace Redshift
76} // namespace Aws
#define AWS_REDSHIFT_API
DeleteClusterSnapshotResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_REDSHIFT_API DeleteClusterSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteClusterSnapshotResult & WithSnapshot(const Snapshot &value)
AWS_REDSHIFT_API DeleteClusterSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteClusterSnapshotResult & WithSnapshot(Snapshot &&value)
DeleteClusterSnapshotResult & WithResponseMetadata(ResponseMetadata &&value)