AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CopyClusterSnapshotResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/model/Snapshot.h>
9#include <aws/redshift/model/ResponseMetadata.h>
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:
31 AWS_REDSHIFT_API CopyClusterSnapshotResult() = default;
34
35
37
38 inline const Snapshot& GetSnapshot() const { return m_snapshot; }
39 template<typename SnapshotT = Snapshot>
40 void SetSnapshot(SnapshotT&& value) { m_snapshotHasBeenSet = true; m_snapshot = std::forward<SnapshotT>(value); }
41 template<typename SnapshotT = Snapshot>
42 CopyClusterSnapshotResult& WithSnapshot(SnapshotT&& value) { SetSnapshot(std::forward<SnapshotT>(value)); return *this;}
44
46
47 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
48 template<typename ResponseMetadataT = ResponseMetadata>
49 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
50 template<typename ResponseMetadataT = ResponseMetadata>
51 CopyClusterSnapshotResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
53 private:
54
55 Snapshot m_snapshot;
56 bool m_snapshotHasBeenSet = false;
57
58 ResponseMetadata m_responseMetadata;
59 bool m_responseMetadataHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Redshift
64} // namespace Aws
AWS_REDSHIFT_API CopyClusterSnapshotResult()=default
AWS_REDSHIFT_API CopyClusterSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CopyClusterSnapshotResult & WithResponseMetadata(ResponseMetadataT &&value)
CopyClusterSnapshotResult & WithSnapshot(SnapshotT &&value)
AWS_REDSHIFT_API CopyClusterSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument