AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSnapshotsResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/model/ResponseMetadata.h>
11#include <aws/elasticache/model/Snapshot.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace ElastiCache
27{
28namespace Model
29{
37 {
38 public:
39 AWS_ELASTICACHE_API DescribeSnapshotsResult();
42
43
45
51 inline const Aws::String& GetMarker() const{ return m_marker; }
52 inline void SetMarker(const Aws::String& value) { m_marker = value; }
53 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
54 inline void SetMarker(const char* value) { m_marker.assign(value); }
55 inline DescribeSnapshotsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
56 inline DescribeSnapshotsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
57 inline DescribeSnapshotsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
59
61
65 inline const Aws::Vector<Snapshot>& GetSnapshots() const{ return m_snapshots; }
66 inline void SetSnapshots(const Aws::Vector<Snapshot>& value) { m_snapshots = value; }
67 inline void SetSnapshots(Aws::Vector<Snapshot>&& value) { m_snapshots = std::move(value); }
68 inline DescribeSnapshotsResult& WithSnapshots(const Aws::Vector<Snapshot>& value) { SetSnapshots(value); return *this;}
69 inline DescribeSnapshotsResult& WithSnapshots(Aws::Vector<Snapshot>&& value) { SetSnapshots(std::move(value)); return *this;}
70 inline DescribeSnapshotsResult& AddSnapshots(const Snapshot& value) { m_snapshots.push_back(value); return *this; }
71 inline DescribeSnapshotsResult& AddSnapshots(Snapshot&& value) { m_snapshots.push_back(std::move(value)); return *this; }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
77 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
78 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 inline DescribeSnapshotsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_marker;
85
86 Aws::Vector<Snapshot> m_snapshots;
87
88 ResponseMetadata m_responseMetadata;
89 };
90
91} // namespace Model
92} // namespace ElastiCache
93} // namespace Aws
DescribeSnapshotsResult & WithMarker(Aws::String &&value)
void SetSnapshots(Aws::Vector< Snapshot > &&value)
DescribeSnapshotsResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< Snapshot > & GetSnapshots() const
DescribeSnapshotsResult & WithMarker(const char *value)
void SetSnapshots(const Aws::Vector< Snapshot > &value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeSnapshotsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeSnapshotsResult & AddSnapshots(const Snapshot &value)
DescribeSnapshotsResult & WithSnapshots(const Aws::Vector< Snapshot > &value)
DescribeSnapshotsResult & WithSnapshots(Aws::Vector< Snapshot > &&value)
DescribeSnapshotsResult & AddSnapshots(Snapshot &&value)
DescribeSnapshotsResult & WithMarker(const Aws::String &value)
AWS_ELASTICACHE_API DescribeSnapshotsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API DescribeSnapshotsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument