AWS SDK for C++  1.9.158
AWS SDK for C++
ListAnalysesResult.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<AnalysisSummary>& GetAnalysisSummaryList() const{ return m_analysisSummaryList; }
41 
45  inline void SetAnalysisSummaryList(const Aws::Vector<AnalysisSummary>& value) { m_analysisSummaryList = value; }
46 
50  inline void SetAnalysisSummaryList(Aws::Vector<AnalysisSummary>&& value) { m_analysisSummaryList = std::move(value); }
51 
55  inline ListAnalysesResult& WithAnalysisSummaryList(const Aws::Vector<AnalysisSummary>& value) { SetAnalysisSummaryList(value); return *this;}
56 
60  inline ListAnalysesResult& WithAnalysisSummaryList(Aws::Vector<AnalysisSummary>&& value) { SetAnalysisSummaryList(std::move(value)); return *this;}
61 
65  inline ListAnalysesResult& AddAnalysisSummaryList(const AnalysisSummary& value) { m_analysisSummaryList.push_back(value); return *this; }
66 
70  inline ListAnalysesResult& AddAnalysisSummaryList(AnalysisSummary&& value) { m_analysisSummaryList.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListAnalysesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListAnalysesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListAnalysesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108 
112  inline int GetStatus() const{ return m_status; }
113 
117  inline void SetStatus(int value) { m_status = value; }
118 
122  inline ListAnalysesResult& WithStatus(int value) { SetStatus(value); return *this;}
123 
124 
128  inline const Aws::String& GetRequestId() const{ return m_requestId; }
129 
133  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
134 
138  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
139 
143  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
144 
148  inline ListAnalysesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
149 
153  inline ListAnalysesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
154 
158  inline ListAnalysesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
159 
160  private:
161 
162  Aws::Vector<AnalysisSummary> m_analysisSummaryList;
163 
164  Aws::String m_nextToken;
165 
166  int m_status;
167 
168  Aws::String m_requestId;
169  };
170 
171 } // namespace Model
172 } // namespace QuickSight
173 } // namespace Aws
Aws::QuickSight::Model::ListAnalysesResult::SetAnalysisSummaryList
void SetAnalysisSummaryList(Aws::Vector< AnalysisSummary > &&value)
Definition: ListAnalysesResult.h:50
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::ListAnalysesResult::ListAnalysesResult
ListAnalysesResult()
Aws::QuickSight::Model::ListAnalysesResult::SetStatus
void SetStatus(int value)
Definition: ListAnalysesResult.h:117
Aws::QuickSight::Model::ListAnalysesResult
Definition: ListAnalysesResult.h:30
Aws::QuickSight::Model::ListAnalysesResult::AddAnalysisSummaryList
ListAnalysesResult & AddAnalysisSummaryList(const AnalysisSummary &value)
Definition: ListAnalysesResult.h:65
Aws::QuickSight::Model::ListAnalysesResult::WithRequestId
ListAnalysesResult & WithRequestId(Aws::String &&value)
Definition: ListAnalysesResult.h:153
Aws::QuickSight::Model::ListAnalysesResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: ListAnalysesResult.h:138
Aws::QuickSight::Model::ListAnalysesResult::WithRequestId
ListAnalysesResult & WithRequestId(const Aws::String &value)
Definition: ListAnalysesResult.h:148
Aws::QuickSight::Model::ListAnalysesResult::WithAnalysisSummaryList
ListAnalysesResult & WithAnalysisSummaryList(const Aws::Vector< AnalysisSummary > &value)
Definition: ListAnalysesResult.h:55
Aws::QuickSight::Model::ListAnalysesResult::WithNextToken
ListAnalysesResult & WithNextToken(const char *value)
Definition: ListAnalysesResult.h:106
Aws::QuickSight::Model::ListAnalysesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAnalysesResult.h:86
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::ListAnalysesResult::WithRequestId
ListAnalysesResult & WithRequestId(const char *value)
Definition: ListAnalysesResult.h:158
AWSVector.h
Aws::QuickSight::Model::ListAnalysesResult::GetAnalysisSummaryList
const Aws::Vector< AnalysisSummary > & GetAnalysisSummaryList() const
Definition: ListAnalysesResult.h:40
Aws::QuickSight::Model::ListAnalysesResult::GetStatus
int GetStatus() const
Definition: ListAnalysesResult.h:112
Aws::QuickSight::Model::ListAnalysesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAnalysesResult.h:91
Aws::QuickSight::Model::ListAnalysesResult::operator=
ListAnalysesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::ListAnalysesResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: ListAnalysesResult.h:133
Aws::QuickSight::Model::ListAnalysesResult::WithNextToken
ListAnalysesResult & WithNextToken(Aws::String &&value)
Definition: ListAnalysesResult.h:101
Aws::QuickSight::Model::ListAnalysesResult::WithStatus
ListAnalysesResult & WithStatus(int value)
Definition: ListAnalysesResult.h:122
Aws::QuickSight::Model::ListAnalysesResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: ListAnalysesResult.h:128
Aws::QuickSight::Model::ListAnalysesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAnalysesResult.h:81
AWSString.h
AnalysisSummary.h
Aws::QuickSight::Model::ListAnalysesResult::SetRequestId
void SetRequestId(const char *value)
Definition: ListAnalysesResult.h:143
Aws::QuickSight::Model::AnalysisSummary
Definition: AnalysisSummary.h:35
Aws::QuickSight::Model::ListAnalysesResult::AddAnalysisSummaryList
ListAnalysesResult & AddAnalysisSummaryList(AnalysisSummary &&value)
Definition: ListAnalysesResult.h:70
Aws::QuickSight::Model::ListAnalysesResult::WithNextToken
ListAnalysesResult & WithNextToken(const Aws::String &value)
Definition: ListAnalysesResult.h:96
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::ListAnalysesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAnalysesResult.h:76
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::ListAnalysesResult::WithAnalysisSummaryList
ListAnalysesResult & WithAnalysisSummaryList(Aws::Vector< AnalysisSummary > &&value)
Definition: ListAnalysesResult.h:60
Aws::QuickSight::Model::ListAnalysesResult::SetAnalysisSummaryList
void SetAnalysisSummaryList(const Aws::Vector< AnalysisSummary > &value)
Definition: ListAnalysesResult.h:45
Aws::QuickSight::Model::ListAnalysesResult::ListAnalysesResult
ListAnalysesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)