AWS SDK for C++  1.9.158
AWS SDK for C++
ListDashboardsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace QuickSight
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<DashboardSummary>& GetDashboardSummaryList() const{ return m_dashboardSummaryList; }
42 
47  inline void SetDashboardSummaryList(const Aws::Vector<DashboardSummary>& value) { m_dashboardSummaryList = value; }
48 
53  inline void SetDashboardSummaryList(Aws::Vector<DashboardSummary>&& value) { m_dashboardSummaryList = std::move(value); }
54 
59  inline ListDashboardsResult& WithDashboardSummaryList(const Aws::Vector<DashboardSummary>& value) { SetDashboardSummaryList(value); return *this;}
60 
65  inline ListDashboardsResult& WithDashboardSummaryList(Aws::Vector<DashboardSummary>&& value) { SetDashboardSummaryList(std::move(value)); return *this;}
66 
71  inline ListDashboardsResult& AddDashboardSummaryList(const DashboardSummary& value) { m_dashboardSummaryList.push_back(value); return *this; }
72 
77  inline ListDashboardsResult& AddDashboardSummaryList(DashboardSummary&& value) { m_dashboardSummaryList.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListDashboardsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListDashboardsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListDashboardsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122 
126  inline int GetStatus() const{ return m_status; }
127 
131  inline void SetStatus(int value) { m_status = value; }
132 
136  inline ListDashboardsResult& WithStatus(int value) { SetStatus(value); return *this;}
137 
138 
142  inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 
147  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 
152  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
153 
157  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
158 
162  inline ListDashboardsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
163 
167  inline ListDashboardsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 
172  inline ListDashboardsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 
174  private:
175 
176  Aws::Vector<DashboardSummary> m_dashboardSummaryList;
177 
178  Aws::String m_nextToken;
179 
180  int m_status;
181 
182  Aws::String m_requestId;
183  };
184 
185 } // namespace Model
186 } // namespace QuickSight
187 } // namespace Aws
Aws::QuickSight::Model::ListDashboardsResult::SetDashboardSummaryList
void SetDashboardSummaryList(Aws::Vector< DashboardSummary > &&value)
Definition: ListDashboardsResult.h:53
Aws::QuickSight::Model::ListDashboardsResult::AddDashboardSummaryList
ListDashboardsResult & AddDashboardSummaryList(const DashboardSummary &value)
Definition: ListDashboardsResult.h:71
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListDashboardsResult::WithDashboardSummaryList
ListDashboardsResult & WithDashboardSummaryList(const Aws::Vector< DashboardSummary > &value)
Definition: ListDashboardsResult.h:59
Aws::QuickSight::Model::ListDashboardsResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListDashboardsResult.h:157
DashboardSummary.h
Aws::QuickSight::Model::ListDashboardsResult::WithNextToken
ListDashboardsResult & WithNextToken(const char *value)
Definition: ListDashboardsResult.h:120
Aws::QuickSight::Model::ListDashboardsResult::GetDashboardSummaryList
const Aws::Vector< DashboardSummary > & GetDashboardSummaryList() const
Definition: ListDashboardsResult.h:41
Aws::QuickSight::Model::ListDashboardsResult::WithNextToken
ListDashboardsResult & WithNextToken(const Aws::String &value)
Definition: ListDashboardsResult.h:108
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListDashboardsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListDashboardsResult.h:142
AWSVector.h
Aws::QuickSight::Model::ListDashboardsResult
Definition: ListDashboardsResult.h:30
Aws::QuickSight::Model::ListDashboardsResult::GetStatus
int GetStatus() const
Definition: ListDashboardsResult.h:126
Aws::QuickSight::Model::ListDashboardsResult::SetDashboardSummaryList
void SetDashboardSummaryList(const Aws::Vector< DashboardSummary > &value)
Definition: ListDashboardsResult.h:47
Aws::QuickSight::Model::DashboardSummary
Definition: DashboardSummary.h:33
Aws::QuickSight::Model::ListDashboardsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListDashboardsResult.h:147
Aws::QuickSight::Model::ListDashboardsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDashboardsResult.h:102
Aws::QuickSight::Model::ListDashboardsResult::WithRequestId
ListDashboardsResult & WithRequestId(const Aws::String &value)
Definition: ListDashboardsResult.h:162
Aws::QuickSight::Model::ListDashboardsResult::WithRequestId
ListDashboardsResult & WithRequestId(const char *value)
Definition: ListDashboardsResult.h:172
Aws::QuickSight::Model::ListDashboardsResult::WithRequestId
ListDashboardsResult & WithRequestId(Aws::String &&value)
Definition: ListDashboardsResult.h:167
Aws::QuickSight::Model::ListDashboardsResult::WithNextToken
ListDashboardsResult & WithNextToken(Aws::String &&value)
Definition: ListDashboardsResult.h:114
Aws::QuickSight::Model::ListDashboardsResult::operator=
ListDashboardsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::QuickSight::Model::ListDashboardsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListDashboardsResult.h:152
Aws::QuickSight::Model::ListDashboardsResult::ListDashboardsResult
ListDashboardsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::ListDashboardsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDashboardsResult.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListDashboardsResult::WithDashboardSummaryList
ListDashboardsResult & WithDashboardSummaryList(Aws::Vector< DashboardSummary > &&value)
Definition: ListDashboardsResult.h:65
Aws::QuickSight::Model::ListDashboardsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDashboardsResult.h:90
Aws::QuickSight::Model::ListDashboardsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDashboardsResult.h:84
Aws::QuickSight::Model::ListDashboardsResult::AddDashboardSummaryList
ListDashboardsResult & AddDashboardSummaryList(DashboardSummary &&value)
Definition: ListDashboardsResult.h:77
Aws::QuickSight::Model::ListDashboardsResult::WithStatus
ListDashboardsResult & WithStatus(int value)
Definition: ListDashboardsResult.h:136
Aws::QuickSight::Model::ListDashboardsResult::ListDashboardsResult
ListDashboardsResult()
Aws::QuickSight::Model::ListDashboardsResult::SetStatus
void SetStatus(int value)
Definition: ListDashboardsResult.h:131