AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ListDashboardsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/DashboardSummary.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API ListDashboardsResult() = default;
31
33
37 inline const Aws::Vector<DashboardSummary>& GetDashboardSummaryList() const { return m_dashboardSummaryList; }
38 template <typename DashboardSummaryListT = Aws::Vector<DashboardSummary>>
39 void SetDashboardSummaryList(DashboardSummaryListT&& value) {
40 m_dashboardSummaryListHasBeenSet = true;
41 m_dashboardSummaryList = std::forward<DashboardSummaryListT>(value);
42 }
43 template <typename DashboardSummaryListT = Aws::Vector<DashboardSummary>>
44 ListDashboardsResult& WithDashboardSummaryList(DashboardSummaryListT&& value) {
45 SetDashboardSummaryList(std::forward<DashboardSummaryListT>(value));
46 return *this;
47 }
48 template <typename DashboardSummaryListT = DashboardSummary>
49 ListDashboardsResult& AddDashboardSummaryList(DashboardSummaryListT&& value) {
50 m_dashboardSummaryListHasBeenSet = true;
51 m_dashboardSummaryList.emplace_back(std::forward<DashboardSummaryListT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetNextToken() const { return m_nextToken; }
62 template <typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
68 ListDashboardsResult& WithNextToken(NextTokenT&& value) {
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73
75
78 inline int GetStatus() const { return m_status; }
79 inline void SetStatus(int value) {
80 m_statusHasBeenSet = true;
81 m_status = value;
82 }
83 inline ListDashboardsResult& WithStatus(int value) {
84 SetStatus(value);
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
98 ListDashboardsResult& WithRequestId(RequestIdT&& value) {
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::Vector<DashboardSummary> m_dashboardSummaryList;
107
108 Aws::String m_nextToken;
109
110 int m_status{0};
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_dashboardSummaryListHasBeenSet = false;
115 bool m_nextTokenHasBeenSet = false;
116 bool m_statusHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
ListDashboardsResult & WithRequestId(RequestIdT &&value)
ListDashboardsResult & WithStatus(int value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QUICKSIGHT_API ListDashboardsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDashboardsResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< DashboardSummary > & GetDashboardSummaryList() const
ListDashboardsResult & WithDashboardSummaryList(DashboardSummaryListT &&value)
AWS_QUICKSIGHT_API ListDashboardsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDashboardsResult & AddDashboardSummaryList(DashboardSummaryListT &&value)
AWS_QUICKSIGHT_API ListDashboardsResult()=default
void SetDashboardSummaryList(DashboardSummaryListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue