AWS SDK for C++  1.9.158
AWS SDK for C++
ListThemeAliasesResult.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<ThemeAlias>& GetThemeAliasList() const{ return m_themeAliasList; }
41 
45  inline void SetThemeAliasList(const Aws::Vector<ThemeAlias>& value) { m_themeAliasList = value; }
46 
50  inline void SetThemeAliasList(Aws::Vector<ThemeAlias>&& value) { m_themeAliasList = std::move(value); }
51 
55  inline ListThemeAliasesResult& WithThemeAliasList(const Aws::Vector<ThemeAlias>& value) { SetThemeAliasList(value); return *this;}
56 
60  inline ListThemeAliasesResult& WithThemeAliasList(Aws::Vector<ThemeAlias>&& value) { SetThemeAliasList(std::move(value)); return *this;}
61 
65  inline ListThemeAliasesResult& AddThemeAliasList(const ThemeAlias& value) { m_themeAliasList.push_back(value); return *this; }
66 
70  inline ListThemeAliasesResult& AddThemeAliasList(ThemeAlias&& value) { m_themeAliasList.push_back(std::move(value)); return *this; }
71 
72 
76  inline int GetStatus() const{ return m_status; }
77 
81  inline void SetStatus(int value) { m_status = value; }
82 
86  inline ListThemeAliasesResult& WithStatus(int value) { SetStatus(value); return *this;}
87 
88 
92  inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 
97  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
98 
102  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 
107  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 
112  inline ListThemeAliasesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 
117  inline ListThemeAliasesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 
122  inline ListThemeAliasesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 
124 
129  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
130 
135  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
136 
141  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
142 
147  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
148 
153  inline ListThemeAliasesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
154 
159  inline ListThemeAliasesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
160 
165  inline ListThemeAliasesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
166 
167  private:
168 
169  Aws::Vector<ThemeAlias> m_themeAliasList;
170 
171  int m_status;
172 
173  Aws::String m_requestId;
174 
175  Aws::String m_nextToken;
176  };
177 
178 } // namespace Model
179 } // namespace QuickSight
180 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
ThemeAlias.h
Aws::QuickSight::Model::ListThemeAliasesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThemeAliasesResult.h:129
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListThemeAliasesResult::SetThemeAliasList
void SetThemeAliasList(const Aws::Vector< ThemeAlias > &value)
Definition: ListThemeAliasesResult.h:45
Aws::QuickSight::Model::ListThemeAliasesResult::SetThemeAliasList
void SetThemeAliasList(Aws::Vector< ThemeAlias > &&value)
Definition: ListThemeAliasesResult.h:50
Aws::QuickSight::Model::ListThemeAliasesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThemeAliasesResult.h:141
Aws::QuickSight::Model::ListThemeAliasesResult
Definition: ListThemeAliasesResult.h:30
Aws::QuickSight::Model::ListThemeAliasesResult::WithNextToken
ListThemeAliasesResult & WithNextToken(Aws::String &&value)
Definition: ListThemeAliasesResult.h:159
Aws::QuickSight::Model::ListThemeAliasesResult::WithNextToken
ListThemeAliasesResult & WithNextToken(const Aws::String &value)
Definition: ListThemeAliasesResult.h:153
Aws::QuickSight::Model::ListThemeAliasesResult::GetThemeAliasList
const Aws::Vector< ThemeAlias > & GetThemeAliasList() const
Definition: ListThemeAliasesResult.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListThemeAliasesResult::WithRequestId
ListThemeAliasesResult & WithRequestId(Aws::String &&value)
Definition: ListThemeAliasesResult.h:117
AWSVector.h
Aws::QuickSight::Model::ListThemeAliasesResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListThemeAliasesResult.h:102
Aws::QuickSight::Model::ListThemeAliasesResult::GetStatus
int GetStatus() const
Definition: ListThemeAliasesResult.h:76
Aws::QuickSight::Model::ListThemeAliasesResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListThemeAliasesResult.h:107
Aws::QuickSight::Model::ListThemeAliasesResult::WithRequestId
ListThemeAliasesResult & WithRequestId(const char *value)
Definition: ListThemeAliasesResult.h:122
AWSString.h
Aws::QuickSight::Model::ThemeAlias
Definition: ThemeAlias.h:32
Aws::QuickSight::Model::ListThemeAliasesResult::WithRequestId
ListThemeAliasesResult & WithRequestId(const Aws::String &value)
Definition: ListThemeAliasesResult.h:112
Aws::QuickSight::Model::ListThemeAliasesResult::operator=
ListThemeAliasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListThemeAliasesResult::WithStatus
ListThemeAliasesResult & WithStatus(int value)
Definition: ListThemeAliasesResult.h:86
Aws::QuickSight::Model::ListThemeAliasesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThemeAliasesResult.h:135
Aws::QuickSight::Model::ListThemeAliasesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThemeAliasesResult.h:147
Aws::QuickSight::Model::ListThemeAliasesResult::WithThemeAliasList
ListThemeAliasesResult & WithThemeAliasList(Aws::Vector< ThemeAlias > &&value)
Definition: ListThemeAliasesResult.h:60
Aws::QuickSight::Model::ListThemeAliasesResult::ListThemeAliasesResult
ListThemeAliasesResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::QuickSight::Model::ListThemeAliasesResult::WithNextToken
ListThemeAliasesResult & WithNextToken(const char *value)
Definition: ListThemeAliasesResult.h:165
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::ListThemeAliasesResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListThemeAliasesResult.h:97
Aws::QuickSight::Model::ListThemeAliasesResult::SetStatus
void SetStatus(int value)
Definition: ListThemeAliasesResult.h:81
Aws::QuickSight::Model::ListThemeAliasesResult::AddThemeAliasList
ListThemeAliasesResult & AddThemeAliasList(const ThemeAlias &value)
Definition: ListThemeAliasesResult.h:65
Aws::QuickSight::Model::ListThemeAliasesResult::ListThemeAliasesResult
ListThemeAliasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListThemeAliasesResult::AddThemeAliasList
ListThemeAliasesResult & AddThemeAliasList(ThemeAlias &&value)
Definition: ListThemeAliasesResult.h:70
Aws::QuickSight::Model::ListThemeAliasesResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListThemeAliasesResult.h:92
Aws::QuickSight::Model::ListThemeAliasesResult::WithThemeAliasList
ListThemeAliasesResult & WithThemeAliasList(const Aws::Vector< ThemeAlias > &value)
Definition: ListThemeAliasesResult.h:55