AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ingestion.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 <aws/quicksight/model/ErrorInfo.h>
11#include <aws/quicksight/model/RowInfo.h>
12#include <aws/quicksight/model/QueueInfo.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/quicksight/model/IngestionRequestSource.h>
15#include <aws/quicksight/model/IngestionRequestType.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_QUICKSIGHT_API Ingestion();
43 AWS_QUICKSIGHT_API Ingestion(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Ingestion& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetArn() const{ return m_arn; }
53 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
54 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
56 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
57 inline Ingestion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
58 inline Ingestion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
59 inline Ingestion& WithArn(const char* value) { SetArn(value); return *this;}
61
63
66 inline const Aws::String& GetIngestionId() const{ return m_ingestionId; }
67 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
68 inline void SetIngestionId(const Aws::String& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = value; }
69 inline void SetIngestionId(Aws::String&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::move(value); }
70 inline void SetIngestionId(const char* value) { m_ingestionIdHasBeenSet = true; m_ingestionId.assign(value); }
71 inline Ingestion& WithIngestionId(const Aws::String& value) { SetIngestionId(value); return *this;}
72 inline Ingestion& WithIngestionId(Aws::String&& value) { SetIngestionId(std::move(value)); return *this;}
73 inline Ingestion& WithIngestionId(const char* value) { SetIngestionId(value); return *this;}
75
77
80 inline const IngestionStatus& GetIngestionStatus() const{ return m_ingestionStatus; }
81 inline bool IngestionStatusHasBeenSet() const { return m_ingestionStatusHasBeenSet; }
82 inline void SetIngestionStatus(const IngestionStatus& value) { m_ingestionStatusHasBeenSet = true; m_ingestionStatus = value; }
83 inline void SetIngestionStatus(IngestionStatus&& value) { m_ingestionStatusHasBeenSet = true; m_ingestionStatus = std::move(value); }
84 inline Ingestion& WithIngestionStatus(const IngestionStatus& value) { SetIngestionStatus(value); return *this;}
85 inline Ingestion& WithIngestionStatus(IngestionStatus&& value) { SetIngestionStatus(std::move(value)); return *this;}
87
89
92 inline const ErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
93 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
94 inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; }
95 inline void SetErrorInfo(ErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); }
96 inline Ingestion& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;}
97 inline Ingestion& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;}
99
101
102 inline const RowInfo& GetRowInfo() const{ return m_rowInfo; }
103 inline bool RowInfoHasBeenSet() const { return m_rowInfoHasBeenSet; }
104 inline void SetRowInfo(const RowInfo& value) { m_rowInfoHasBeenSet = true; m_rowInfo = value; }
105 inline void SetRowInfo(RowInfo&& value) { m_rowInfoHasBeenSet = true; m_rowInfo = std::move(value); }
106 inline Ingestion& WithRowInfo(const RowInfo& value) { SetRowInfo(value); return *this;}
107 inline Ingestion& WithRowInfo(RowInfo&& value) { SetRowInfo(std::move(value)); return *this;}
109
111
112 inline const QueueInfo& GetQueueInfo() const{ return m_queueInfo; }
113 inline bool QueueInfoHasBeenSet() const { return m_queueInfoHasBeenSet; }
114 inline void SetQueueInfo(const QueueInfo& value) { m_queueInfoHasBeenSet = true; m_queueInfo = value; }
115 inline void SetQueueInfo(QueueInfo&& value) { m_queueInfoHasBeenSet = true; m_queueInfo = std::move(value); }
116 inline Ingestion& WithQueueInfo(const QueueInfo& value) { SetQueueInfo(value); return *this;}
117 inline Ingestion& WithQueueInfo(QueueInfo&& value) { SetQueueInfo(std::move(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
125 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
126 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
127 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
128 inline Ingestion& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
129 inline Ingestion& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
131
133
136 inline long long GetIngestionTimeInSeconds() const{ return m_ingestionTimeInSeconds; }
137 inline bool IngestionTimeInSecondsHasBeenSet() const { return m_ingestionTimeInSecondsHasBeenSet; }
138 inline void SetIngestionTimeInSeconds(long long value) { m_ingestionTimeInSecondsHasBeenSet = true; m_ingestionTimeInSeconds = value; }
139 inline Ingestion& WithIngestionTimeInSeconds(long long value) { SetIngestionTimeInSeconds(value); return *this;}
141
143
146 inline long long GetIngestionSizeInBytes() const{ return m_ingestionSizeInBytes; }
147 inline bool IngestionSizeInBytesHasBeenSet() const { return m_ingestionSizeInBytesHasBeenSet; }
148 inline void SetIngestionSizeInBytes(long long value) { m_ingestionSizeInBytesHasBeenSet = true; m_ingestionSizeInBytes = value; }
149 inline Ingestion& WithIngestionSizeInBytes(long long value) { SetIngestionSizeInBytes(value); return *this;}
151
153
156 inline const IngestionRequestSource& GetRequestSource() const{ return m_requestSource; }
157 inline bool RequestSourceHasBeenSet() const { return m_requestSourceHasBeenSet; }
158 inline void SetRequestSource(const IngestionRequestSource& value) { m_requestSourceHasBeenSet = true; m_requestSource = value; }
159 inline void SetRequestSource(IngestionRequestSource&& value) { m_requestSourceHasBeenSet = true; m_requestSource = std::move(value); }
160 inline Ingestion& WithRequestSource(const IngestionRequestSource& value) { SetRequestSource(value); return *this;}
161 inline Ingestion& WithRequestSource(IngestionRequestSource&& value) { SetRequestSource(std::move(value)); return *this;}
163
165
168 inline const IngestionRequestType& GetRequestType() const{ return m_requestType; }
169 inline bool RequestTypeHasBeenSet() const { return m_requestTypeHasBeenSet; }
170 inline void SetRequestType(const IngestionRequestType& value) { m_requestTypeHasBeenSet = true; m_requestType = value; }
171 inline void SetRequestType(IngestionRequestType&& value) { m_requestTypeHasBeenSet = true; m_requestType = std::move(value); }
172 inline Ingestion& WithRequestType(const IngestionRequestType& value) { SetRequestType(value); return *this;}
173 inline Ingestion& WithRequestType(IngestionRequestType&& value) { SetRequestType(std::move(value)); return *this;}
175 private:
176
177 Aws::String m_arn;
178 bool m_arnHasBeenSet = false;
179
180 Aws::String m_ingestionId;
181 bool m_ingestionIdHasBeenSet = false;
182
183 IngestionStatus m_ingestionStatus;
184 bool m_ingestionStatusHasBeenSet = false;
185
186 ErrorInfo m_errorInfo;
187 bool m_errorInfoHasBeenSet = false;
188
189 RowInfo m_rowInfo;
190 bool m_rowInfoHasBeenSet = false;
191
192 QueueInfo m_queueInfo;
193 bool m_queueInfoHasBeenSet = false;
194
195 Aws::Utils::DateTime m_createdTime;
196 bool m_createdTimeHasBeenSet = false;
197
198 long long m_ingestionTimeInSeconds;
199 bool m_ingestionTimeInSecondsHasBeenSet = false;
200
201 long long m_ingestionSizeInBytes;
202 bool m_ingestionSizeInBytesHasBeenSet = false;
203
204 IngestionRequestSource m_requestSource;
205 bool m_requestSourceHasBeenSet = false;
206
207 IngestionRequestType m_requestType;
208 bool m_requestTypeHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace QuickSight
213} // namespace Aws
Ingestion & WithRequestType(IngestionRequestType &&value)
Definition Ingestion.h:173
void SetArn(Aws::String &&value)
Definition Ingestion.h:55
Ingestion & WithRequestType(const IngestionRequestType &value)
Definition Ingestion.h:172
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Ingestion.h:124
const IngestionStatus & GetIngestionStatus() const
Definition Ingestion.h:80
Ingestion & WithIngestionId(const char *value)
Definition Ingestion.h:73
Ingestion & WithErrorInfo(const ErrorInfo &value)
Definition Ingestion.h:96
void SetIngestionId(const Aws::String &value)
Definition Ingestion.h:68
Ingestion & WithArn(const Aws::String &value)
Definition Ingestion.h:57
void SetArn(const char *value)
Definition Ingestion.h:56
void SetRowInfo(const RowInfo &value)
Definition Ingestion.h:104
const IngestionRequestType & GetRequestType() const
Definition Ingestion.h:168
void SetIngestionStatus(IngestionStatus &&value)
Definition Ingestion.h:83
Ingestion & WithQueueInfo(QueueInfo &&value)
Definition Ingestion.h:117
AWS_QUICKSIGHT_API Ingestion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorInfo(ErrorInfo &&value)
Definition Ingestion.h:95
void SetIngestionStatus(const IngestionStatus &value)
Definition Ingestion.h:82
void SetRequestSource(const IngestionRequestSource &value)
Definition Ingestion.h:158
void SetRequestType(IngestionRequestType &&value)
Definition Ingestion.h:171
Ingestion & WithRowInfo(RowInfo &&value)
Definition Ingestion.h:107
void SetIngestionTimeInSeconds(long long value)
Definition Ingestion.h:138
Ingestion & WithRequestSource(const IngestionRequestSource &value)
Definition Ingestion.h:160
void SetErrorInfo(const ErrorInfo &value)
Definition Ingestion.h:94
Ingestion & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition Ingestion.h:129
Ingestion & WithIngestionId(Aws::String &&value)
Definition Ingestion.h:72
long long GetIngestionTimeInSeconds() const
Definition Ingestion.h:136
void SetQueueInfo(QueueInfo &&value)
Definition Ingestion.h:115
Ingestion & WithIngestionSizeInBytes(long long value)
Definition Ingestion.h:149
void SetRowInfo(RowInfo &&value)
Definition Ingestion.h:105
long long GetIngestionSizeInBytes() const
Definition Ingestion.h:146
const QueueInfo & GetQueueInfo() const
Definition Ingestion.h:112
void SetRequestType(const IngestionRequestType &value)
Definition Ingestion.h:170
const ErrorInfo & GetErrorInfo() const
Definition Ingestion.h:92
Ingestion & WithQueueInfo(const QueueInfo &value)
Definition Ingestion.h:116
void SetQueueInfo(const QueueInfo &value)
Definition Ingestion.h:114
const RowInfo & GetRowInfo() const
Definition Ingestion.h:102
void SetIngestionId(Aws::String &&value)
Definition Ingestion.h:69
void SetIngestionSizeInBytes(long long value)
Definition Ingestion.h:148
Ingestion & WithRequestSource(IngestionRequestSource &&value)
Definition Ingestion.h:161
const Aws::String & GetArn() const
Definition Ingestion.h:52
void SetArn(const Aws::String &value)
Definition Ingestion.h:54
void SetRequestSource(IngestionRequestSource &&value)
Definition Ingestion.h:159
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition Ingestion.h:127
AWS_QUICKSIGHT_API Ingestion()
Ingestion & WithIngestionId(const Aws::String &value)
Definition Ingestion.h:71
void SetIngestionId(const char *value)
Definition Ingestion.h:70
bool IngestionTimeInSecondsHasBeenSet() const
Definition Ingestion.h:137
Ingestion & WithIngestionStatus(const IngestionStatus &value)
Definition Ingestion.h:84
Ingestion & WithArn(Aws::String &&value)
Definition Ingestion.h:58
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Ingestion & WithRowInfo(const RowInfo &value)
Definition Ingestion.h:106
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition Ingestion.h:126
Ingestion & WithArn(const char *value)
Definition Ingestion.h:59
AWS_QUICKSIGHT_API Ingestion(Aws::Utils::Json::JsonView jsonValue)
Ingestion & WithIngestionTimeInSeconds(long long value)
Definition Ingestion.h:139
Ingestion & WithIngestionStatus(IngestionStatus &&value)
Definition Ingestion.h:85
Ingestion & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition Ingestion.h:128
const IngestionRequestSource & GetRequestSource() const
Definition Ingestion.h:156
const Aws::String & GetIngestionId() const
Definition Ingestion.h:66
Ingestion & WithErrorInfo(ErrorInfo &&value)
Definition Ingestion.h:97
bool IngestionSizeInBytesHasBeenSet() const
Definition Ingestion.h:147
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue