/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ApplicationDiscoveryService { namespace Model { class StartContinuousExportResult { public: AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult(); AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID assigned to this export.

*/ inline const Aws::String& GetExportId() const{ return m_exportId; } /** *

The unique ID assigned to this export.

*/ inline void SetExportId(const Aws::String& value) { m_exportId = value; } /** *

The unique ID assigned to this export.

*/ inline void SetExportId(Aws::String&& value) { m_exportId = std::move(value); } /** *

The unique ID assigned to this export.

*/ inline void SetExportId(const char* value) { m_exportId.assign(value); } /** *

The unique ID assigned to this export.

*/ inline StartContinuousExportResult& WithExportId(const Aws::String& value) { SetExportId(value); return *this;} /** *

The unique ID assigned to this export.

*/ inline StartContinuousExportResult& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;} /** *

The unique ID assigned to this export.

*/ inline StartContinuousExportResult& WithExportId(const char* value) { SetExportId(value); return *this;} /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline void SetS3Bucket(const Aws::String& value) { m_s3Bucket = value; } /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline void SetS3Bucket(Aws::String&& value) { m_s3Bucket = std::move(value); } /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline void SetS3Bucket(const char* value) { m_s3Bucket.assign(value); } /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline StartContinuousExportResult& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline StartContinuousExportResult& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *

The name of the s3 bucket where the export data parquet files are stored.

*/ inline StartContinuousExportResult& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *

The timestamp representing when the continuous export was started.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The timestamp representing when the continuous export was started.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *

The timestamp representing when the continuous export was started.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); } /** *

The timestamp representing when the continuous export was started.

*/ inline StartContinuousExportResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The timestamp representing when the continuous export was started.

*/ inline StartContinuousExportResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The type of data collector used to gather this data (currently only offered * for AGENT).

*/ inline const DataSource& GetDataSource() const{ return m_dataSource; } /** *

The type of data collector used to gather this data (currently only offered * for AGENT).

*/ inline void SetDataSource(const DataSource& value) { m_dataSource = value; } /** *

The type of data collector used to gather this data (currently only offered * for AGENT).

*/ inline void SetDataSource(DataSource&& value) { m_dataSource = std::move(value); } /** *

The type of data collector used to gather this data (currently only offered * for AGENT).

*/ inline StartContinuousExportResult& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;} /** *

The type of data collector used to gather this data (currently only offered * for AGENT).

*/ inline StartContinuousExportResult& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline const Aws::Map& GetSchemaStorageConfig() const{ return m_schemaStorageConfig; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline void SetSchemaStorageConfig(const Aws::Map& value) { m_schemaStorageConfig = value; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline void SetSchemaStorageConfig(Aws::Map&& value) { m_schemaStorageConfig = std::move(value); } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& WithSchemaStorageConfig(const Aws::Map& value) { SetSchemaStorageConfig(value); return *this;} /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& WithSchemaStorageConfig(Aws::Map&& value) { SetSchemaStorageConfig(std::move(value)); return *this;} /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(const Aws::String& key, const Aws::String& value) { m_schemaStorageConfig.emplace(key, value); return *this; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(Aws::String&& key, const Aws::String& value) { m_schemaStorageConfig.emplace(std::move(key), value); return *this; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(const Aws::String& key, Aws::String&& value) { m_schemaStorageConfig.emplace(key, std::move(value)); return *this; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(Aws::String&& key, Aws::String&& value) { m_schemaStorageConfig.emplace(std::move(key), std::move(value)); return *this; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(const char* key, Aws::String&& value) { m_schemaStorageConfig.emplace(key, std::move(value)); return *this; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(Aws::String&& key, const char* value) { m_schemaStorageConfig.emplace(std::move(key), value); return *this; } /** *

A dictionary which describes how the data is stored.

  • * databaseName - the name of the Glue database used to store the * schema.

*/ inline StartContinuousExportResult& AddSchemaStorageConfig(const char* key, const char* value) { m_schemaStorageConfig.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartContinuousExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartContinuousExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartContinuousExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_exportId; Aws::String m_s3Bucket; Aws::Utils::DateTime m_startTime; DataSource m_dataSource; Aws::Map m_schemaStorageConfig; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws