AWS SDK for C++  1.9.158
AWS SDK for C++
ListTemplatesResult.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<TemplateSummary>& GetTemplateSummaryList() const{ return m_templateSummaryList; }
41 
45  inline void SetTemplateSummaryList(const Aws::Vector<TemplateSummary>& value) { m_templateSummaryList = value; }
46 
50  inline void SetTemplateSummaryList(Aws::Vector<TemplateSummary>&& value) { m_templateSummaryList = std::move(value); }
51 
55  inline ListTemplatesResult& WithTemplateSummaryList(const Aws::Vector<TemplateSummary>& value) { SetTemplateSummaryList(value); return *this;}
56 
60  inline ListTemplatesResult& WithTemplateSummaryList(Aws::Vector<TemplateSummary>&& value) { SetTemplateSummaryList(std::move(value)); return *this;}
61 
65  inline ListTemplatesResult& AddTemplateSummaryList(const TemplateSummary& value) { m_templateSummaryList.push_back(value); return *this; }
66 
70  inline ListTemplatesResult& AddTemplateSummaryList(TemplateSummary&& value) { m_templateSummaryList.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 ListTemplatesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListTemplatesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListTemplatesResult& 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 ListTemplatesResult& 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 ListTemplatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 
160  inline ListTemplatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
161 
165  inline ListTemplatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
166 
167  private:
168 
169  Aws::Vector<TemplateSummary> m_templateSummaryList;
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::QuickSight::Model::ListTemplatesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTemplatesResult.h:95
Aws::QuickSight::Model::ListTemplatesResult::WithNextToken
ListTemplatesResult & WithNextToken(const Aws::String &value)
Definition: ListTemplatesResult.h:101
Aws::QuickSight::Model::ListTemplatesResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListTemplatesResult.h:135
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::ListTemplatesResult::WithNextToken
ListTemplatesResult & WithNextToken(const char *value)
Definition: ListTemplatesResult.h:113
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListTemplatesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTemplatesResult.h:89
Aws::QuickSight::Model::ListTemplatesResult
Definition: ListTemplatesResult.h:30
Aws::QuickSight::Model::ListTemplatesResult::SetTemplateSummaryList
void SetTemplateSummaryList(Aws::Vector< TemplateSummary > &&value)
Definition: ListTemplatesResult.h:50
Aws::QuickSight::Model::ListTemplatesResult::AddTemplateSummaryList
ListTemplatesResult & AddTemplateSummaryList(const TemplateSummary &value)
Definition: ListTemplatesResult.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListTemplatesResult::SetStatus
void SetStatus(int value)
Definition: ListTemplatesResult.h:124
Aws::QuickSight::Model::ListTemplatesResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListTemplatesResult.h:140
AWSVector.h
Aws::QuickSight::Model::ListTemplatesResult::SetTemplateSummaryList
void SetTemplateSummaryList(const Aws::Vector< TemplateSummary > &value)
Definition: ListTemplatesResult.h:45
Aws::QuickSight::Model::ListTemplatesResult::ListTemplatesResult
ListTemplatesResult()
Aws::QuickSight::Model::ListTemplatesResult::GetStatus
int GetStatus() const
Definition: ListTemplatesResult.h:119
Aws::QuickSight::Model::ListTemplatesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTemplatesResult.h:83
Aws::QuickSight::Model::ListTemplatesResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListTemplatesResult.h:150
AWSString.h
Aws::QuickSight::Model::ListTemplatesResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListTemplatesResult.h:145
Aws::QuickSight::Model::ListTemplatesResult::AddTemplateSummaryList
ListTemplatesResult & AddTemplateSummaryList(TemplateSummary &&value)
Definition: ListTemplatesResult.h:70
Aws::QuickSight::Model::ListTemplatesResult::WithNextToken
ListTemplatesResult & WithNextToken(Aws::String &&value)
Definition: ListTemplatesResult.h:107
Aws::QuickSight::Model::ListTemplatesResult::WithTemplateSummaryList
ListTemplatesResult & WithTemplateSummaryList(const Aws::Vector< TemplateSummary > &value)
Definition: ListTemplatesResult.h:55
Aws::QuickSight::Model::ListTemplatesResult::operator=
ListTemplatesResult & operator=(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::ListTemplatesResult::ListTemplatesResult
ListTemplatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
TemplateSummary.h
Aws::QuickSight::Model::ListTemplatesResult::WithRequestId
ListTemplatesResult & WithRequestId(const char *value)
Definition: ListTemplatesResult.h:165
Aws::QuickSight::Model::ListTemplatesResult::WithRequestId
ListTemplatesResult & WithRequestId(Aws::String &&value)
Definition: ListTemplatesResult.h:160
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListTemplatesResult::WithTemplateSummaryList
ListTemplatesResult & WithTemplateSummaryList(Aws::Vector< TemplateSummary > &&value)
Definition: ListTemplatesResult.h:60
Aws::QuickSight::Model::TemplateSummary
Definition: TemplateSummary.h:33
Aws::QuickSight::Model::ListTemplatesResult::GetTemplateSummaryList
const Aws::Vector< TemplateSummary > & GetTemplateSummaryList() const
Definition: ListTemplatesResult.h:40
Aws::QuickSight::Model::ListTemplatesResult::WithStatus
ListTemplatesResult & WithStatus(int value)
Definition: ListTemplatesResult.h:129
Aws::QuickSight::Model::ListTemplatesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTemplatesResult.h:77
Aws::QuickSight::Model::ListTemplatesResult::WithRequestId
ListTemplatesResult & WithRequestId(const Aws::String &value)
Definition: ListTemplatesResult.h:155