AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRecommendationsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/Recommendation.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 ListRecommendationsResult();
36
37
39
42 inline const Aws::Vector<Recommendation>& GetRecommendations() const{ return m_recommendations; }
43 inline void SetRecommendations(const Aws::Vector<Recommendation>& value) { m_recommendations = value; }
44 inline void SetRecommendations(Aws::Vector<Recommendation>&& value) { m_recommendations = std::move(value); }
47 inline ListRecommendationsResult& AddRecommendations(const Recommendation& value) { m_recommendations.push_back(value); return *this; }
48 inline ListRecommendationsResult& AddRecommendations(Recommendation&& value) { m_recommendations.push_back(std::move(value)); return *this; }
50
52
59 inline const Aws::String& GetMarker() const{ return m_marker; }
60 inline void SetMarker(const Aws::String& value) { m_marker = value; }
61 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
62 inline void SetMarker(const char* value) { m_marker.assign(value); }
63 inline ListRecommendationsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
64 inline ListRecommendationsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
65 inline ListRecommendationsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
67
69
70 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
71 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
72 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
74 inline ListRecommendationsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
76 private:
77
78 Aws::Vector<Recommendation> m_recommendations;
79
80 Aws::String m_marker;
81
82 ResponseMetadata m_responseMetadata;
83 };
84
85} // namespace Model
86} // namespace Redshift
87} // namespace Aws
const Aws::Vector< Recommendation > & GetRecommendations() const
void SetRecommendations(const Aws::Vector< Recommendation > &value)
ListRecommendationsResult & WithRecommendations(const Aws::Vector< Recommendation > &value)
ListRecommendationsResult & AddRecommendations(Recommendation &&value)
AWS_REDSHIFT_API ListRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ListRecommendationsResult & WithResponseMetadata(ResponseMetadata &&value)
ListRecommendationsResult & WithRecommendations(Aws::Vector< Recommendation > &&value)
ListRecommendationsResult & AddRecommendations(const Recommendation &value)
void SetRecommendations(Aws::Vector< Recommendation > &&value)
ListRecommendationsResult & WithMarker(Aws::String &&value)
ListRecommendationsResult & WithMarker(const char *value)
void SetResponseMetadata(const ResponseMetadata &value)
ListRecommendationsResult & WithResponseMetadata(const ResponseMetadata &value)
ListRecommendationsResult & WithMarker(const Aws::String &value)
AWS_REDSHIFT_API ListRecommendationsResult & operator=(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