AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeDBRecommendationsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDS_EXPORTS.h>
10#include <aws/rds/model/DBRecommendation.h>
11#include <aws/rds/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace RDS {
25namespace Model {
27 public:
28 AWS_RDS_API DescribeDBRecommendationsResult() = default;
31
33
37 inline const Aws::Vector<DBRecommendation>& GetDBRecommendations() const { return m_dBRecommendations; }
38 template <typename DBRecommendationsT = Aws::Vector<DBRecommendation>>
39 void SetDBRecommendations(DBRecommendationsT&& value) {
40 m_dBRecommendationsHasBeenSet = true;
41 m_dBRecommendations = std::forward<DBRecommendationsT>(value);
42 }
43 template <typename DBRecommendationsT = Aws::Vector<DBRecommendation>>
45 SetDBRecommendations(std::forward<DBRecommendationsT>(value));
46 return *this;
47 }
48 template <typename DBRecommendationsT = DBRecommendation>
50 m_dBRecommendationsHasBeenSet = true;
51 m_dBRecommendations.emplace_back(std::forward<DBRecommendationsT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetMarker() const { return m_marker; }
63 template <typename MarkerT = Aws::String>
64 void SetMarker(MarkerT&& value) {
65 m_markerHasBeenSet = true;
66 m_marker = std::forward<MarkerT>(value);
67 }
68 template <typename MarkerT = Aws::String>
70 SetMarker(std::forward<MarkerT>(value));
71 return *this;
72 }
74
76
77 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
78 template <typename ResponseMetadataT = ResponseMetadata>
79 void SetResponseMetadata(ResponseMetadataT&& value) {
80 m_responseMetadataHasBeenSet = true;
81 m_responseMetadata = std::forward<ResponseMetadataT>(value);
82 }
83 template <typename ResponseMetadataT = ResponseMetadata>
85 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
86 return *this;
87 }
89 private:
90 Aws::Vector<DBRecommendation> m_dBRecommendations;
91
92 Aws::String m_marker;
93
94 ResponseMetadata m_responseMetadata;
95 bool m_dBRecommendationsHasBeenSet = false;
96 bool m_markerHasBeenSet = false;
97 bool m_responseMetadataHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace RDS
102} // namespace Aws
DescribeDBRecommendationsResult & WithMarker(MarkerT &&value)
DescribeDBRecommendationsResult & AddDBRecommendations(DBRecommendationsT &&value)
const Aws::Vector< DBRecommendation > & GetDBRecommendations() const
AWS_RDS_API DescribeDBRecommendationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeDBRecommendationsResult & WithDBRecommendations(DBRecommendationsT &&value)
DescribeDBRecommendationsResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_RDS_API DescribeDBRecommendationsResult & 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