AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ListDashboardsResult.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/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DashboardSummary.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API ListDashboardsResult() = default;
30
32
36 inline const Aws::Vector<DashboardSummary>& GetDashboardSummaryList() const { return m_dashboardSummaryList; }
37 template <typename DashboardSummaryListT = Aws::Vector<DashboardSummary>>
38 void SetDashboardSummaryList(DashboardSummaryListT&& value) {
39 m_dashboardSummaryListHasBeenSet = true;
40 m_dashboardSummaryList = std::forward<DashboardSummaryListT>(value);
41 }
42 template <typename DashboardSummaryListT = Aws::Vector<DashboardSummary>>
43 ListDashboardsResult& WithDashboardSummaryList(DashboardSummaryListT&& value) {
44 SetDashboardSummaryList(std::forward<DashboardSummaryListT>(value));
45 return *this;
46 }
47 template <typename DashboardSummaryListT = DashboardSummary>
48 ListDashboardsResult& AddDashboardSummaryList(DashboardSummaryListT&& value) {
49 m_dashboardSummaryListHasBeenSet = true;
50 m_dashboardSummaryList.emplace_back(std::forward<DashboardSummaryListT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 template <typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) {
63 m_nextTokenHasBeenSet = true;
64 m_nextToken = std::forward<NextTokenT>(value);
65 }
66 template <typename NextTokenT = Aws::String>
67 ListDashboardsResult& WithNextToken(NextTokenT&& value) {
68 SetNextToken(std::forward<NextTokenT>(value));
69 return *this;
70 }
72
74
77 inline int GetStatus() const { return m_status; }
78 inline void SetStatus(int value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
82 inline ListDashboardsResult& WithStatus(int value) {
83 SetStatus(value);
84 return *this;
85 }
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template <typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) {
93 m_requestIdHasBeenSet = true;
94 m_requestId = std::forward<RequestIdT>(value);
95 }
96 template <typename RequestIdT = Aws::String>
97 ListDashboardsResult& WithRequestId(RequestIdT&& value) {
98 SetRequestId(std::forward<RequestIdT>(value));
99 return *this;
100 }
102 private:
103 Aws::Vector<DashboardSummary> m_dashboardSummaryList;
104
105 Aws::String m_nextToken;
106
107 int m_status{0};
108
109 Aws::String m_requestId;
110 bool m_dashboardSummaryListHasBeenSet = false;
111 bool m_nextTokenHasBeenSet = false;
112 bool m_statusHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace QuickSight
118} // namespace Aws
ListDashboardsResult & WithRequestId(RequestIdT &&value)
ListDashboardsResult & WithStatus(int value)
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