AWS SDK for C++  1.9.157
AWS SDK for C++
ListThemesResult.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 
40  inline const Aws::Vector<ThemeSummary>& GetThemeSummaryList() const{ return m_themeSummaryList; }
41 
45  inline void SetThemeSummaryList(const Aws::Vector<ThemeSummary>& value) { m_themeSummaryList = value; }
46 
50  inline void SetThemeSummaryList(Aws::Vector<ThemeSummary>&& value) { m_themeSummaryList = std::move(value); }
51 
55  inline ListThemesResult& WithThemeSummaryList(const Aws::Vector<ThemeSummary>& value) { SetThemeSummaryList(value); return *this;}
56 
60  inline ListThemesResult& WithThemeSummaryList(Aws::Vector<ThemeSummary>&& value) { SetThemeSummaryList(std::move(value)); return *this;}
61 
65  inline ListThemesResult& AddThemeSummaryList(const ThemeSummary& value) { m_themeSummaryList.push_back(value); return *this; }
66 
70  inline ListThemesResult& AddThemeSummaryList(ThemeSummary&& value) { m_themeSummaryList.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListThemesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListThemesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListThemesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115 
119  inline int GetStatus() const{ return m_status; }
120 
124  inline void SetStatus(int value) { m_status = value; }
125 
129  inline ListThemesResult& WithStatus(int value) { SetStatus(value); return *this;}
130 
131 
135  inline const Aws::String& GetRequestId() const{ return m_requestId; }
136 
140  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 
145  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
146 
150  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
151 
155  inline ListThemesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 
160  inline ListThemesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
161 
165  inline ListThemesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
166 
167  private:
168 
169  Aws::Vector<ThemeSummary> m_themeSummaryList;
170 
171  Aws::String m_nextToken;
172 
173  int m_status;
174 
175  Aws::String m_requestId;
176  };
177 
178 } // namespace Model
179 } // namespace QuickSight
180 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListThemesResult::WithThemeSummaryList
ListThemesResult & WithThemeSummaryList(Aws::Vector< ThemeSummary > &&value)
Definition: ListThemesResult.h:60
Aws::QuickSight::Model::ThemeSummary
Definition: ThemeSummary.h:33
Aws::QuickSight::Model::ListThemesResult::GetThemeSummaryList
const Aws::Vector< ThemeSummary > & GetThemeSummaryList() const
Definition: ListThemesResult.h:40
Aws::QuickSight::Model::ListThemesResult::WithRequestId
ListThemesResult & WithRequestId(Aws::String &&value)
Definition: ListThemesResult.h:160
Aws::QuickSight::Model::ListThemesResult::operator=
ListThemesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListThemesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThemesResult.h:77
Aws::QuickSight::Model::ListThemesResult::AddThemeSummaryList
ListThemesResult & AddThemeSummaryList(ThemeSummary &&value)
Definition: ListThemesResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListThemesResult::WithNextToken
ListThemesResult & WithNextToken(Aws::String &&value)
Definition: ListThemesResult.h:107
Aws::QuickSight::Model::ListThemesResult
Definition: ListThemesResult.h:30
AWSVector.h
Aws::QuickSight::Model::ListThemesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThemesResult.h:95
ThemeSummary.h
Aws::QuickSight::Model::ListThemesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThemesResult.h:89
Aws::QuickSight::Model::ListThemesResult::SetStatus
void SetStatus(int value)
Definition: ListThemesResult.h:124
Aws::QuickSight::Model::ListThemesResult::WithNextToken
ListThemesResult & WithNextToken(const Aws::String &value)
Definition: ListThemesResult.h:101
Aws::QuickSight::Model::ListThemesResult::ListThemesResult
ListThemesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListThemesResult::WithRequestId
ListThemesResult & WithRequestId(const char *value)
Definition: ListThemesResult.h:165
Aws::QuickSight::Model::ListThemesResult::ListThemesResult
ListThemesResult()
Aws::QuickSight::Model::ListThemesResult::WithRequestId
ListThemesResult & WithRequestId(const Aws::String &value)
Definition: ListThemesResult.h:155
Aws::QuickSight::Model::ListThemesResult::WithStatus
ListThemesResult & WithStatus(int value)
Definition: ListThemesResult.h:129
AWSString.h
Aws::QuickSight::Model::ListThemesResult::SetThemeSummaryList
void SetThemeSummaryList(const Aws::Vector< ThemeSummary > &value)
Definition: ListThemesResult.h:45
Aws::QuickSight::Model::ListThemesResult::WithThemeSummaryList
ListThemesResult & WithThemeSummaryList(const Aws::Vector< ThemeSummary > &value)
Definition: ListThemesResult.h:55
Aws::QuickSight::Model::ListThemesResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListThemesResult.h:140
Aws::QuickSight::Model::ListThemesResult::AddThemeSummaryList
ListThemesResult & AddThemeSummaryList(const ThemeSummary &value)
Definition: ListThemesResult.h:65
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::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListThemesResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListThemesResult.h:145
Aws::QuickSight::Model::ListThemesResult::GetStatus
int GetStatus() const
Definition: ListThemesResult.h:119
Aws::QuickSight::Model::ListThemesResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListThemesResult.h:150
Aws::QuickSight::Model::ListThemesResult::SetThemeSummaryList
void SetThemeSummaryList(Aws::Vector< ThemeSummary > &&value)
Definition: ListThemesResult.h:50
Aws::QuickSight::Model::ListThemesResult::WithNextToken
ListThemesResult & WithNextToken(const char *value)
Definition: ListThemesResult.h:113
Aws::QuickSight::Model::ListThemesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThemesResult.h:83
Aws::QuickSight::Model::ListThemesResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListThemesResult.h:135