AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatasetImportJobArn(const Aws::String& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = value; }
55 inline void SetDatasetImportJobArn(Aws::String&& value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn = std::move(value); }
56 inline void SetDatasetImportJobArn(const char* value) { m_datasetImportJobArnHasBeenSet = true; m_datasetImportJobArn.assign(value); }
58 inline DatasetImportJobSummary& WithDatasetImportJobArn(Aws::String&& value) { SetDatasetImportJobArn(std::move(value)); return *this;}
59 inline DatasetImportJobSummary& WithDatasetImportJobArn(const char* value) { SetDatasetImportJobArn(value); return *this;}
61
63
66 inline const Aws::String& GetDatasetImportJobName() const{ return m_datasetImportJobName; }
67 inline bool DatasetImportJobNameHasBeenSet() const { return m_datasetImportJobNameHasBeenSet; }
68 inline void SetDatasetImportJobName(const Aws::String& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = value; }
69 inline void SetDatasetImportJobName(Aws::String&& value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName = std::move(value); }
70 inline void SetDatasetImportJobName(const char* value) { m_datasetImportJobNameHasBeenSet = true; m_datasetImportJobName.assign(value); }
72 inline DatasetImportJobSummary& WithDatasetImportJobName(Aws::String&& value) { SetDatasetImportJobName(std::move(value)); return *this;}
73 inline DatasetImportJobSummary& WithDatasetImportJobName(const char* value) { SetDatasetImportJobName(value); return *this;}
75
77
83 inline const DataSource& GetDataSource() const{ return m_dataSource; }
84 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
85 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
86 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
87 inline DatasetImportJobSummary& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
88 inline DatasetImportJobSummary& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
90
92
100 inline const Aws::String& GetStatus() const{ return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
103 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
104 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
105 inline DatasetImportJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
106 inline DatasetImportJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
107 inline DatasetImportJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
109
111
114 inline const Aws::String& GetMessage() const{ return m_message; }
115 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
116 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
117 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
118 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
119 inline DatasetImportJobSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
120 inline DatasetImportJobSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
121 inline DatasetImportJobSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
129 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
130 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
131 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
133 inline DatasetImportJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
135
137
146 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
147 inline bool LastModificationTimeHasBeenSet() const { return m_lastModificationTimeHasBeenSet; }
148 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = value; }
149 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTimeHasBeenSet = true; m_lastModificationTime = std::move(value); }
153
155
158 inline const ImportMode& GetImportMode() const{ return m_importMode; }
159 inline bool ImportModeHasBeenSet() const { return m_importModeHasBeenSet; }
160 inline void SetImportMode(const ImportMode& value) { m_importModeHasBeenSet = true; m_importMode = value; }
161 inline void SetImportMode(ImportMode&& value) { m_importModeHasBeenSet = true; m_importMode = std::move(value); }
162 inline DatasetImportJobSummary& WithImportMode(const ImportMode& value) { SetImportMode(value); return *this;}
163 inline DatasetImportJobSummary& WithImportMode(ImportMode&& value) { SetImportMode(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_datasetImportJobArn;
168 bool m_datasetImportJobArnHasBeenSet = false;
169
170 Aws::String m_datasetImportJobName;
171 bool m_datasetImportJobNameHasBeenSet = false;
172
173 DataSource m_dataSource;
174 bool m_dataSourceHasBeenSet = false;
175
176 Aws::String m_status;
177 bool m_statusHasBeenSet = false;
178
179 Aws::String m_message;
180 bool m_messageHasBeenSet = false;
181
182 Aws::Utils::DateTime m_creationTime;
183 bool m_creationTimeHasBeenSet = false;
184
185 Aws::Utils::DateTime m_lastModificationTime;
186 bool m_lastModificationTimeHasBeenSet = false;
187
188 ImportMode m_importMode;
189 bool m_importModeHasBeenSet = false;
190 };
191
192} // namespace Model
193} // namespace ForecastService
194} // namespace Aws
DatasetImportJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
DatasetImportJobSummary & WithDatasetImportJobName(const char *value)
DatasetImportJobSummary & WithStatus(const char *value)
AWS_FORECASTSERVICE_API DatasetImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetImportJobSummary & WithMessage(const char *value)
DatasetImportJobSummary & WithLastModificationTime(Aws::Utils::DateTime &&value)
DatasetImportJobSummary & WithStatus(const Aws::String &value)
DatasetImportJobSummary & WithMessage(Aws::String &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithDatasetImportJobName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
DatasetImportJobSummary & WithImportMode(ImportMode &&value)
DatasetImportJobSummary & WithDatasetImportJobName(Aws::String &&value)
DatasetImportJobSummary & WithDatasetImportJobArn(const Aws::String &value)
DatasetImportJobSummary & WithDatasetImportJobArn(const char *value)
AWS_FORECASTSERVICE_API DatasetImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetImportJobSummary & WithDatasetImportJobArn(Aws::String &&value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithDataSource(DataSource &&value)
DatasetImportJobSummary & WithDataSource(const DataSource &value)
DatasetImportJobSummary & WithLastModificationTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithStatus(Aws::String &&value)
DatasetImportJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
DatasetImportJobSummary & WithImportMode(const ImportMode &value)
DatasetImportJobSummary & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue