AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateDBClusterSnapshotResult.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/model/DBClusterSnapshot.h>
9#include <aws/neptune/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 Neptune
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NEPTUNE_API CreateDBClusterSnapshotResult() = default;
34
35
37
38 inline const DBClusterSnapshot& GetDBClusterSnapshot() const { return m_dBClusterSnapshot; }
39 template<typename DBClusterSnapshotT = DBClusterSnapshot>
40 void SetDBClusterSnapshot(DBClusterSnapshotT&& value) { m_dBClusterSnapshotHasBeenSet = true; m_dBClusterSnapshot = std::forward<DBClusterSnapshotT>(value); }
41 template<typename DBClusterSnapshotT = DBClusterSnapshot>
42 CreateDBClusterSnapshotResult& WithDBClusterSnapshot(DBClusterSnapshotT&& value) { SetDBClusterSnapshot(std::forward<DBClusterSnapshotT>(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 CreateDBClusterSnapshotResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
53 private:
54
55 DBClusterSnapshot m_dBClusterSnapshot;
56 bool m_dBClusterSnapshotHasBeenSet = false;
57
58 ResponseMetadata m_responseMetadata;
59 bool m_responseMetadataHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Neptune
64} // namespace Aws
AWS_NEPTUNE_API CreateDBClusterSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_NEPTUNE_API CreateDBClusterSnapshotResult()=default
CreateDBClusterSnapshotResult & WithDBClusterSnapshot(DBClusterSnapshotT &&value)
AWS_NEPTUNE_API CreateDBClusterSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateDBClusterSnapshotResult & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument