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

A list of change request objects.

See Also:

AWS * API Reference

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

Defines the type of change request. A changeType can have the * following values:

  • PUT – Adds or updates files in a * database.

  • DELETE – Deletes files in a database.

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

Defines the type of change request. A changeType can have the * following values:

  • PUT – Adds or updates files in a * database.

  • DELETE – Deletes files in a database.

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

Defines the type of change request. A changeType can have the * following values:

  • PUT – Adds or updates files in a * database.

  • DELETE – Deletes files in a database.

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

Defines the type of change request. A changeType can have the * following values:

  • PUT – Adds or updates files in a * database.

  • DELETE – Deletes files in a database.

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

Defines the type of change request. A changeType can have the * following values:

  • PUT – Adds or updates files in a * database.

  • DELETE – Deletes files in a database.

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

Defines the type of change request. A changeType can have the * following values:

  • PUT – Adds or updates files in a * database.

  • DELETE – Deletes files in a database.

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

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline const Aws::String& GetS3Path() const{ return m_s3Path; } /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline bool S3PathHasBeenSet() const { return m_s3PathHasBeenSet; } /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline void SetS3Path(const Aws::String& value) { m_s3PathHasBeenSet = true; m_s3Path = value; } /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline void SetS3Path(Aws::String&& value) { m_s3PathHasBeenSet = true; m_s3Path = std::move(value); } /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline void SetS3Path(const char* value) { m_s3PathHasBeenSet = true; m_s3Path.assign(value); } /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline ChangeRequest& WithS3Path(const Aws::String& value) { SetS3Path(value); return *this;} /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline ChangeRequest& WithS3Path(Aws::String&& value) { SetS3Path(std::move(value)); return *this;} /** *

Defines the S3 path of the source file that is required to add or update * files in a database.

*/ inline ChangeRequest& WithS3Path(const char* value) { SetS3Path(value); return *this;} /** *

Defines the path within the database directory.

*/ inline const Aws::String& GetDbPath() const{ return m_dbPath; } /** *

Defines the path within the database directory.

*/ inline bool DbPathHasBeenSet() const { return m_dbPathHasBeenSet; } /** *

Defines the path within the database directory.

*/ inline void SetDbPath(const Aws::String& value) { m_dbPathHasBeenSet = true; m_dbPath = value; } /** *

Defines the path within the database directory.

*/ inline void SetDbPath(Aws::String&& value) { m_dbPathHasBeenSet = true; m_dbPath = std::move(value); } /** *

Defines the path within the database directory.

*/ inline void SetDbPath(const char* value) { m_dbPathHasBeenSet = true; m_dbPath.assign(value); } /** *

Defines the path within the database directory.

*/ inline ChangeRequest& WithDbPath(const Aws::String& value) { SetDbPath(value); return *this;} /** *

Defines the path within the database directory.

*/ inline ChangeRequest& WithDbPath(Aws::String&& value) { SetDbPath(std::move(value)); return *this;} /** *

Defines the path within the database directory.

*/ inline ChangeRequest& WithDbPath(const char* value) { SetDbPath(value); return *this;} private: ChangeType m_changeType; bool m_changeTypeHasBeenSet = false; Aws::String m_s3Path; bool m_s3PathHasBeenSet = false; Aws::String m_dbPath; bool m_dbPathHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws