AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ContinuousExportDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
11#include <aws/discovery/model/ContinuousExportStatus.h>
12#include <aws/discovery/model/DataSource.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ApplicationDiscoveryService {
24namespace Model {
25
32 public:
33 AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription() = default;
34 AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetExportId() const { return m_exportId; }
43 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
44 template <typename ExportIdT = Aws::String>
45 void SetExportId(ExportIdT&& value) {
46 m_exportIdHasBeenSet = true;
47 m_exportId = std::forward<ExportIdT>(value);
48 }
49 template <typename ExportIdT = Aws::String>
51 SetExportId(std::forward<ExportIdT>(value));
52 return *this;
53 }
55
57
70 inline ContinuousExportStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(ContinuousExportStatus value) {
73 m_statusHasBeenSet = true;
74 m_status = value;
75 }
77 SetStatus(value);
78 return *this;
79 }
81
83
144 inline const Aws::String& GetStatusDetail() const { return m_statusDetail; }
145 inline bool StatusDetailHasBeenSet() const { return m_statusDetailHasBeenSet; }
146 template <typename StatusDetailT = Aws::String>
147 void SetStatusDetail(StatusDetailT&& value) {
148 m_statusDetailHasBeenSet = true;
149 m_statusDetail = std::forward<StatusDetailT>(value);
150 }
151 template <typename StatusDetailT = Aws::String>
153 SetStatusDetail(std::forward<StatusDetailT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
163 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
164 template <typename S3BucketT = Aws::String>
165 void SetS3Bucket(S3BucketT&& value) {
166 m_s3BucketHasBeenSet = true;
167 m_s3Bucket = std::forward<S3BucketT>(value);
168 }
169 template <typename S3BucketT = Aws::String>
171 SetS3Bucket(std::forward<S3BucketT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
181 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
182 template <typename StartTimeT = Aws::Utils::DateTime>
183 void SetStartTime(StartTimeT&& value) {
184 m_startTimeHasBeenSet = true;
185 m_startTime = std::forward<StartTimeT>(value);
186 }
187 template <typename StartTimeT = Aws::Utils::DateTime>
189 SetStartTime(std::forward<StartTimeT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::Utils::DateTime& GetStopTime() const { return m_stopTime; }
199 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
200 template <typename StopTimeT = Aws::Utils::DateTime>
201 void SetStopTime(StopTimeT&& value) {
202 m_stopTimeHasBeenSet = true;
203 m_stopTime = std::forward<StopTimeT>(value);
204 }
205 template <typename StopTimeT = Aws::Utils::DateTime>
207 SetStopTime(std::forward<StopTimeT>(value));
208 return *this;
209 }
211
213
217 inline DataSource GetDataSource() const { return m_dataSource; }
218 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
219 inline void SetDataSource(DataSource value) {
220 m_dataSourceHasBeenSet = true;
221 m_dataSource = value;
222 }
224 SetDataSource(value);
225 return *this;
226 }
228
230
235 inline const Aws::Map<Aws::String, Aws::String>& GetSchemaStorageConfig() const { return m_schemaStorageConfig; }
236 inline bool SchemaStorageConfigHasBeenSet() const { return m_schemaStorageConfigHasBeenSet; }
237 template <typename SchemaStorageConfigT = Aws::Map<Aws::String, Aws::String>>
238 void SetSchemaStorageConfig(SchemaStorageConfigT&& value) {
239 m_schemaStorageConfigHasBeenSet = true;
240 m_schemaStorageConfig = std::forward<SchemaStorageConfigT>(value);
241 }
242 template <typename SchemaStorageConfigT = Aws::Map<Aws::String, Aws::String>>
244 SetSchemaStorageConfig(std::forward<SchemaStorageConfigT>(value));
245 return *this;
246 }
247 template <typename SchemaStorageConfigKeyT = Aws::String, typename SchemaStorageConfigValueT = Aws::String>
248 ContinuousExportDescription& AddSchemaStorageConfig(SchemaStorageConfigKeyT&& key, SchemaStorageConfigValueT&& value) {
249 m_schemaStorageConfigHasBeenSet = true;
250 m_schemaStorageConfig.emplace(std::forward<SchemaStorageConfigKeyT>(key), std::forward<SchemaStorageConfigValueT>(value));
251 return *this;
252 }
254 private:
255 Aws::String m_exportId;
256
258
259 Aws::String m_statusDetail;
260
261 Aws::String m_s3Bucket;
262
263 Aws::Utils::DateTime m_startTime{};
264
265 Aws::Utils::DateTime m_stopTime{};
266
267 DataSource m_dataSource{DataSource::NOT_SET};
268
269 Aws::Map<Aws::String, Aws::String> m_schemaStorageConfig;
270 bool m_exportIdHasBeenSet = false;
271 bool m_statusHasBeenSet = false;
272 bool m_statusDetailHasBeenSet = false;
273 bool m_s3BucketHasBeenSet = false;
274 bool m_startTimeHasBeenSet = false;
275 bool m_stopTimeHasBeenSet = false;
276 bool m_dataSourceHasBeenSet = false;
277 bool m_schemaStorageConfigHasBeenSet = false;
278};
279
280} // namespace Model
281} // namespace ApplicationDiscoveryService
282} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContinuousExportDescription & WithStatusDetail(StatusDetailT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription()=default
ContinuousExportDescription & WithStatus(ContinuousExportStatus value)
const Aws::Map< Aws::String, Aws::String > & GetSchemaStorageConfig() const
AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ContinuousExportDescription & WithSchemaStorageConfig(SchemaStorageConfigT &&value)
ContinuousExportDescription & AddSchemaStorageConfig(SchemaStorageConfigKeyT &&key, SchemaStorageConfigValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue