AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExportId(const Aws::String& value) { m_exportIdHasBeenSet = true; m_exportId = value; }
51 inline void SetExportId(Aws::String&& value) { m_exportIdHasBeenSet = true; m_exportId = std::move(value); }
52 inline void SetExportId(const char* value) { m_exportIdHasBeenSet = true; m_exportId.assign(value); }
53 inline ContinuousExportDescription& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
54 inline ContinuousExportDescription& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
55 inline ContinuousExportDescription& WithExportId(const char* value) { SetExportId(value); return *this;}
57
59
72 inline const ContinuousExportStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const ContinuousExportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(ContinuousExportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline ContinuousExportDescription& WithStatus(const ContinuousExportStatus& value) { SetStatus(value); return *this;}
77 inline ContinuousExportDescription& WithStatus(ContinuousExportStatus&& value) { SetStatus(std::move(value)); return *this;}
79
81
142 inline const Aws::String& GetStatusDetail() const{ return m_statusDetail; }
143 inline bool StatusDetailHasBeenSet() const { return m_statusDetailHasBeenSet; }
144 inline void SetStatusDetail(const Aws::String& value) { m_statusDetailHasBeenSet = true; m_statusDetail = value; }
145 inline void SetStatusDetail(Aws::String&& value) { m_statusDetailHasBeenSet = true; m_statusDetail = std::move(value); }
146 inline void SetStatusDetail(const char* value) { m_statusDetailHasBeenSet = true; m_statusDetail.assign(value); }
147 inline ContinuousExportDescription& WithStatusDetail(const Aws::String& value) { SetStatusDetail(value); return *this;}
148 inline ContinuousExportDescription& WithStatusDetail(Aws::String&& value) { SetStatusDetail(std::move(value)); return *this;}
149 inline ContinuousExportDescription& WithStatusDetail(const char* value) { SetStatusDetail(value); return *this;}
151
153
156 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
157 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
158 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
159 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
160 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
161 inline ContinuousExportDescription& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
162 inline ContinuousExportDescription& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
163 inline ContinuousExportDescription& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
165
167
170 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
171 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
172 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
173 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
174 inline ContinuousExportDescription& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
175 inline ContinuousExportDescription& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
177
179
182 inline const Aws::Utils::DateTime& GetStopTime() const{ return m_stopTime; }
183 inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; }
184 inline void SetStopTime(const Aws::Utils::DateTime& value) { m_stopTimeHasBeenSet = true; m_stopTime = value; }
185 inline void SetStopTime(Aws::Utils::DateTime&& value) { m_stopTimeHasBeenSet = true; m_stopTime = std::move(value); }
186 inline ContinuousExportDescription& WithStopTime(const Aws::Utils::DateTime& value) { SetStopTime(value); return *this;}
187 inline ContinuousExportDescription& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;}
189
191
195 inline const DataSource& GetDataSource() const{ return m_dataSource; }
196 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
197 inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
198 inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
199 inline ContinuousExportDescription& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;}
200 inline ContinuousExportDescription& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;}
202
204
209 inline const Aws::Map<Aws::String, Aws::String>& GetSchemaStorageConfig() const{ return m_schemaStorageConfig; }
210 inline bool SchemaStorageConfigHasBeenSet() const { return m_schemaStorageConfigHasBeenSet; }
211 inline void SetSchemaStorageConfig(const Aws::Map<Aws::String, Aws::String>& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig = value; }
212 inline void SetSchemaStorageConfig(Aws::Map<Aws::String, Aws::String>&& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig = std::move(value); }
215 inline ContinuousExportDescription& AddSchemaStorageConfig(const Aws::String& key, const Aws::String& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(key, value); return *this; }
216 inline ContinuousExportDescription& AddSchemaStorageConfig(Aws::String&& key, const Aws::String& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(std::move(key), value); return *this; }
217 inline ContinuousExportDescription& AddSchemaStorageConfig(const Aws::String& key, Aws::String&& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(key, std::move(value)); return *this; }
218 inline ContinuousExportDescription& AddSchemaStorageConfig(Aws::String&& key, Aws::String&& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(std::move(key), std::move(value)); return *this; }
219 inline ContinuousExportDescription& AddSchemaStorageConfig(const char* key, Aws::String&& value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(key, std::move(value)); return *this; }
220 inline ContinuousExportDescription& AddSchemaStorageConfig(Aws::String&& key, const char* value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(std::move(key), value); return *this; }
221 inline ContinuousExportDescription& AddSchemaStorageConfig(const char* key, const char* value) { m_schemaStorageConfigHasBeenSet = true; m_schemaStorageConfig.emplace(key, value); return *this; }
223 private:
224
225 Aws::String m_exportId;
226 bool m_exportIdHasBeenSet = false;
227
228 ContinuousExportStatus m_status;
229 bool m_statusHasBeenSet = false;
230
231 Aws::String m_statusDetail;
232 bool m_statusDetailHasBeenSet = false;
233
234 Aws::String m_s3Bucket;
235 bool m_s3BucketHasBeenSet = false;
236
237 Aws::Utils::DateTime m_startTime;
238 bool m_startTimeHasBeenSet = false;
239
240 Aws::Utils::DateTime m_stopTime;
241 bool m_stopTimeHasBeenSet = false;
242
243 DataSource m_dataSource;
244 bool m_dataSourceHasBeenSet = false;
245
246 Aws::Map<Aws::String, Aws::String> m_schemaStorageConfig;
247 bool m_schemaStorageConfigHasBeenSet = false;
248 };
249
250} // namespace Model
251} // namespace ApplicationDiscoveryService
252} // namespace Aws
ContinuousExportDescription & AddSchemaStorageConfig(const char *key, const char *value)
ContinuousExportDescription & AddSchemaStorageConfig(Aws::String &&key, const Aws::String &value)
ContinuousExportDescription & WithStatus(ContinuousExportStatus &&value)
ContinuousExportDescription & WithS3Bucket(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription()
ContinuousExportDescription & WithStopTime(Aws::Utils::DateTime &&value)
ContinuousExportDescription & WithStartTime(const Aws::Utils::DateTime &value)
ContinuousExportDescription & WithStatusDetail(const Aws::String &value)
ContinuousExportDescription & WithStopTime(const Aws::Utils::DateTime &value)
ContinuousExportDescription & AddSchemaStorageConfig(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetSchemaStorageConfig() const
void SetSchemaStorageConfig(Aws::Map< Aws::String, Aws::String > &&value)
ContinuousExportDescription & WithStartTime(Aws::Utils::DateTime &&value)
ContinuousExportDescription & WithExportId(const Aws::String &value)
void SetSchemaStorageConfig(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription(Aws::Utils::Json::JsonView jsonValue)
ContinuousExportDescription & WithSchemaStorageConfig(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APPLICATIONDISCOVERYSERVICE_API ContinuousExportDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ContinuousExportDescription & WithSchemaStorageConfig(Aws::Map< Aws::String, Aws::String > &&value)
ContinuousExportDescription & WithStatus(const ContinuousExportStatus &value)
ContinuousExportDescription & AddSchemaStorageConfig(Aws::String &&key, Aws::String &&value)
ContinuousExportDescription & WithDataSource(const DataSource &value)
ContinuousExportDescription & AddSchemaStorageConfig(const Aws::String &key, Aws::String &&value)
ContinuousExportDescription & AddSchemaStorageConfig(const char *key, Aws::String &&value)
ContinuousExportDescription & AddSchemaStorageConfig(Aws::String &&key, const char *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