AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateIngestionResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/IngestionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API CreateIngestionResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline CreateIngestionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline CreateIngestionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline CreateIngestionResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
53 inline const Aws::String& GetIngestionId() const{ return m_ingestionId; }
54 inline void SetIngestionId(const Aws::String& value) { m_ingestionId = value; }
55 inline void SetIngestionId(Aws::String&& value) { m_ingestionId = std::move(value); }
56 inline void SetIngestionId(const char* value) { m_ingestionId.assign(value); }
57 inline CreateIngestionResult& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;}
58 inline CreateIngestionResult& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;}
59 inline CreateIngestionResult& WithIngestionId(const char* value) { SetIngestionId(value); return *this;}
61
63
66 inline const IngestionStatus& GetIngestionStatus() const{ return m_ingestionStatus; }
67 inline void SetIngestionStatus(const IngestionStatus& value) { m_ingestionStatus = value; }
68 inline void SetIngestionStatus(IngestionStatus&& value) { m_ingestionStatus = std::move(value); }
69 inline CreateIngestionResult& WithIngestionStatus(const IngestionStatus& value) { SetIngestionStatus(value); return *this;}
70 inline CreateIngestionResult& WithIngestionStatus(IngestionStatus&& value) { SetIngestionStatus(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateIngestionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateIngestionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateIngestionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83
85
88 inline int GetStatus() const{ return m_status; }
89 inline void SetStatus(int value) { m_status = value; }
90 inline CreateIngestionResult& WithStatus(int value) { SetStatus(value); return *this;}
92 private:
93
94 Aws::String m_arn;
95
96 Aws::String m_ingestionId;
97
98 IngestionStatus m_ingestionStatus;
99
100 Aws::String m_requestId;
101
102 int m_status;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
CreateIngestionResult & WithArn(const char *value)
CreateIngestionResult & WithRequestId(const Aws::String &value)
CreateIngestionResult & WithStatus(int value)
AWS_QUICKSIGHT_API CreateIngestionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIngestionResult & WithIngestionId(Aws::String &&value)
CreateIngestionResult & WithIngestionId(const char *value)
CreateIngestionResult & WithIngestionStatus(const IngestionStatus &value)
CreateIngestionResult & WithRequestId(Aws::String &&value)
CreateIngestionResult & WithIngestionId(const Aws::String &value)
void SetIngestionStatus(const IngestionStatus &value)
AWS_QUICKSIGHT_API CreateIngestionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateIngestionResult & WithArn(Aws::String &&value)
CreateIngestionResult & WithIngestionStatus(IngestionStatus &&value)
CreateIngestionResult & WithArn(const Aws::String &value)
const IngestionStatus & GetIngestionStatus() const
CreateIngestionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue