/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ApplicationDiscoveryService { namespace Model { /** *

Information regarding the export status of discovered data. The value is an * array of objects.

See Also:

AWS * API Reference

*/ class ExportInfo { public: AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(); AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(Aws::Utils::Json::JsonView jsonValue); AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A unique identifier used to query an export.

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

A unique identifier used to query an export.

*/ inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; } /** *

A unique identifier used to query an export.

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

A unique identifier used to query an export.

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

A unique identifier used to query an export.

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

A unique identifier used to query an export.

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

A unique identifier used to query an export.

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

A unique identifier used to query an export.

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

The status of the data export job.

*/ inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; } /** *

The status of the data export job.

*/ inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; } /** *

The status of the data export job.

*/ inline void SetExportStatus(const ExportStatus& value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; } /** *

The status of the data export job.

*/ inline void SetExportStatus(ExportStatus&& value) { m_exportStatusHasBeenSet = true; m_exportStatus = std::move(value); } /** *

The status of the data export job.

*/ inline ExportInfo& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;} /** *

The status of the data export job.

*/ inline ExportInfo& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;} /** *

A status message provided for API callers.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

A status message provided for API callers.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

A status message provided for API callers.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

A status message provided for API callers.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

A status message provided for API callers.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

A status message provided for API callers.

*/ inline ExportInfo& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

A status message provided for API callers.

*/ inline ExportInfo& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

A status message provided for API callers.

*/ inline ExportInfo& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline const Aws::String& GetConfigurationsDownloadUrl() const{ return m_configurationsDownloadUrl; } /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline bool ConfigurationsDownloadUrlHasBeenSet() const { return m_configurationsDownloadUrlHasBeenSet; } /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline void SetConfigurationsDownloadUrl(const Aws::String& value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl = value; } /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline void SetConfigurationsDownloadUrl(Aws::String&& value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl = std::move(value); } /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline void SetConfigurationsDownloadUrl(const char* value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl.assign(value); } /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline ExportInfo& WithConfigurationsDownloadUrl(const Aws::String& value) { SetConfigurationsDownloadUrl(value); return *this;} /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline ExportInfo& WithConfigurationsDownloadUrl(Aws::String&& value) { SetConfigurationsDownloadUrl(std::move(value)); return *this;} /** *

A URL for an Amazon S3 bucket where you can review the exported data. The URL * is displayed only if the export succeeded.

*/ inline ExportInfo& WithConfigurationsDownloadUrl(const char* value) { SetConfigurationsDownloadUrl(value); return *this;} /** *

The time that the data export was initiated.

*/ inline const Aws::Utils::DateTime& GetExportRequestTime() const{ return m_exportRequestTime; } /** *

The time that the data export was initiated.

*/ inline bool ExportRequestTimeHasBeenSet() const { return m_exportRequestTimeHasBeenSet; } /** *

The time that the data export was initiated.

*/ inline void SetExportRequestTime(const Aws::Utils::DateTime& value) { m_exportRequestTimeHasBeenSet = true; m_exportRequestTime = value; } /** *

The time that the data export was initiated.

*/ inline void SetExportRequestTime(Aws::Utils::DateTime&& value) { m_exportRequestTimeHasBeenSet = true; m_exportRequestTime = std::move(value); } /** *

The time that the data export was initiated.

*/ inline ExportInfo& WithExportRequestTime(const Aws::Utils::DateTime& value) { SetExportRequestTime(value); return *this;} /** *

The time that the data export was initiated.

*/ inline ExportInfo& WithExportRequestTime(Aws::Utils::DateTime&& value) { SetExportRequestTime(std::move(value)); return *this;} /** *

If true, the export of agent information exceeded the size limit for a single * export and the exported data is incomplete for the requested time range. To * address this, select a smaller time range for the export by using * startDate and endDate.

*/ inline bool GetIsTruncated() const{ return m_isTruncated; } /** *

If true, the export of agent information exceeded the size limit for a single * export and the exported data is incomplete for the requested time range. To * address this, select a smaller time range for the export by using * startDate and endDate.

*/ inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; } /** *

If true, the export of agent information exceeded the size limit for a single * export and the exported data is incomplete for the requested time range. To * address this, select a smaller time range for the export by using * startDate and endDate.

*/ inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; } /** *

If true, the export of agent information exceeded the size limit for a single * export and the exported data is incomplete for the requested time range. To * address this, select a smaller time range for the export by using * startDate and endDate.

*/ inline ExportInfo& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;} /** *

The value of startTime parameter in the * StartExportTask request. If no startTime was * requested, this result does not appear in ExportInfo.

*/ inline const Aws::Utils::DateTime& GetRequestedStartTime() const{ return m_requestedStartTime; } /** *

The value of startTime parameter in the * StartExportTask request. If no startTime was * requested, this result does not appear in ExportInfo.

*/ inline bool RequestedStartTimeHasBeenSet() const { return m_requestedStartTimeHasBeenSet; } /** *

The value of startTime parameter in the * StartExportTask request. If no startTime was * requested, this result does not appear in ExportInfo.

*/ inline void SetRequestedStartTime(const Aws::Utils::DateTime& value) { m_requestedStartTimeHasBeenSet = true; m_requestedStartTime = value; } /** *

The value of startTime parameter in the * StartExportTask request. If no startTime was * requested, this result does not appear in ExportInfo.

*/ inline void SetRequestedStartTime(Aws::Utils::DateTime&& value) { m_requestedStartTimeHasBeenSet = true; m_requestedStartTime = std::move(value); } /** *

The value of startTime parameter in the * StartExportTask request. If no startTime was * requested, this result does not appear in ExportInfo.

*/ inline ExportInfo& WithRequestedStartTime(const Aws::Utils::DateTime& value) { SetRequestedStartTime(value); return *this;} /** *

The value of startTime parameter in the * StartExportTask request. If no startTime was * requested, this result does not appear in ExportInfo.

*/ inline ExportInfo& WithRequestedStartTime(Aws::Utils::DateTime&& value) { SetRequestedStartTime(std::move(value)); return *this;} /** *

The endTime used in the StartExportTask request. If * no endTime was requested, this result does not appear in * ExportInfo.

*/ inline const Aws::Utils::DateTime& GetRequestedEndTime() const{ return m_requestedEndTime; } /** *

The endTime used in the StartExportTask request. If * no endTime was requested, this result does not appear in * ExportInfo.

*/ inline bool RequestedEndTimeHasBeenSet() const { return m_requestedEndTimeHasBeenSet; } /** *

The endTime used in the StartExportTask request. If * no endTime was requested, this result does not appear in * ExportInfo.

*/ inline void SetRequestedEndTime(const Aws::Utils::DateTime& value) { m_requestedEndTimeHasBeenSet = true; m_requestedEndTime = value; } /** *

The endTime used in the StartExportTask request. If * no endTime was requested, this result does not appear in * ExportInfo.

*/ inline void SetRequestedEndTime(Aws::Utils::DateTime&& value) { m_requestedEndTimeHasBeenSet = true; m_requestedEndTime = std::move(value); } /** *

The endTime used in the StartExportTask request. If * no endTime was requested, this result does not appear in * ExportInfo.

*/ inline ExportInfo& WithRequestedEndTime(const Aws::Utils::DateTime& value) { SetRequestedEndTime(value); return *this;} /** *

The endTime used in the StartExportTask request. If * no endTime was requested, this result does not appear in * ExportInfo.

*/ inline ExportInfo& WithRequestedEndTime(Aws::Utils::DateTime&& value) { SetRequestedEndTime(std::move(value)); return *this;} private: Aws::String m_exportId; bool m_exportIdHasBeenSet = false; ExportStatus m_exportStatus; bool m_exportStatusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_configurationsDownloadUrl; bool m_configurationsDownloadUrlHasBeenSet = false; Aws::Utils::DateTime m_exportRequestTime; bool m_exportRequestTimeHasBeenSet = false; bool m_isTruncated; bool m_isTruncatedHasBeenSet = false; Aws::Utils::DateTime m_requestedStartTime; bool m_requestedStartTimeHasBeenSet = false; Aws::Utils::DateTime m_requestedEndTime; bool m_requestedEndTimeHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws