AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 Ingestion& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
65 inline bool IngestionIdHasBeenSet() const { return m_ingestionIdHasBeenSet; }
66 template<typename IngestionIdT = Aws::String>
67 void SetIngestionId(IngestionIdT&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::forward<IngestionIdT>(value); }
68 template<typename IngestionIdT = Aws::String>
69 Ingestion& WithIngestionId(IngestionIdT&& value) { SetIngestionId(std::forward<IngestionIdT>(value)); return *this;}
71
73
76 inline IngestionStatus GetIngestionStatus() const { return m_ingestionStatus; }
77 inline bool IngestionStatusHasBeenSet() const { return m_ingestionStatusHasBeenSet; }
78 inline void SetIngestionStatus(IngestionStatus value) { m_ingestionStatusHasBeenSet = true; m_ingestionStatus = value; }
79 inline Ingestion& WithIngestionStatus(IngestionStatus value) { SetIngestionStatus(value); return *this;}
81
83
86 inline const ErrorInfo& GetErrorInfo() const { return m_errorInfo; }
87 inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; }
88 template<typename ErrorInfoT = ErrorInfo>
89 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::forward<ErrorInfoT>(value); }
90 template<typename ErrorInfoT = ErrorInfo>
91 Ingestion& WithErrorInfo(ErrorInfoT&& value) { SetErrorInfo(std::forward<ErrorInfoT>(value)); return *this;}
93
95
96 inline const RowInfo& GetRowInfo() const { return m_rowInfo; }
97 inline bool RowInfoHasBeenSet() const { return m_rowInfoHasBeenSet; }
98 template<typename RowInfoT = RowInfo>
99 void SetRowInfo(RowInfoT&& value) { m_rowInfoHasBeenSet = true; m_rowInfo = std::forward<RowInfoT>(value); }
100 template<typename RowInfoT = RowInfo>
101 Ingestion& WithRowInfo(RowInfoT&& value) { SetRowInfo(std::forward<RowInfoT>(value)); return *this;}
103
105
106 inline const QueueInfo& GetQueueInfo() const { return m_queueInfo; }
107 inline bool QueueInfoHasBeenSet() const { return m_queueInfoHasBeenSet; }
108 template<typename QueueInfoT = QueueInfo>
109 void SetQueueInfo(QueueInfoT&& value) { m_queueInfoHasBeenSet = true; m_queueInfo = std::forward<QueueInfoT>(value); }
110 template<typename QueueInfoT = QueueInfo>
111 Ingestion& WithQueueInfo(QueueInfoT&& value) { SetQueueInfo(std::forward<QueueInfoT>(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
119 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
120 template<typename CreatedTimeT = Aws::Utils::DateTime>
121 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
122 template<typename CreatedTimeT = Aws::Utils::DateTime>
123 Ingestion& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
125
127
130 inline long long GetIngestionTimeInSeconds() const { return m_ingestionTimeInSeconds; }
131 inline bool IngestionTimeInSecondsHasBeenSet() const { return m_ingestionTimeInSecondsHasBeenSet; }
132 inline void SetIngestionTimeInSeconds(long long value) { m_ingestionTimeInSecondsHasBeenSet = true; m_ingestionTimeInSeconds = value; }
133 inline Ingestion& WithIngestionTimeInSeconds(long long value) { SetIngestionTimeInSeconds(value); return *this;}
135
137
140 inline long long GetIngestionSizeInBytes() const { return m_ingestionSizeInBytes; }
141 inline bool IngestionSizeInBytesHasBeenSet() const { return m_ingestionSizeInBytesHasBeenSet; }
142 inline void SetIngestionSizeInBytes(long long value) { m_ingestionSizeInBytesHasBeenSet = true; m_ingestionSizeInBytes = value; }
143 inline Ingestion& WithIngestionSizeInBytes(long long value) { SetIngestionSizeInBytes(value); return *this;}
145
147
150 inline IngestionRequestSource GetRequestSource() const { return m_requestSource; }
151 inline bool RequestSourceHasBeenSet() const { return m_requestSourceHasBeenSet; }
152 inline void SetRequestSource(IngestionRequestSource value) { m_requestSourceHasBeenSet = true; m_requestSource = value; }
155
157
160 inline IngestionRequestType GetRequestType() const { return m_requestType; }
161 inline bool RequestTypeHasBeenSet() const { return m_requestTypeHasBeenSet; }
162 inline void SetRequestType(IngestionRequestType value) { m_requestTypeHasBeenSet = true; m_requestType = value; }
163 inline Ingestion& WithRequestType(IngestionRequestType value) { SetRequestType(value); return *this;}
165 private:
166
167 Aws::String m_arn;
168 bool m_arnHasBeenSet = false;
169
170 Aws::String m_ingestionId;
171 bool m_ingestionIdHasBeenSet = false;
172
173 IngestionStatus m_ingestionStatus{IngestionStatus::NOT_SET};
174 bool m_ingestionStatusHasBeenSet = false;
175
176 ErrorInfo m_errorInfo;
177 bool m_errorInfoHasBeenSet = false;
178
179 RowInfo m_rowInfo;
180 bool m_rowInfoHasBeenSet = false;
181
182 QueueInfo m_queueInfo;
183 bool m_queueInfoHasBeenSet = false;
184
185 Aws::Utils::DateTime m_createdTime{};
186 bool m_createdTimeHasBeenSet = false;
187
188 long long m_ingestionTimeInSeconds{0};
189 bool m_ingestionTimeInSecondsHasBeenSet = false;
190
191 long long m_ingestionSizeInBytes{0};
192 bool m_ingestionSizeInBytesHasBeenSet = false;
193
195 bool m_requestSourceHasBeenSet = false;
196
198 bool m_requestTypeHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace QuickSight
203} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTime() const
Definition Ingestion.h:118
AWS_QUICKSIGHT_API Ingestion()=default
Ingestion & WithArn(ArnT &&value)
Definition Ingestion.h:57
Ingestion & WithIngestionId(IngestionIdT &&value)
Definition Ingestion.h:69
AWS_QUICKSIGHT_API Ingestion & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionRequestSource GetRequestSource() const
Definition Ingestion.h:150
Ingestion & WithIngestionStatus(IngestionStatus value)
Definition Ingestion.h:79
void SetRowInfo(RowInfoT &&value)
Definition Ingestion.h:99
void SetIngestionTimeInSeconds(long long value)
Definition Ingestion.h:132
void SetCreatedTime(CreatedTimeT &&value)
Definition Ingestion.h:121
IngestionStatus GetIngestionStatus() const
Definition Ingestion.h:76
long long GetIngestionTimeInSeconds() const
Definition Ingestion.h:130
Ingestion & WithIngestionSizeInBytes(long long value)
Definition Ingestion.h:143
long long GetIngestionSizeInBytes() const
Definition Ingestion.h:140
const QueueInfo & GetQueueInfo() const
Definition Ingestion.h:106
const ErrorInfo & GetErrorInfo() const
Definition Ingestion.h:86
Ingestion & WithErrorInfo(ErrorInfoT &&value)
Definition Ingestion.h:91
IngestionRequestType GetRequestType() const
Definition Ingestion.h:160
const RowInfo & GetRowInfo() const
Definition Ingestion.h:96
Ingestion & WithRequestType(IngestionRequestType value)
Definition Ingestion.h:163
void SetIngestionId(IngestionIdT &&value)
Definition Ingestion.h:67
void SetIngestionSizeInBytes(long long value)
Definition Ingestion.h:142
void SetRequestSource(IngestionRequestSource value)
Definition Ingestion.h:152
const Aws::String & GetArn() const
Definition Ingestion.h:52
Ingestion & WithRequestSource(IngestionRequestSource value)
Definition Ingestion.h:153
Ingestion & WithRowInfo(RowInfoT &&value)
Definition Ingestion.h:101
bool IngestionTimeInSecondsHasBeenSet() const
Definition Ingestion.h:131
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIngestionStatus(IngestionStatus value)
Definition Ingestion.h:78
Ingestion & WithQueueInfo(QueueInfoT &&value)
Definition Ingestion.h:111
AWS_QUICKSIGHT_API Ingestion(Aws::Utils::Json::JsonView jsonValue)
void SetErrorInfo(ErrorInfoT &&value)
Definition Ingestion.h:89
Ingestion & WithIngestionTimeInSeconds(long long value)
Definition Ingestion.h:133
Ingestion & WithCreatedTime(CreatedTimeT &&value)
Definition Ingestion.h:123
void SetRequestType(IngestionRequestType value)
Definition Ingestion.h:162
void SetQueueInfo(QueueInfoT &&value)
Definition Ingestion.h:109
const Aws::String & GetIngestionId() const
Definition Ingestion.h:64
bool IngestionSizeInBytesHasBeenSet() const
Definition Ingestion.h:141
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue