AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReservedCacheNodesOfferingsResult.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/ReservedCacheNodesOffering.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:
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 DescribeReservedCacheNodesOfferingsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
53 inline DescribeReservedCacheNodesOfferingsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
54 inline DescribeReservedCacheNodesOfferingsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
56
58
62 inline const Aws::Vector<ReservedCacheNodesOffering>& GetReservedCacheNodesOfferings() const{ return m_reservedCacheNodesOfferings; }
63 inline void SetReservedCacheNodesOfferings(const Aws::Vector<ReservedCacheNodesOffering>& value) { m_reservedCacheNodesOfferings = value; }
64 inline void SetReservedCacheNodesOfferings(Aws::Vector<ReservedCacheNodesOffering>&& value) { m_reservedCacheNodesOfferings = std::move(value); }
67 inline DescribeReservedCacheNodesOfferingsResult& AddReservedCacheNodesOfferings(const ReservedCacheNodesOffering& value) { m_reservedCacheNodesOfferings.push_back(value); return *this; }
68 inline DescribeReservedCacheNodesOfferingsResult& AddReservedCacheNodesOfferings(ReservedCacheNodesOffering&& value) { m_reservedCacheNodesOfferings.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<ReservedCacheNodesOffering> m_reservedCacheNodesOfferings;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace ElastiCache
90} // namespace Aws
DescribeReservedCacheNodesOfferingsResult & WithMarker(Aws::String &&value)
DescribeReservedCacheNodesOfferingsResult & WithMarker(const Aws::String &value)
DescribeReservedCacheNodesOfferingsResult & WithReservedCacheNodesOfferings(const Aws::Vector< ReservedCacheNodesOffering > &value)
void SetReservedCacheNodesOfferings(const Aws::Vector< ReservedCacheNodesOffering > &value)
AWS_ELASTICACHE_API DescribeReservedCacheNodesOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReservedCacheNodesOfferingsResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< ReservedCacheNodesOffering > & GetReservedCacheNodesOfferings() const
DescribeReservedCacheNodesOfferingsResult & AddReservedCacheNodesOfferings(ReservedCacheNodesOffering &&value)
void SetReservedCacheNodesOfferings(Aws::Vector< ReservedCacheNodesOffering > &&value)
DescribeReservedCacheNodesOfferingsResult & WithMarker(const char *value)
DescribeReservedCacheNodesOfferingsResult & AddReservedCacheNodesOfferings(const ReservedCacheNodesOffering &value)
DescribeReservedCacheNodesOfferingsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeReservedCacheNodesOfferingsResult & WithReservedCacheNodesOfferings(Aws::Vector< ReservedCacheNodesOffering > &&value)
AWS_ELASTICACHE_API DescribeReservedCacheNodesOfferingsResult(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