AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataSourceRunActivity.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/DataAssetActivityStatus.h>
11#include <aws/datazone/model/DataSourceErrorMessage.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 DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API DataSourceRunActivity();
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
48 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
49 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
50 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
51 inline DataSourceRunActivity& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
52 inline DataSourceRunActivity& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetDataAssetId() const{ return m_dataAssetId; }
60 inline bool DataAssetIdHasBeenSet() const { return m_dataAssetIdHasBeenSet; }
61 inline void SetDataAssetId(const Aws::String& value) { m_dataAssetIdHasBeenSet = true; m_dataAssetId = value; }
62 inline void SetDataAssetId(Aws::String&& value) { m_dataAssetIdHasBeenSet = true; m_dataAssetId = std::move(value); }
63 inline void SetDataAssetId(const char* value) { m_dataAssetIdHasBeenSet = true; m_dataAssetId.assign(value); }
64 inline DataSourceRunActivity& WithDataAssetId(const Aws::String& value) { SetDataAssetId(value); return *this;}
65 inline DataSourceRunActivity& WithDataAssetId(Aws::String&& value) { SetDataAssetId(std::move(value)); return *this;}
66 inline DataSourceRunActivity& WithDataAssetId(const char* value) { SetDataAssetId(value); return *this;}
68
70
73 inline const DataAssetActivityStatus& GetDataAssetStatus() const{ return m_dataAssetStatus; }
74 inline bool DataAssetStatusHasBeenSet() const { return m_dataAssetStatusHasBeenSet; }
75 inline void SetDataAssetStatus(const DataAssetActivityStatus& value) { m_dataAssetStatusHasBeenSet = true; m_dataAssetStatus = value; }
76 inline void SetDataAssetStatus(DataAssetActivityStatus&& value) { m_dataAssetStatusHasBeenSet = true; m_dataAssetStatus = std::move(value); }
78 inline DataSourceRunActivity& WithDataAssetStatus(DataAssetActivityStatus&& value) { SetDataAssetStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::String& GetDataSourceRunId() const{ return m_dataSourceRunId; }
86 inline bool DataSourceRunIdHasBeenSet() const { return m_dataSourceRunIdHasBeenSet; }
87 inline void SetDataSourceRunId(const Aws::String& value) { m_dataSourceRunIdHasBeenSet = true; m_dataSourceRunId = value; }
88 inline void SetDataSourceRunId(Aws::String&& value) { m_dataSourceRunIdHasBeenSet = true; m_dataSourceRunId = std::move(value); }
89 inline void SetDataSourceRunId(const char* value) { m_dataSourceRunIdHasBeenSet = true; m_dataSourceRunId.assign(value); }
90 inline DataSourceRunActivity& WithDataSourceRunId(const Aws::String& value) { SetDataSourceRunId(value); return *this;}
91 inline DataSourceRunActivity& WithDataSourceRunId(Aws::String&& value) { SetDataSourceRunId(std::move(value)); return *this;}
92 inline DataSourceRunActivity& WithDataSourceRunId(const char* value) { SetDataSourceRunId(value); return *this;}
94
96
99 inline const Aws::String& GetDatabase() const{ return m_database; }
100 inline bool DatabaseHasBeenSet() const { return m_databaseHasBeenSet; }
101 inline void SetDatabase(const Aws::String& value) { m_databaseHasBeenSet = true; m_database = value; }
102 inline void SetDatabase(Aws::String&& value) { m_databaseHasBeenSet = true; m_database = std::move(value); }
103 inline void SetDatabase(const char* value) { m_databaseHasBeenSet = true; m_database.assign(value); }
104 inline DataSourceRunActivity& WithDatabase(const Aws::String& value) { SetDatabase(value); return *this;}
105 inline DataSourceRunActivity& WithDatabase(Aws::String&& value) { SetDatabase(std::move(value)); return *this;}
106 inline DataSourceRunActivity& WithDatabase(const char* value) { SetDatabase(value); return *this;}
108
110
111 inline const DataSourceErrorMessage& GetErrorMessage() const{ return m_errorMessage; }
112 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
113 inline void SetErrorMessage(const DataSourceErrorMessage& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
114 inline void SetErrorMessage(DataSourceErrorMessage&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
116 inline DataSourceRunActivity& WithErrorMessage(DataSourceErrorMessage&& value) { SetErrorMessage(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetProjectId() const{ return m_projectId; }
124 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
125 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
126 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
127 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
128 inline DataSourceRunActivity& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
129 inline DataSourceRunActivity& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
130 inline DataSourceRunActivity& WithProjectId(const char* value) { SetProjectId(value); return *this;}
132
134
137 inline const Aws::String& GetTechnicalDescription() const{ return m_technicalDescription; }
138 inline bool TechnicalDescriptionHasBeenSet() const { return m_technicalDescriptionHasBeenSet; }
139 inline void SetTechnicalDescription(const Aws::String& value) { m_technicalDescriptionHasBeenSet = true; m_technicalDescription = value; }
140 inline void SetTechnicalDescription(Aws::String&& value) { m_technicalDescriptionHasBeenSet = true; m_technicalDescription = std::move(value); }
141 inline void SetTechnicalDescription(const char* value) { m_technicalDescriptionHasBeenSet = true; m_technicalDescription.assign(value); }
143 inline DataSourceRunActivity& WithTechnicalDescription(Aws::String&& value) { SetTechnicalDescription(std::move(value)); return *this;}
144 inline DataSourceRunActivity& WithTechnicalDescription(const char* value) { SetTechnicalDescription(value); return *this;}
146
148
151 inline const Aws::String& GetTechnicalName() const{ return m_technicalName; }
152 inline bool TechnicalNameHasBeenSet() const { return m_technicalNameHasBeenSet; }
153 inline void SetTechnicalName(const Aws::String& value) { m_technicalNameHasBeenSet = true; m_technicalName = value; }
154 inline void SetTechnicalName(Aws::String&& value) { m_technicalNameHasBeenSet = true; m_technicalName = std::move(value); }
155 inline void SetTechnicalName(const char* value) { m_technicalNameHasBeenSet = true; m_technicalName.assign(value); }
156 inline DataSourceRunActivity& WithTechnicalName(const Aws::String& value) { SetTechnicalName(value); return *this;}
157 inline DataSourceRunActivity& WithTechnicalName(Aws::String&& value) { SetTechnicalName(std::move(value)); return *this;}
158 inline DataSourceRunActivity& WithTechnicalName(const char* value) { SetTechnicalName(value); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
166 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
167 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
168 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
169 inline DataSourceRunActivity& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
170 inline DataSourceRunActivity& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
172 private:
173
174 Aws::Utils::DateTime m_createdAt;
175 bool m_createdAtHasBeenSet = false;
176
177 Aws::String m_dataAssetId;
178 bool m_dataAssetIdHasBeenSet = false;
179
180 DataAssetActivityStatus m_dataAssetStatus;
181 bool m_dataAssetStatusHasBeenSet = false;
182
183 Aws::String m_dataSourceRunId;
184 bool m_dataSourceRunIdHasBeenSet = false;
185
186 Aws::String m_database;
187 bool m_databaseHasBeenSet = false;
188
189 DataSourceErrorMessage m_errorMessage;
190 bool m_errorMessageHasBeenSet = false;
191
192 Aws::String m_projectId;
193 bool m_projectIdHasBeenSet = false;
194
195 Aws::String m_technicalDescription;
196 bool m_technicalDescriptionHasBeenSet = false;
197
198 Aws::String m_technicalName;
199 bool m_technicalNameHasBeenSet = false;
200
201 Aws::Utils::DateTime m_updatedAt;
202 bool m_updatedAtHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace DataZone
207} // namespace Aws
DataSourceRunActivity & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const DataAssetActivityStatus & GetDataAssetStatus() const
DataSourceRunActivity & WithDatabase(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetErrorMessage(DataSourceErrorMessage &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
DataSourceRunActivity & WithProjectId(Aws::String &&value)
DataSourceRunActivity & WithTechnicalName(const Aws::String &value)
DataSourceRunActivity & WithProjectId(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
DataSourceRunActivity & WithTechnicalName(const char *value)
DataSourceRunActivity & WithUpdatedAt(const Aws::Utils::DateTime &value)
DataSourceRunActivity & WithErrorMessage(const DataSourceErrorMessage &value)
DataSourceRunActivity & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
DataSourceRunActivity & WithDataSourceRunId(const Aws::String &value)
DataSourceRunActivity & WithTechnicalDescription(Aws::String &&value)
void SetErrorMessage(const DataSourceErrorMessage &value)
DataSourceRunActivity & WithTechnicalDescription(const Aws::String &value)
DataSourceRunActivity & WithDataSourceRunId(const char *value)
DataSourceRunActivity & WithDataAssetStatus(const DataAssetActivityStatus &value)
DataSourceRunActivity & WithDataSourceRunId(Aws::String &&value)
DataSourceRunActivity & WithDatabase(const Aws::String &value)
void SetTechnicalDescription(const Aws::String &value)
AWS_DATAZONE_API DataSourceRunActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
DataSourceRunActivity & WithTechnicalDescription(const char *value)
DataSourceRunActivity & WithDataAssetId(Aws::String &&value)
void SetDataSourceRunId(const Aws::String &value)
DataSourceRunActivity & WithDataAssetId(const char *value)
DataSourceRunActivity & WithDataAssetStatus(DataAssetActivityStatus &&value)
DataSourceRunActivity & WithDataAssetId(const Aws::String &value)
void SetDataAssetStatus(const DataAssetActivityStatus &value)
DataSourceRunActivity & WithDatabase(Aws::String &&value)
DataSourceRunActivity & WithErrorMessage(DataSourceErrorMessage &&value)
DataSourceRunActivity & WithProjectId(const char *value)
const DataSourceErrorMessage & GetErrorMessage() const
DataSourceRunActivity & WithTechnicalName(Aws::String &&value)
DataSourceRunActivity & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetDataAssetStatus(DataAssetActivityStatus &&value)
AWS_DATAZONE_API DataSourceRunActivity(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue