AWS SDK for C++  1.9.158
AWS SDK for C++
DescribeIngestionResult.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 Ingestion& GetIngestion() const{ return m_ingestion; }
40 
44  inline void SetIngestion(const Ingestion& value) { m_ingestion = value; }
45 
49  inline void SetIngestion(Ingestion&& value) { m_ingestion = std::move(value); }
50 
54  inline DescribeIngestionResult& WithIngestion(const Ingestion& value) { SetIngestion(value); return *this;}
55 
59  inline DescribeIngestionResult& WithIngestion(Ingestion&& value) { SetIngestion(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 
70  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 
75  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 
80  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 
85  inline DescribeIngestionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 
90  inline DescribeIngestionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 
95  inline DescribeIngestionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 
97 
101  inline int GetStatus() const{ return m_status; }
102 
106  inline void SetStatus(int value) { m_status = value; }
107 
111  inline DescribeIngestionResult& WithStatus(int value) { SetStatus(value); return *this;}
112 
113  private:
114 
115  Ingestion m_ingestion;
116 
117  Aws::String m_requestId;
118 
119  int m_status;
120  };
121 
122 } // namespace Model
123 } // namespace QuickSight
124 } // namespace Aws
Aws::QuickSight::Model::DescribeIngestionResult::WithRequestId
DescribeIngestionResult & WithRequestId(const Aws::String &value)
Definition: DescribeIngestionResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::Ingestion
Definition: Ingestion.h:40
Aws::QuickSight::Model::DescribeIngestionResult::operator=
DescribeIngestionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeIngestionResult::GetIngestion
const Ingestion & GetIngestion() const
Definition: DescribeIngestionResult.h:39
Aws::QuickSight::Model::DescribeIngestionResult::SetIngestion
void SetIngestion(Ingestion &&value)
Definition: DescribeIngestionResult.h:49
Aws::QuickSight::Model::DescribeIngestionResult::GetStatus
int GetStatus() const
Definition: DescribeIngestionResult.h:101
Aws::QuickSight::Model::DescribeIngestionResult::WithIngestion
DescribeIngestionResult & WithIngestion(Ingestion &&value)
Definition: DescribeIngestionResult.h:59
AWSString.h
Aws::QuickSight::Model::DescribeIngestionResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeIngestionResult.h:80
Aws::QuickSight::Model::DescribeIngestionResult
Definition: DescribeIngestionResult.h:29
Aws::QuickSight::Model::DescribeIngestionResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeIngestionResult.h:75
Aws::QuickSight::Model::DescribeIngestionResult::DescribeIngestionResult
DescribeIngestionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeIngestionResult::SetIngestion
void SetIngestion(const Ingestion &value)
Definition: DescribeIngestionResult.h:44
Ingestion.h
Aws::QuickSight::Model::DescribeIngestionResult::WithRequestId
DescribeIngestionResult & WithRequestId(Aws::String &&value)
Definition: DescribeIngestionResult.h:90
Aws::QuickSight::Model::DescribeIngestionResult::WithRequestId
DescribeIngestionResult & WithRequestId(const char *value)
Definition: DescribeIngestionResult.h:95
Aws::QuickSight::Model::DescribeIngestionResult::SetStatus
void SetStatus(int value)
Definition: DescribeIngestionResult.h:106
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::DescribeIngestionResult::WithIngestion
DescribeIngestionResult & WithIngestion(const Ingestion &value)
Definition: DescribeIngestionResult.h:54
Aws::QuickSight::Model::DescribeIngestionResult::DescribeIngestionResult
DescribeIngestionResult()
Aws::QuickSight::Model::DescribeIngestionResult::WithStatus
DescribeIngestionResult & WithStatus(int value)
Definition: DescribeIngestionResult.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeIngestionResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeIngestionResult.h:70
Aws::QuickSight::Model::DescribeIngestionResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeIngestionResult.h:65