AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetReservedNodeExchangeOfferingsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/ReservedNodeOffering.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 Redshift
27{
28namespace Model
29{
31 {
32 public:
33 AWS_REDSHIFT_API GetReservedNodeExchangeOfferingsResult() = default;
36
37
39
47 inline const Aws::String& GetMarker() const { return m_marker; }
48 template<typename MarkerT = Aws::String>
49 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
50 template<typename MarkerT = Aws::String>
51 GetReservedNodeExchangeOfferingsResult& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
53
55
58 inline const Aws::Vector<ReservedNodeOffering>& GetReservedNodeOfferings() const { return m_reservedNodeOfferings; }
59 template<typename ReservedNodeOfferingsT = Aws::Vector<ReservedNodeOffering>>
60 void SetReservedNodeOfferings(ReservedNodeOfferingsT&& value) { m_reservedNodeOfferingsHasBeenSet = true; m_reservedNodeOfferings = std::forward<ReservedNodeOfferingsT>(value); }
61 template<typename ReservedNodeOfferingsT = Aws::Vector<ReservedNodeOffering>>
62 GetReservedNodeExchangeOfferingsResult& WithReservedNodeOfferings(ReservedNodeOfferingsT&& value) { SetReservedNodeOfferings(std::forward<ReservedNodeOfferingsT>(value)); return *this;}
63 template<typename ReservedNodeOfferingsT = ReservedNodeOffering>
64 GetReservedNodeExchangeOfferingsResult& AddReservedNodeOfferings(ReservedNodeOfferingsT&& value) { m_reservedNodeOfferingsHasBeenSet = true; m_reservedNodeOfferings.emplace_back(std::forward<ReservedNodeOfferingsT>(value)); return *this; }
66
68
69 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
70 template<typename ResponseMetadataT = ResponseMetadata>
71 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
72 template<typename ResponseMetadataT = ResponseMetadata>
73 GetReservedNodeExchangeOfferingsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
75 private:
76
77 Aws::String m_marker;
78 bool m_markerHasBeenSet = false;
79
80 Aws::Vector<ReservedNodeOffering> m_reservedNodeOfferings;
81 bool m_reservedNodeOfferingsHasBeenSet = false;
82
83 ResponseMetadata m_responseMetadata;
84 bool m_responseMetadataHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Redshift
89} // namespace Aws
GetReservedNodeExchangeOfferingsResult & WithReservedNodeOfferings(ReservedNodeOfferingsT &&value)
AWS_REDSHIFT_API GetReservedNodeExchangeOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ReservedNodeOffering > & GetReservedNodeOfferings() const
GetReservedNodeExchangeOfferingsResult & WithMarker(MarkerT &&value)
GetReservedNodeExchangeOfferingsResult & AddReservedNodeOfferings(ReservedNodeOfferingsT &&value)
AWS_REDSHIFT_API GetReservedNodeExchangeOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetReservedNodeExchangeOfferingsResult & WithResponseMetadata(ResponseMetadataT &&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