AWS SDK for C++  1.9.154
AWS SDK for C++
CreateIngestionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetArn() const{ return m_arn; }
40 
44  inline void SetArn(const Aws::String& value) { m_arn = value; }
45 
49  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
50 
54  inline void SetArn(const char* value) { m_arn.assign(value); }
55 
59  inline CreateIngestionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 
64  inline CreateIngestionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 
69  inline CreateIngestionResult& WithArn(const char* value) { SetArn(value); return *this;}
70 
71 
75  inline const Aws::String& GetIngestionId() const{ return m_ingestionId; }
76 
80  inline void SetIngestionId(const Aws::String& value) { m_ingestionId = value; }
81 
85  inline void SetIngestionId(Aws::String&& value) { m_ingestionId = std::move(value); }
86 
90  inline void SetIngestionId(const char* value) { m_ingestionId.assign(value); }
91 
95  inline CreateIngestionResult& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;}
96 
100  inline CreateIngestionResult& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;}
101 
105  inline CreateIngestionResult& WithIngestionId(const char* value) { SetIngestionId(value); return *this;}
106 
107 
111  inline const IngestionStatus& GetIngestionStatus() const{ return m_ingestionStatus; }
112 
116  inline void SetIngestionStatus(const IngestionStatus& value) { m_ingestionStatus = value; }
117 
121  inline void SetIngestionStatus(IngestionStatus&& value) { m_ingestionStatus = std::move(value); }
122 
126  inline CreateIngestionResult& WithIngestionStatus(const IngestionStatus& value) { SetIngestionStatus(value); return *this;}
127 
131  inline CreateIngestionResult& WithIngestionStatus(IngestionStatus&& value) { SetIngestionStatus(std::move(value)); return *this;}
132 
133 
137  inline const Aws::String& GetRequestId() const{ return m_requestId; }
138 
142  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
143 
147  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
148 
152  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
153 
157  inline CreateIngestionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
158 
162  inline CreateIngestionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
163 
167  inline CreateIngestionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
168 
169 
173  inline int GetStatus() const{ return m_status; }
174 
178  inline void SetStatus(int value) { m_status = value; }
179 
183  inline CreateIngestionResult& WithStatus(int value) { SetStatus(value); return *this;}
184 
185  private:
186 
187  Aws::String m_arn;
188 
189  Aws::String m_ingestionId;
190 
191  IngestionStatus m_ingestionStatus;
192 
193  Aws::String m_requestId;
194 
195  int m_status;
196  };
197 
198 } // namespace Model
199 } // namespace QuickSight
200 } // namespace Aws
IngestionStatus.h
Aws::QuickSight::Model::CreateIngestionResult::operator=
CreateIngestionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::IngestionStatus
IngestionStatus
Definition: IngestionStatus.h:17
Aws::QuickSight::Model::CreateIngestionResult::WithRequestId
CreateIngestionResult & WithRequestId(Aws::String &&value)
Definition: CreateIngestionResult.h:162
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateIngestionResult::GetArn
const Aws::String & GetArn() const
Definition: CreateIngestionResult.h:39
Aws::QuickSight::Model::CreateIngestionResult::WithIngestionStatus
CreateIngestionResult & WithIngestionStatus(IngestionStatus &&value)
Definition: CreateIngestionResult.h:131
Aws::QuickSight::Model::CreateIngestionResult::WithIngestionStatus
CreateIngestionResult & WithIngestionStatus(const IngestionStatus &value)
Definition: CreateIngestionResult.h:126
Aws::QuickSight::Model::CreateIngestionResult::CreateIngestionResult
CreateIngestionResult()
Aws::QuickSight::Model::CreateIngestionResult::WithRequestId
CreateIngestionResult & WithRequestId(const Aws::String &value)
Definition: CreateIngestionResult.h:157
Aws::QuickSight::Model::CreateIngestionResult::SetArn
void SetArn(const Aws::String &value)
Definition: CreateIngestionResult.h:44
Aws::QuickSight::Model::CreateIngestionResult::GetIngestionId
const Aws::String & GetIngestionId() const
Definition: CreateIngestionResult.h:75
Aws::QuickSight::Model::CreateIngestionResult::SetIngestionStatus
void SetIngestionStatus(IngestionStatus &&value)
Definition: CreateIngestionResult.h:121
Aws::QuickSight::Model::CreateIngestionResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateIngestionResult.h:147
Aws::QuickSight::Model::CreateIngestionResult::GetStatus
int GetStatus() const
Definition: CreateIngestionResult.h:173
Aws::QuickSight::Model::CreateIngestionResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateIngestionResult.h:137
Aws::QuickSight::Model::CreateIngestionResult::SetIngestionStatus
void SetIngestionStatus(const IngestionStatus &value)
Definition: CreateIngestionResult.h:116
Aws::QuickSight::Model::CreateIngestionResult::WithStatus
CreateIngestionResult & WithStatus(int value)
Definition: CreateIngestionResult.h:183
Aws::QuickSight::Model::CreateIngestionResult::WithIngestionId
CreateIngestionResult & WithIngestionId(const char *value)
Definition: CreateIngestionResult.h:105
Aws::QuickSight::Model::CreateIngestionResult::SetArn
void SetArn(Aws::String &&value)
Definition: CreateIngestionResult.h:49
Aws::QuickSight::Model::CreateIngestionResult::SetIngestionId
void SetIngestionId(const Aws::String &value)
Definition: CreateIngestionResult.h:80
Aws::QuickSight::Model::CreateIngestionResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateIngestionResult.h:142
Aws::QuickSight::Model::CreateIngestionResult::SetStatus
void SetStatus(int value)
Definition: CreateIngestionResult.h:178
Aws::QuickSight::Model::CreateIngestionResult::SetIngestionId
void SetIngestionId(const char *value)
Definition: CreateIngestionResult.h:90
Aws::QuickSight::Model::CreateIngestionResult::WithRequestId
CreateIngestionResult & WithRequestId(const char *value)
Definition: CreateIngestionResult.h:167
Aws::QuickSight::Model::CreateIngestionResult
Definition: CreateIngestionResult.h:29
AWSString.h
Aws::QuickSight::Model::CreateIngestionResult::GetIngestionStatus
const IngestionStatus & GetIngestionStatus() const
Definition: CreateIngestionResult.h:111
Aws::QuickSight::Model::CreateIngestionResult::SetArn
void SetArn(const char *value)
Definition: CreateIngestionResult.h:54
Aws::QuickSight::Model::CreateIngestionResult::WithArn
CreateIngestionResult & WithArn(Aws::String &&value)
Definition: CreateIngestionResult.h:64
Aws::QuickSight::Model::CreateIngestionResult::SetIngestionId
void SetIngestionId(Aws::String &&value)
Definition: CreateIngestionResult.h:85
Aws::QuickSight::Model::CreateIngestionResult::WithIngestionId
CreateIngestionResult & WithIngestionId(const Aws::String &value)
Definition: CreateIngestionResult.h:95
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::CreateIngestionResult::WithArn
CreateIngestionResult & WithArn(const char *value)
Definition: CreateIngestionResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateIngestionResult::WithIngestionId
CreateIngestionResult & WithIngestionId(Aws::String &&value)
Definition: CreateIngestionResult.h:100
Aws::QuickSight::Model::CreateIngestionResult::WithArn
CreateIngestionResult & WithArn(const Aws::String &value)
Definition: CreateIngestionResult.h:59
Aws::QuickSight::Model::CreateIngestionResult::CreateIngestionResult
CreateIngestionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateIngestionResult::SetRequestId
void SetRequestId(const char *value)
Definition: CreateIngestionResult.h:152