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