/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FinSpaceData { namespace Model { /** * The response from a describe changeset operation

See Also:

AWS * API Reference

*/ class GetChangesetResult { public: AWS_FINSPACEDATA_API GetChangesetResult(); AWS_FINSPACEDATA_API GetChangesetResult(const Aws::AmazonWebServiceResult& result); AWS_FINSPACEDATA_API GetChangesetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier for a Changeset.

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

The unique identifier for a Changeset.

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

The unique identifier for a Changeset.

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

The unique identifier for a Changeset.

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

The unique identifier for a Changeset.

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

The unique identifier for a Changeset.

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

The unique identifier for a Changeset.

*/ inline GetChangesetResult& 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 void SetChangesetArn(const Aws::String& value) { m_changesetArn = value; } /** *

The ARN identifier of the Changeset.

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

The ARN identifier of the Changeset.

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

The ARN identifier of the Changeset.

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

The ARN identifier of the Changeset.

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

The ARN identifier of the Changeset.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline GetChangesetResult& 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 void SetChangeType(const ChangeType& value) { 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_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 GetChangesetResult& 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 GetChangesetResult& 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 void SetSourceParams(const Aws::Map& value) { m_sourceParams = value; } /** *

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Options that define the location of the data being ingested.

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

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

Structure of the source file(s).

*/ inline GetChangesetResult& AddFormatParams(const char* key, const char* value) { 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 void SetCreateTime(long long value) { 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 GetChangesetResult& WithCreateTime(long long value) { SetCreateTime(value); return *this;} /** *

The status of Changeset creation operation.

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

The status of Changeset creation operation.

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

The status of Changeset creation operation.

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

The status of Changeset creation operation.

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

The status of Changeset creation operation.

*/ inline GetChangesetResult& 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 void SetErrorInfo(const ChangesetErrorInfo& value) { m_errorInfo = value; } /** *

The structure with error messages.

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

The structure with error messages.

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

The structure with error messages.

*/ inline GetChangesetResult& 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 void SetActiveUntilTimestamp(long long value) { 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 GetChangesetResult& 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 void SetActiveFromTimestamp(long long value) { 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 GetChangesetResult& WithActiveFromTimestamp(long long value) { SetActiveFromTimestamp(value); return *this;} /** *

The unique identifier of the Changeset that is being updated.

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

The unique identifier of the Changeset that is being updated.

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

The unique identifier of the Changeset that is being updated.

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

The unique identifier of the Changeset that is being updated.

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

The unique identifier of the Changeset that is being updated.

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

The unique identifier of the Changeset that is being updated.

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

The unique identifier of the Changeset that is being updated.

*/ inline GetChangesetResult& 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 void SetUpdatedByChangesetId(const Aws::String& value) { m_updatedByChangesetId = value; } /** *

The unique identifier of the updated Changeset.

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

The unique identifier of the updated Changeset.

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

The unique identifier of the updated Changeset.

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

The unique identifier of the updated Changeset.

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

The unique identifier of the updated Changeset.

*/ inline GetChangesetResult& WithUpdatedByChangesetId(const char* value) { SetUpdatedByChangesetId(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 GetChangesetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetChangesetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetChangesetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_changesetId; Aws::String m_changesetArn; Aws::String m_datasetId; ChangeType m_changeType; Aws::Map m_sourceParams; Aws::Map m_formatParams; long long m_createTime; IngestionStatus m_status; ChangesetErrorInfo m_errorInfo; long long m_activeUntilTimestamp; long long m_activeFromTimestamp; Aws::String m_updatesChangesetId; Aws::String m_updatedByChangesetId; Aws::String m_requestId; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws