AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetImportJobSummary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/model/DataSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/forecast/model/ImportMode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ForecastService
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_FORECASTSERVICE_API DatasetImportJobSummary() = default;
43 AWS_FORECASTSERVICE_API DatasetImportJobSummary(Aws::Utils::Json::JsonView jsonValue);
45 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetDatasetImportJobArn() const { return m_datasetImportJobArn; }
53 inline bool DatasetImportJobArnHasBeenSet() const { return m_datasetImportJobArnHasBeenSet; }
54 template<typename DatasetImportJobArnT = Aws::String>
55 void SetDatasetImportJobArn(DatasetImportJobArnT&& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = std::forward<DatasetImportJobArnT>(value); }
56 template<typename DatasetImportJobArnT = Aws::String>
57 DatasetImportJobSummary& WithDatasetImportJobArn(DatasetImportJobArnT&& value) { SetDatasetImportJobArn(std::forward<DatasetImportJobArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDatasetImportJobName() const { return m_datasetImportJobName; }
65 inline bool DatasetImportJobNameHasBeenSet() const { return m_datasetImportJobNameHasBeenSet; }
66 template<typename DatasetImportJobNameT = Aws::String>
67 void SetDatasetImportJobName(DatasetImportJobNameT&& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = std::forward<DatasetImportJobNameT>(value); }
68 template<typename DatasetImportJobNameT = Aws::String>
69 DatasetImportJobSummary& WithDatasetImportJobName(DatasetImportJobNameT&& value) { SetDatasetImportJobName(std::forward<DatasetImportJobNameT>(value)); return *this;}
71
73
79 inline const DataSource& GetDataSource() const { return m_dataSource; }
80 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
81 template<typename DataSourceT = DataSource>
82 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
83 template<typename DataSourceT = DataSource>
84 DatasetImportJobSummary& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
86
88
96 inline const Aws::String& GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 template<typename StatusT = Aws::String>
99 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
100 template<typename StatusT = Aws::String>
101 DatasetImportJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
103
105
108 inline const Aws::String& GetMessage() const { return m_message; }
109 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
110 template<typename MessageT = Aws::String>
111 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
112 template<typename MessageT = Aws::String>
113 DatasetImportJobSummary& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
121 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
122 template<typename CreationTimeT = Aws::Utils::DateTime>
123 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
124 template<typename CreationTimeT = Aws::Utils::DateTime>
125 DatasetImportJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
127
129
138 inline const Aws::Utils::DateTime& GetLastModificationTime() const { return m_lastModificationTime; }
139 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
140 template<typename LastModificationTimeT = Aws::Utils::DateTime>
141 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
142 template<typename LastModificationTimeT = Aws::Utils::DateTime>
143 DatasetImportJobSummary& WithLastModificationTime(LastModificationTimeT&& value) { SetLastModificationTime(std::forward<LastModificationTimeT>(value)); return *this;}
145
147
150 inline ImportMode GetImportMode() const { return m_importMode; }
151 inline bool ImportModeHasBeenSet() const { return m_importModeHasBeenSet; }
152 inline void SetImportMode(ImportMode value) { m_importModeHasBeenSet = true; m_importMode = value; }
153 inline DatasetImportJobSummary& WithImportMode(ImportMode value) { SetImportMode(value); return *this;}
155 private:
156
157 Aws::String m_datasetImportJobArn;
158 bool m_datasetImportJobArnHasBeenSet = false;
159
160 Aws::String m_datasetImportJobName;
161 bool m_datasetImportJobNameHasBeenSet = false;
162
163 DataSource m_dataSource;
164 bool m_dataSourceHasBeenSet = false;
165
166 Aws::String m_status;
167 bool m_statusHasBeenSet = false;
168
169 Aws::String m_message;
170 bool m_messageHasBeenSet = false;
171
172 Aws::Utils::DateTime m_creationTime{};
173 bool m_creationTimeHasBeenSet = false;
174
175 Aws::Utils::DateTime m_lastModificationTime{};
176 bool m_lastModificationTimeHasBeenSet = false;
177
178 ImportMode m_importMode{ImportMode::NOT_SET};
179 bool m_importModeHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace ForecastService
184} // namespace Aws
DatasetImportJobSummary & WithStatus(StatusT &&value)
AWS_FORECASTSERVICE_API DatasetImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetImportJobSummary & WithDatasetImportJobArn(DatasetImportJobArnT &&value)
DatasetImportJobSummary & WithImportMode(ImportMode value)
AWS_FORECASTSERVICE_API DatasetImportJobSummary()=default
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetImportJobSummary & WithDataSource(DataSourceT &&value)
DatasetImportJobSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModificationTime() const
DatasetImportJobSummary & WithMessage(MessageT &&value)
DatasetImportJobSummary & WithLastModificationTime(LastModificationTimeT &&value)
AWS_FORECASTSERVICE_API DatasetImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDatasetImportJobName(DatasetImportJobNameT &&value)
DatasetImportJobSummary & WithDatasetImportJobName(DatasetImportJobNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue