/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace finspace { namespace Model { class CreateKxChangesetResult { public: AWS_FINSPACE_API CreateKxChangesetResult(); AWS_FINSPACE_API CreateKxChangesetResult(const Aws::AmazonWebServiceResult& result); AWS_FINSPACE_API CreateKxChangesetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

A unique identifier for the changeset.

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

The name of the kdb database.

*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *

The name of the kdb database.

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

The name of the kdb database.

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

The name of the kdb database.

*/ inline void SetDatabaseName(const char* value) { m_databaseName.assign(value); } /** *

The name of the kdb database.

*/ inline CreateKxChangesetResult& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *

The name of the kdb database.

*/ inline CreateKxChangesetResult& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *

The name of the kdb database.

*/ inline CreateKxChangesetResult& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

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

A unique identifier for the kdb environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } /** *

A unique identifier for the kdb environment.

*/ inline CreateKxChangesetResult& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline CreateKxChangesetResult& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

A unique identifier for the kdb environment.

*/ inline CreateKxChangesetResult& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

A list of change requests.

*/ inline const Aws::Vector& GetChangeRequests() const{ return m_changeRequests; } /** *

A list of change requests.

*/ inline void SetChangeRequests(const Aws::Vector& value) { m_changeRequests = value; } /** *

A list of change requests.

*/ inline void SetChangeRequests(Aws::Vector&& value) { m_changeRequests = std::move(value); } /** *

A list of change requests.

*/ inline CreateKxChangesetResult& WithChangeRequests(const Aws::Vector& value) { SetChangeRequests(value); return *this;} /** *

A list of change requests.

*/ inline CreateKxChangesetResult& WithChangeRequests(Aws::Vector&& value) { SetChangeRequests(std::move(value)); return *this;} /** *

A list of change requests.

*/ inline CreateKxChangesetResult& AddChangeRequests(const ChangeRequest& value) { m_changeRequests.push_back(value); return *this; } /** *

A list of change requests.

*/ inline CreateKxChangesetResult& AddChangeRequests(ChangeRequest&& value) { m_changeRequests.push_back(std::move(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 const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; } /** *

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 SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = 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 void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(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 CreateKxChangesetResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(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 CreateKxChangesetResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;} /** *

The timestamp at which the changeset was updated 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 const Aws::Utils::DateTime& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; } /** *

The timestamp at which the changeset was updated 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 SetLastModifiedTimestamp(const Aws::Utils::DateTime& value) { m_lastModifiedTimestamp = value; } /** *

The timestamp at which the changeset was updated 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 SetLastModifiedTimestamp(Aws::Utils::DateTime&& value) { m_lastModifiedTimestamp = std::move(value); } /** *

The timestamp at which the changeset was updated 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 CreateKxChangesetResult& WithLastModifiedTimestamp(const Aws::Utils::DateTime& value) { SetLastModifiedTimestamp(value); return *this;} /** *

The timestamp at which the changeset was updated 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 CreateKxChangesetResult& WithLastModifiedTimestamp(Aws::Utils::DateTime&& value) { SetLastModifiedTimestamp(std::move(value)); return *this;} /** *

Status of the changeset creation process.

  • Pending – * Changeset creation is pending.

  • Processing – Changeset creation * is running.

  • Failed – Changeset creation has failed.

  • *
  • Complete – Changeset creation has succeeded.

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

Status of the changeset creation process.

  • Pending – * Changeset creation is pending.

  • Processing – Changeset creation * is running.

  • Failed – Changeset creation has failed.

  • *
  • Complete – Changeset creation has succeeded.

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

Status of the changeset creation process.

  • Pending – * Changeset creation is pending.

  • Processing – Changeset creation * is running.

  • Failed – Changeset creation has failed.

  • *
  • Complete – Changeset creation has succeeded.

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

Status of the changeset creation process.

  • Pending – * Changeset creation is pending.

  • Processing – Changeset creation * is running.

  • Failed – Changeset creation has failed.

  • *
  • Complete – Changeset creation has succeeded.

*/ inline CreateKxChangesetResult& WithStatus(const ChangesetStatus& value) { SetStatus(value); return *this;} /** *

Status of the changeset creation process.

  • Pending – * Changeset creation is pending.

  • Processing – Changeset creation * is running.

  • Failed – Changeset creation has failed.

  • *
  • Complete – Changeset creation has succeeded.

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

The details of the error that you receive when creating a changeset. It * consists of the type of error and the error message.

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

The details of the error that you receive when creating a changeset. It * consists of the type of error and the error message.

*/ inline void SetErrorInfo(const ErrorInfo& value) { m_errorInfo = value; } /** *

The details of the error that you receive when creating a changeset. It * consists of the type of error and the error message.

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

The details of the error that you receive when creating a changeset. It * consists of the type of error and the error message.

*/ inline CreateKxChangesetResult& WithErrorInfo(const ErrorInfo& value) { SetErrorInfo(value); return *this;} /** *

The details of the error that you receive when creating a changeset. It * consists of the type of error and the error message.

*/ inline CreateKxChangesetResult& WithErrorInfo(ErrorInfo&& value) { SetErrorInfo(std::move(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 CreateKxChangesetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateKxChangesetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateKxChangesetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_changesetId; Aws::String m_databaseName; Aws::String m_environmentId; Aws::Vector m_changeRequests; Aws::Utils::DateTime m_createdTimestamp; Aws::Utils::DateTime m_lastModifiedTimestamp; ChangesetStatus m_status; ErrorInfo m_errorInfo; Aws::String m_requestId; }; } // namespace Model } // namespace finspace } // namespace Aws