AWS SDK for C++  1.9.158
AWS SDK for C++
ListDashboardVersionsResult.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<DashboardVersionSummary>& GetDashboardVersionSummaryList() const{ return m_dashboardVersionSummaryList; }
42 
47  inline void SetDashboardVersionSummaryList(const Aws::Vector<DashboardVersionSummary>& value) { m_dashboardVersionSummaryList = value; }
48 
53  inline void SetDashboardVersionSummaryList(Aws::Vector<DashboardVersionSummary>&& value) { m_dashboardVersionSummaryList = std::move(value); }
54 
59  inline ListDashboardVersionsResult& WithDashboardVersionSummaryList(const Aws::Vector<DashboardVersionSummary>& value) { SetDashboardVersionSummaryList(value); return *this;}
60 
65  inline ListDashboardVersionsResult& WithDashboardVersionSummaryList(Aws::Vector<DashboardVersionSummary>&& value) { SetDashboardVersionSummaryList(std::move(value)); return *this;}
66 
71  inline ListDashboardVersionsResult& AddDashboardVersionSummaryList(const DashboardVersionSummary& value) { m_dashboardVersionSummaryList.push_back(value); return *this; }
72 
77  inline ListDashboardVersionsResult& AddDashboardVersionSummaryList(DashboardVersionSummary&& value) { m_dashboardVersionSummaryList.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 ListDashboardVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListDashboardVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListDashboardVersionsResult& 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 ListDashboardVersionsResult& 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 ListDashboardVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
163 
167  inline ListDashboardVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 
172  inline ListDashboardVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
173 
174  private:
175 
176  Aws::Vector<DashboardVersionSummary> m_dashboardVersionSummaryList;
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::ListDashboardVersionsResult
Definition: ListDashboardVersionsResult.h:30
Aws::QuickSight::Model::ListDashboardVersionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDashboardVersionsResult.h:96
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListDashboardVersionsResult::ListDashboardVersionsResult
ListDashboardVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListDashboardVersionsResult::WithRequestId
ListDashboardVersionsResult & WithRequestId(const char *value)
Definition: ListDashboardVersionsResult.h:172
Aws::QuickSight::Model::ListDashboardVersionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListDashboardVersionsResult.h:142
Aws::QuickSight::Model::ListDashboardVersionsResult::AddDashboardVersionSummaryList
ListDashboardVersionsResult & AddDashboardVersionSummaryList(DashboardVersionSummary &&value)
Definition: ListDashboardVersionsResult.h:77
Aws::QuickSight::Model::ListDashboardVersionsResult::GetStatus
int GetStatus() const
Definition: ListDashboardVersionsResult.h:126
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::QuickSight::Model::ListDashboardVersionsResult::WithDashboardVersionSummaryList
ListDashboardVersionsResult & WithDashboardVersionSummaryList(Aws::Vector< DashboardVersionSummary > &&value)
Definition: ListDashboardVersionsResult.h:65
Aws::QuickSight::Model::ListDashboardVersionsResult::WithNextToken
ListDashboardVersionsResult & WithNextToken(const char *value)
Definition: ListDashboardVersionsResult.h:120
Aws::QuickSight::Model::ListDashboardVersionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDashboardVersionsResult.h:102
Aws::QuickSight::Model::ListDashboardVersionsResult::WithRequestId
ListDashboardVersionsResult & WithRequestId(const Aws::String &value)
Definition: ListDashboardVersionsResult.h:162
Aws::QuickSight::Model::ListDashboardVersionsResult::WithNextToken
ListDashboardVersionsResult & WithNextToken(Aws::String &&value)
Definition: ListDashboardVersionsResult.h:114
Aws::QuickSight::Model::ListDashboardVersionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDashboardVersionsResult.h:90
Aws::QuickSight::Model::ListDashboardVersionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListDashboardVersionsResult.h:152
AWSString.h
Aws::QuickSight::Model::ListDashboardVersionsResult::SetDashboardVersionSummaryList
void SetDashboardVersionSummaryList(Aws::Vector< DashboardVersionSummary > &&value)
Definition: ListDashboardVersionsResult.h:53
Aws::QuickSight::Model::ListDashboardVersionsResult::ListDashboardVersionsResult
ListDashboardVersionsResult()
Aws::QuickSight::Model::DashboardVersionSummary
Definition: DashboardVersionSummary.h:34
Aws::QuickSight::Model::ListDashboardVersionsResult::WithStatus
ListDashboardVersionsResult & WithStatus(int value)
Definition: ListDashboardVersionsResult.h:136
Aws::QuickSight::Model::ListDashboardVersionsResult::GetDashboardVersionSummaryList
const Aws::Vector< DashboardVersionSummary > & GetDashboardVersionSummaryList() const
Definition: ListDashboardVersionsResult.h:41
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::ListDashboardVersionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDashboardVersionsResult.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListDashboardVersionsResult::WithRequestId
ListDashboardVersionsResult & WithRequestId(Aws::String &&value)
Definition: ListDashboardVersionsResult.h:167
Aws::QuickSight::Model::ListDashboardVersionsResult::operator=
ListDashboardVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListDashboardVersionsResult::WithDashboardVersionSummaryList
ListDashboardVersionsResult & WithDashboardVersionSummaryList(const Aws::Vector< DashboardVersionSummary > &value)
Definition: ListDashboardVersionsResult.h:59
Aws::QuickSight::Model::ListDashboardVersionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListDashboardVersionsResult.h:147
DashboardVersionSummary.h
Aws::QuickSight::Model::ListDashboardVersionsResult::AddDashboardVersionSummaryList
ListDashboardVersionsResult & AddDashboardVersionSummaryList(const DashboardVersionSummary &value)
Definition: ListDashboardVersionsResult.h:71
Aws::QuickSight::Model::ListDashboardVersionsResult::SetStatus
void SetStatus(int value)
Definition: ListDashboardVersionsResult.h:131
Aws::QuickSight::Model::ListDashboardVersionsResult::SetDashboardVersionSummaryList
void SetDashboardVersionSummaryList(const Aws::Vector< DashboardVersionSummary > &value)
Definition: ListDashboardVersionsResult.h:47
Aws::QuickSight::Model::ListDashboardVersionsResult::WithNextToken
ListDashboardVersionsResult & WithNextToken(const Aws::String &value)
Definition: ListDashboardVersionsResult.h:108
Aws::QuickSight::Model::ListDashboardVersionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListDashboardVersionsResult.h:157