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

A Changeset is unit of data in a Dataset.

See Also:

AWS * API Reference

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

The unique identifier for a Changeset.

*/ inline const Aws::String& GetChangesetId() const{ return m_changesetId; } /** *

The unique identifier for a Changeset.

*/ inline bool ChangesetIdHasBeenSet() const { return m_changesetIdHasBeenSet; } /** *

The unique identifier for a Changeset.

*/ inline void SetChangesetId(const Aws::String& value) { m_changesetIdHasBeenSet = true; m_changesetId = value; } /** *

The unique identifier for a Changeset.

*/ inline void SetChangesetId(Aws::String&& value) { m_changesetIdHasBeenSet = true; m_changesetId = std::move(value); } /** *

The unique identifier for a Changeset.

*/ inline void SetChangesetId(const char* value) { m_changesetIdHasBeenSet = true; m_changesetId.assign(value); } /** *

The unique identifier for a Changeset.

*/ inline ChangesetSummary& WithChangesetId(const Aws::String& value) { SetChangesetId(value); return *this;} /** *

The unique identifier for a Changeset.

*/ inline ChangesetSummary& WithChangesetId(Aws::String&& value) { SetChangesetId(std::move(value)); return *this;} /** *

The unique identifier for a Changeset.

*/ inline ChangesetSummary& WithChangesetId(const char* value) { SetChangesetId(value); return *this;} /** *

The ARN identifier of the Changeset.

*/ inline const Aws::String& GetChangesetArn() const{ return m_changesetArn; } /** *

The ARN identifier of the Changeset.

*/ inline bool ChangesetArnHasBeenSet() const { return m_changesetArnHasBeenSet; } /** *

The ARN identifier of the Changeset.

*/ inline void SetChangesetArn(const Aws::String& value) { m_changesetArnHasBeenSet = true; m_changesetArn = value; } /** *

The ARN identifier of the Changeset.

*/ inline void SetChangesetArn(Aws::String&& value) { m_changesetArnHasBeenSet = true; m_changesetArn = std::move(value); } /** *

The ARN identifier of the Changeset.

*/ inline void SetChangesetArn(const char* value) { m_changesetArnHasBeenSet = true; m_changesetArn.assign(value); } /** *

The ARN identifier of the Changeset.

*/ inline ChangesetSummary& WithChangesetArn(const Aws::String& value) { SetChangesetArn(value); return *this;} /** *

The ARN identifier of the Changeset.

*/ inline ChangesetSummary& WithChangesetArn(Aws::String&& value) { SetChangesetArn(std::move(value)); return *this;} /** *

The ARN identifier of the Changeset.

*/ inline ChangesetSummary& WithChangesetArn(const char* value) { SetChangesetArn(value); return *this;} /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline const Aws::String& GetDatasetId() const{ return m_datasetId; } /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline bool DatasetIdHasBeenSet() const { return m_datasetIdHasBeenSet; } /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline void SetDatasetId(const Aws::String& value) { m_datasetIdHasBeenSet = true; m_datasetId = value; } /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline void SetDatasetId(Aws::String&& value) { m_datasetIdHasBeenSet = true; m_datasetId = std::move(value); } /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline void SetDatasetId(const char* value) { m_datasetIdHasBeenSet = true; m_datasetId.assign(value); } /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline ChangesetSummary& WithDatasetId(const Aws::String& value) { SetDatasetId(value); return *this;} /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline ChangesetSummary& WithDatasetId(Aws::String&& value) { SetDatasetId(std::move(value)); return *this;} /** *

The unique identifier for the FinSpace Dataset in which the Changeset is * created.

*/ inline ChangesetSummary& WithDatasetId(const char* value) { SetDatasetId(value); return *this;} /** *

Type that indicates how a Changeset is applied to a Dataset.

  • *

    REPLACE – Changeset is considered as a replacement to all prior * loaded Changesets.

  • APPEND – Changeset is * considered as an addition to the end of all prior loaded Changesets.

  • *
  • MODIFY – Changeset is considered as a replacement to a * specific prior ingested Changeset.

*/ inline const ChangeType& GetChangeType() const{ return m_changeType; } /** *

Type that indicates how a Changeset is applied to a Dataset.

  • *

    REPLACE – Changeset is considered as a replacement to all prior * loaded Changesets.

  • APPEND – Changeset is * considered as an addition to the end of all prior loaded Changesets.

  • *
  • MODIFY – Changeset is considered as a replacement to a * specific prior ingested Changeset.

*/ inline bool ChangeTypeHasBeenSet() const { return m_changeTypeHasBeenSet; } /** *

Type that indicates how a Changeset is applied to a Dataset.

  • *

    REPLACE – Changeset is considered as a replacement to all prior * loaded Changesets.

  • APPEND – Changeset is * considered as an addition to the end of all prior loaded Changesets.

  • *
  • MODIFY – Changeset is considered as a replacement to a * specific prior ingested Changeset.

*/ inline void SetChangeType(const ChangeType& value) { m_changeTypeHasBeenSet = true; m_changeType = value; } /** *

Type that indicates how a Changeset is applied to a Dataset.

  • *

    REPLACE – Changeset is considered as a replacement to all prior * loaded Changesets.

  • APPEND – Changeset is * considered as an addition to the end of all prior loaded Changesets.

  • *
  • MODIFY – Changeset is considered as a replacement to a * specific prior ingested Changeset.

*/ inline void SetChangeType(ChangeType&& value) { m_changeTypeHasBeenSet = true; m_changeType = std::move(value); } /** *

Type that indicates how a Changeset is applied to a Dataset.

  • *

    REPLACE – Changeset is considered as a replacement to all prior * loaded Changesets.

  • APPEND – Changeset is * considered as an addition to the end of all prior loaded Changesets.

  • *
  • MODIFY – Changeset is considered as a replacement to a * specific prior ingested Changeset.

*/ inline ChangesetSummary& WithChangeType(const ChangeType& value) { SetChangeType(value); return *this;} /** *

Type that indicates how a Changeset is applied to a Dataset.

  • *

    REPLACE – Changeset is considered as a replacement to all prior * loaded Changesets.

  • APPEND – Changeset is * considered as an addition to the end of all prior loaded Changesets.

  • *
  • MODIFY – Changeset is considered as a replacement to a * specific prior ingested Changeset.

*/ inline ChangesetSummary& WithChangeType(ChangeType&& value) { SetChangeType(std::move(value)); return *this;} /** *

Options that define the location of the data being ingested.

*/ inline const Aws::Map& GetSourceParams() const{ return m_sourceParams; } /** *

Options that define the location of the data being ingested.

*/ inline bool SourceParamsHasBeenSet() const { return m_sourceParamsHasBeenSet; } /** *

Options that define the location of the data being ingested.

*/ inline void SetSourceParams(const Aws::Map& value) { m_sourceParamsHasBeenSet = true; m_sourceParams = value; } /** *

Options that define the location of the data being ingested.

*/ inline void SetSourceParams(Aws::Map&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams = std::move(value); } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& WithSourceParams(const Aws::Map& value) { SetSourceParams(value); return *this;} /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& WithSourceParams(Aws::Map&& value) { SetSourceParams(std::move(value)); return *this;} /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(const Aws::String& key, const Aws::String& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, value); return *this; } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(Aws::String&& key, const Aws::String& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(std::move(key), value); return *this; } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(const Aws::String& key, Aws::String&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, std::move(value)); return *this; } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(Aws::String&& key, Aws::String&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(std::move(key), std::move(value)); return *this; } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(const char* key, Aws::String&& value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, std::move(value)); return *this; } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(Aws::String&& key, const char* value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(std::move(key), value); return *this; } /** *

Options that define the location of the data being ingested.

*/ inline ChangesetSummary& AddSourceParams(const char* key, const char* value) { m_sourceParamsHasBeenSet = true; m_sourceParams.emplace(key, value); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline const Aws::Map& GetFormatParams() const{ return m_formatParams; } /** *

Options that define the structure of the source file(s).

*/ inline bool FormatParamsHasBeenSet() const { return m_formatParamsHasBeenSet; } /** *

Options that define the structure of the source file(s).

*/ inline void SetFormatParams(const Aws::Map& value) { m_formatParamsHasBeenSet = true; m_formatParams = value; } /** *

Options that define the structure of the source file(s).

*/ inline void SetFormatParams(Aws::Map&& value) { m_formatParamsHasBeenSet = true; m_formatParams = std::move(value); } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& WithFormatParams(const Aws::Map& value) { SetFormatParams(value); return *this;} /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& WithFormatParams(Aws::Map&& value) { SetFormatParams(std::move(value)); return *this;} /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(const Aws::String& key, const Aws::String& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, value); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(Aws::String&& key, const Aws::String& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(std::move(key), value); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(const Aws::String& key, Aws::String&& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, std::move(value)); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(Aws::String&& key, Aws::String&& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(std::move(key), std::move(value)); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(const char* key, Aws::String&& value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, std::move(value)); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(Aws::String&& key, const char* value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(std::move(key), value); return *this; } /** *

Options that define the structure of the source file(s).

*/ inline ChangesetSummary& AddFormatParams(const char* key, const char* value) { m_formatParamsHasBeenSet = true; m_formatParams.emplace(key, value); return *this; } /** *

The timestamp at which the Changeset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline long long GetCreateTime() const{ return m_createTime; } /** *

The timestamp at which the Changeset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The timestamp at which the Changeset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetCreateTime(long long value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The timestamp at which the Changeset was created in FinSpace. The value is * determined as epoch time in milliseconds. For example, the value for Monday, * November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

*/ inline ChangesetSummary& WithCreateTime(long long value) { SetCreateTime(value); return *this;} /** *

Status of the Changeset ingestion.

  • PENDING – * Changeset is pending creation.

  • FAILED – * Changeset creation has failed.

  • SUCCESS – * Changeset creation has succeeded.

  • RUNNING – * Changeset creation is running.

  • STOP_REQUESTED – * User requested Changeset creation to stop.

*/ inline const IngestionStatus& GetStatus() const{ return m_status; } /** *

Status of the Changeset ingestion.

  • PENDING – * Changeset is pending creation.

  • FAILED – * Changeset creation has failed.

  • SUCCESS – * Changeset creation has succeeded.

  • RUNNING – * Changeset creation is running.

  • STOP_REQUESTED – * User requested Changeset creation to stop.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Status of the Changeset ingestion.

  • PENDING – * Changeset is pending creation.

  • FAILED – * Changeset creation has failed.

  • SUCCESS – * Changeset creation has succeeded.

  • RUNNING – * Changeset creation is running.

  • STOP_REQUESTED – * User requested Changeset creation to stop.

*/ inline void SetStatus(const IngestionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Status of the Changeset ingestion.

  • PENDING – * Changeset is pending creation.

  • FAILED – * Changeset creation has failed.

  • SUCCESS – * Changeset creation has succeeded.

  • RUNNING – * Changeset creation is running.

  • STOP_REQUESTED – * User requested Changeset creation to stop.

*/ inline void SetStatus(IngestionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Status of the Changeset ingestion.

  • PENDING – * Changeset is pending creation.

  • FAILED – * Changeset creation has failed.

  • SUCCESS – * Changeset creation has succeeded.

  • RUNNING – * Changeset creation is running.

  • STOP_REQUESTED – * User requested Changeset creation to stop.

*/ inline ChangesetSummary& WithStatus(const IngestionStatus& value) { SetStatus(value); return *this;} /** *

Status of the Changeset ingestion.

  • PENDING – * Changeset is pending creation.

  • FAILED – * Changeset creation has failed.

  • SUCCESS – * Changeset creation has succeeded.

  • RUNNING – * Changeset creation is running.

  • STOP_REQUESTED – * User requested Changeset creation to stop.

*/ inline ChangesetSummary& WithStatus(IngestionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The structure with error messages.

*/ inline const ChangesetErrorInfo& GetErrorInfo() const{ return m_errorInfo; } /** *

The structure with error messages.

*/ inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; } /** *

The structure with error messages.

*/ inline void SetErrorInfo(const ChangesetErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo = value; } /** *

The structure with error messages.

*/ inline void SetErrorInfo(ChangesetErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::move(value); } /** *

The structure with error messages.

*/ inline ChangesetSummary& WithErrorInfo(const ChangesetErrorInfo& value) { SetErrorInfo(value); return *this;} /** *

The structure with error messages.

*/ inline ChangesetSummary& WithErrorInfo(ChangesetErrorInfo&& value) { SetErrorInfo(std::move(value)); return *this;} /** *

Time until which the Changeset is active. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline long long GetActiveUntilTimestamp() const{ return m_activeUntilTimestamp; } /** *

Time until which the Changeset is active. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline bool ActiveUntilTimestampHasBeenSet() const { return m_activeUntilTimestampHasBeenSet; } /** *

Time until which the Changeset is active. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetActiveUntilTimestamp(long long value) { m_activeUntilTimestampHasBeenSet = true; m_activeUntilTimestamp = value; } /** *

Time until which the Changeset is active. The value is determined as epoch * time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline ChangesetSummary& WithActiveUntilTimestamp(long long value) { SetActiveUntilTimestamp(value); return *this;} /** *

Beginning time from which the Changeset is active. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline long long GetActiveFromTimestamp() const{ return m_activeFromTimestamp; } /** *

Beginning time from which the Changeset is active. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline bool ActiveFromTimestampHasBeenSet() const { return m_activeFromTimestampHasBeenSet; } /** *

Beginning time from which the Changeset is active. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline void SetActiveFromTimestamp(long long value) { m_activeFromTimestampHasBeenSet = true; m_activeFromTimestamp = value; } /** *

Beginning time from which the Changeset is active. The value is determined as * epoch time in milliseconds. For example, the value for Monday, November 1, 2021 * 12:00:00 PM UTC is specified as 1635768000000.

*/ inline ChangesetSummary& WithActiveFromTimestamp(long long value) { SetActiveFromTimestamp(value); return *this;} /** *

The unique identifier of the Changeset that is updated.

*/ inline const Aws::String& GetUpdatesChangesetId() const{ return m_updatesChangesetId; } /** *

The unique identifier of the Changeset that is updated.

*/ inline bool UpdatesChangesetIdHasBeenSet() const { return m_updatesChangesetIdHasBeenSet; } /** *

The unique identifier of the Changeset that is updated.

*/ inline void SetUpdatesChangesetId(const Aws::String& value) { m_updatesChangesetIdHasBeenSet = true; m_updatesChangesetId = value; } /** *

The unique identifier of the Changeset that is updated.

*/ inline void SetUpdatesChangesetId(Aws::String&& value) { m_updatesChangesetIdHasBeenSet = true; m_updatesChangesetId = std::move(value); } /** *

The unique identifier of the Changeset that is updated.

*/ inline void SetUpdatesChangesetId(const char* value) { m_updatesChangesetIdHasBeenSet = true; m_updatesChangesetId.assign(value); } /** *

The unique identifier of the Changeset that is updated.

*/ inline ChangesetSummary& WithUpdatesChangesetId(const Aws::String& value) { SetUpdatesChangesetId(value); return *this;} /** *

The unique identifier of the Changeset that is updated.

*/ inline ChangesetSummary& WithUpdatesChangesetId(Aws::String&& value) { SetUpdatesChangesetId(std::move(value)); return *this;} /** *

The unique identifier of the Changeset that is updated.

*/ inline ChangesetSummary& WithUpdatesChangesetId(const char* value) { SetUpdatesChangesetId(value); return *this;} /** *

The unique identifier of the updated Changeset.

*/ inline const Aws::String& GetUpdatedByChangesetId() const{ return m_updatedByChangesetId; } /** *

The unique identifier of the updated Changeset.

*/ inline bool UpdatedByChangesetIdHasBeenSet() const { return m_updatedByChangesetIdHasBeenSet; } /** *

The unique identifier of the updated Changeset.

*/ inline void SetUpdatedByChangesetId(const Aws::String& value) { m_updatedByChangesetIdHasBeenSet = true; m_updatedByChangesetId = value; } /** *

The unique identifier of the updated Changeset.

*/ inline void SetUpdatedByChangesetId(Aws::String&& value) { m_updatedByChangesetIdHasBeenSet = true; m_updatedByChangesetId = std::move(value); } /** *

The unique identifier of the updated Changeset.

*/ inline void SetUpdatedByChangesetId(const char* value) { m_updatedByChangesetIdHasBeenSet = true; m_updatedByChangesetId.assign(value); } /** *

The unique identifier of the updated Changeset.

*/ inline ChangesetSummary& WithUpdatedByChangesetId(const Aws::String& value) { SetUpdatedByChangesetId(value); return *this;} /** *

The unique identifier of the updated Changeset.

*/ inline ChangesetSummary& WithUpdatedByChangesetId(Aws::String&& value) { SetUpdatedByChangesetId(std::move(value)); return *this;} /** *

The unique identifier of the updated Changeset.

*/ inline ChangesetSummary& WithUpdatedByChangesetId(const char* value) { SetUpdatedByChangesetId(value); return *this;} private: Aws::String m_changesetId; bool m_changesetIdHasBeenSet = false; Aws::String m_changesetArn; bool m_changesetArnHasBeenSet = false; Aws::String m_datasetId; bool m_datasetIdHasBeenSet = false; ChangeType m_changeType; bool m_changeTypeHasBeenSet = false; Aws::Map m_sourceParams; bool m_sourceParamsHasBeenSet = false; Aws::Map m_formatParams; bool m_formatParamsHasBeenSet = false; long long m_createTime; bool m_createTimeHasBeenSet = false; IngestionStatus m_status; bool m_statusHasBeenSet = false; ChangesetErrorInfo m_errorInfo; bool m_errorInfoHasBeenSet = false; long long m_activeUntilTimestamp; bool m_activeUntilTimestampHasBeenSet = false; long long m_activeFromTimestamp; bool m_activeFromTimestampHasBeenSet = false; Aws::String m_updatesChangesetId; bool m_updatesChangesetIdHasBeenSet = false; Aws::String m_updatedByChangesetId; bool m_updatedByChangesetIdHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws