AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContinuousExportDescription.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/model/ContinuousExportStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/discovery/model/DataSource.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationDiscoveryService
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription() = default;
39 AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetExportId() const { return m_exportId; }
49 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
50 template<typename ExportIdT = Aws::String>
51 void SetExportId(ExportIdT&& value) { m_exportIdHasBeenSet = true; m_exportId = std::forward<ExportIdT>(value); }
52 template<typename ExportIdT = Aws::String>
53 ContinuousExportDescription& WithExportId(ExportIdT&& value) { SetExportId(std::forward<ExportIdT>(value)); return *this;}
55
57
70 inline ContinuousExportStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(ContinuousExportStatus value) { m_statusHasBeenSet = true; m_status = value; }
75
77
138 inline const Aws::String& GetStatusDetail() const { return m_statusDetail; }
139 inline bool StatusDetailHasBeenSet() const { return m_statusDetailHasBeenSet; }
140 template<typename StatusDetailT = Aws::String>
141 void SetStatusDetail(StatusDetailT&& value) { m_statusDetailHasBeenSet = true; m_statusDetail = std::forward<StatusDetailT>(value); }
142 template<typename StatusDetailT = Aws::String>
143 ContinuousExportDescription& WithStatusDetail(StatusDetailT&& value) { SetStatusDetail(std::forward<StatusDetailT>(value)); return *this;}
145
147
150 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
151 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
152 template<typename S3BucketT = Aws::String>
153 void SetS3Bucket(S3BucketT&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::forward<S3BucketT>(value); }
154 template<typename S3BucketT = Aws::String>
155 ContinuousExportDescription& WithS3Bucket(S3BucketT&& value) { SetS3Bucket(std::forward<S3BucketT>(value)); return *this;}
157
159
162 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
163 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
164 template<typename StartTimeT = Aws::Utils::DateTime>
165 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
166 template<typename StartTimeT = Aws::Utils::DateTime>
167 ContinuousExportDescription& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetStopTime() const { return m_stopTime; }
175 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
176 template<typename StopTimeT = Aws::Utils::DateTime>
177 void SetStopTime(StopTimeT&& value) { m_stopTimeHasBeenSet = true; m_stopTime = std::forward<StopTimeT>(value); }
178 template<typename StopTimeT = Aws::Utils::DateTime>
179 ContinuousExportDescription& WithStopTime(StopTimeT&& value) { SetStopTime(std::forward<StopTimeT>(value)); return *this;}
181
183
187 inline DataSource GetDataSource() const { return m_dataSource; }
188 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
189 inline void SetDataSource(DataSource value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
192
194
199 inline const Aws::Map<Aws::String, Aws::String>& GetSchemaStorageConfig() const { return m_schemaStorageConfig; }
200 inline bool SchemaStorageConfigHasBeenSet() const { return m_schemaStorageConfigHasBeenSet; }
201 template<typename SchemaStorageConfigT = Aws::Map<Aws::String, Aws::String>>
202 void SetSchemaStorageConfig(SchemaStorageConfigT&& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig = std::forward<SchemaStorageConfigT>(value); }
203 template<typename SchemaStorageConfigT = Aws::Map<Aws::String, Aws::String>>
204 ContinuousExportDescription& WithSchemaStorageConfig(SchemaStorageConfigT&& value) { SetSchemaStorageConfig(std::forward<SchemaStorageConfigT>(value)); return *this;}
205 template<typename SchemaStorageConfigKeyT = Aws::String, typename SchemaStorageConfigValueT = Aws::String>
206 ContinuousExportDescription& AddSchemaStorageConfig(SchemaStorageConfigKeyT&& key, SchemaStorageConfigValueT&& value) {
207 m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(std::forward<SchemaStorageConfigKeyT>(key), std::forward<SchemaStorageConfigValueT>(value)); return *this;
208 }
210 private:
211
212 Aws::String m_exportId;
213 bool m_exportIdHasBeenSet = false;
214
216 bool m_statusHasBeenSet = false;
217
218 Aws::String m_statusDetail;
219 bool m_statusDetailHasBeenSet = false;
220
221 Aws::String m_s3Bucket;
222 bool m_s3BucketHasBeenSet = false;
223
224 Aws::Utils::DateTime m_startTime{};
225 bool m_startTimeHasBeenSet = false;
226
227 Aws::Utils::DateTime m_stopTime{};
228 bool m_stopTimeHasBeenSet = false;
229
230 DataSource m_dataSource{DataSource::NOT_SET};
231 bool m_dataSourceHasBeenSet = false;
232
233 Aws::Map<Aws::String, Aws::String> m_schemaStorageConfig;
234 bool m_schemaStorageConfigHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace ApplicationDiscoveryService
239} // 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