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