AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopySnapshotResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/model/Snapshot.h>
9#include <aws/elasticache/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 ElastiCache
25{
26namespace Model
27{
29 {
30 public:
31 AWS_ELASTICACHE_API CopySnapshotResult();
34
35
37
38 inline const Snapshot& GetSnapshot() const{ return m_snapshot; }
39 inline void SetSnapshot(const Snapshot& value) { m_snapshot = value; }
40 inline void SetSnapshot(Snapshot&& value) { m_snapshot = std::move(value); }
41 inline CopySnapshotResult& WithSnapshot(const Snapshot& value) { SetSnapshot(value); return *this;}
42 inline CopySnapshotResult& WithSnapshot(Snapshot&& value) { SetSnapshot(std::move(value)); return *this;}
44
46
47 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
48 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
49 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
50 inline CopySnapshotResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
51 inline CopySnapshotResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
53 private:
54
55 Snapshot m_snapshot;
56
57 ResponseMetadata m_responseMetadata;
58 };
59
60} // namespace Model
61} // namespace ElastiCache
62} // namespace Aws
CopySnapshotResult & WithResponseMetadata(ResponseMetadata &&value)
CopySnapshotResult & WithSnapshot(const Snapshot &value)
CopySnapshotResult & WithSnapshot(Snapshot &&value)
AWS_ELASTICACHE_API CopySnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
AWS_ELASTICACHE_API CopySnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
CopySnapshotResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(ResponseMetadata &&value)
Aws::Utils::Xml::XmlDocument XmlDocument