AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedCacheNodesResult.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/ReservedCacheNode.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 DescribeReservedCacheNodesResult();
42
43
45
48 inline const Aws::String& GetMarker() const{ return m_marker; }
49 inline void SetMarker(const Aws::String& value) { m_marker = value; }
50 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
51 inline void SetMarker(const char* value) { m_marker.assign(value); }
52 inline DescribeReservedCacheNodesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
53 inline DescribeReservedCacheNodesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
54 inline DescribeReservedCacheNodesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
56
58
62 inline const Aws::Vector<ReservedCacheNode>& GetReservedCacheNodes() const{ return m_reservedCacheNodes; }
63 inline void SetReservedCacheNodes(const Aws::Vector<ReservedCacheNode>& value) { m_reservedCacheNodes = value; }
64 inline void SetReservedCacheNodes(Aws::Vector<ReservedCacheNode>&& value) { m_reservedCacheNodes = std::move(value); }
67 inline DescribeReservedCacheNodesResult& AddReservedCacheNodes(const ReservedCacheNode& value) { m_reservedCacheNodes.push_back(value); return *this; }
68 inline DescribeReservedCacheNodesResult& AddReservedCacheNodes(ReservedCacheNode&& value) { m_reservedCacheNodes.push_back(std::move(value)); return *this; }
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
79 private:
80
81 Aws::String m_marker;
82
83 Aws::Vector<ReservedCacheNode> m_reservedCacheNodes;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace ElastiCache
90} // namespace Aws
DescribeReservedCacheNodesResult & AddReservedCacheNodes(ReservedCacheNode &&value)
const Aws::Vector< ReservedCacheNode > & GetReservedCacheNodes() const
DescribeReservedCacheNodesResult & AddReservedCacheNodes(const ReservedCacheNode &value)
AWS_ELASTICACHE_API DescribeReservedCacheNodesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReservedCacheNodesResult & WithReservedCacheNodes(const Aws::Vector< ReservedCacheNode > &value)
DescribeReservedCacheNodesResult & WithReservedCacheNodes(Aws::Vector< ReservedCacheNode > &&value)
DescribeReservedCacheNodesResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_ELASTICACHE_API DescribeReservedCacheNodesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReservedCacheNodesResult & WithMarker(Aws::String &&value)
void SetReservedCacheNodes(Aws::Vector< ReservedCacheNode > &&value)
DescribeReservedCacheNodesResult & WithMarker(const char *value)
DescribeReservedCacheNodesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetReservedCacheNodes(const Aws::Vector< ReservedCacheNode > &value)
DescribeReservedCacheNodesResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument