/** * 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 FinSpaceData { namespace Model { /** * The request for an UpdateDataset operation

See Also:

AWS * API Reference

*/ class UpdateDatasetRequest : public FinSpaceDataRequest { public: AWS_FINSPACEDATA_API UpdateDatasetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateDataset"; } AWS_FINSPACEDATA_API Aws::String SerializePayload() const override; /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline UpdateDatasetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline UpdateDatasetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A token that ensures idempotency. This token expires in 10 minutes.

*/ inline UpdateDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

The unique identifier for the Dataset to update.

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

A display title for the Dataset.

*/ inline const Aws::String& GetDatasetTitle() const{ return m_datasetTitle; } /** *

A display title for the Dataset.

*/ inline bool DatasetTitleHasBeenSet() const { return m_datasetTitleHasBeenSet; } /** *

A display title for the Dataset.

*/ inline void SetDatasetTitle(const Aws::String& value) { m_datasetTitleHasBeenSet = true; m_datasetTitle = value; } /** *

A display title for the Dataset.

*/ inline void SetDatasetTitle(Aws::String&& value) { m_datasetTitleHasBeenSet = true; m_datasetTitle = std::move(value); } /** *

A display title for the Dataset.

*/ inline void SetDatasetTitle(const char* value) { m_datasetTitleHasBeenSet = true; m_datasetTitle.assign(value); } /** *

A display title for the Dataset.

*/ inline UpdateDatasetRequest& WithDatasetTitle(const Aws::String& value) { SetDatasetTitle(value); return *this;} /** *

A display title for the Dataset.

*/ inline UpdateDatasetRequest& WithDatasetTitle(Aws::String&& value) { SetDatasetTitle(std::move(value)); return *this;} /** *

A display title for the Dataset.

*/ inline UpdateDatasetRequest& WithDatasetTitle(const char* value) { SetDatasetTitle(value); return *this;} /** *

The format in which the Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline const DatasetKind& GetKind() const{ return m_kind; } /** *

The format in which the Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline bool KindHasBeenSet() const { return m_kindHasBeenSet; } /** *

The format in which the Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline void SetKind(const DatasetKind& value) { m_kindHasBeenSet = true; m_kind = value; } /** *

The format in which the Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline void SetKind(DatasetKind&& value) { m_kindHasBeenSet = true; m_kind = std::move(value); } /** *

The format in which the Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline UpdateDatasetRequest& WithKind(const DatasetKind& value) { SetKind(value); return *this;} /** *

The format in which the Dataset data is structured.

  • * TABULAR – Data is structured in a tabular format.

  • *

    NON_TABULAR – Data is structured in a non-tabular format.

    *
*/ inline UpdateDatasetRequest& WithKind(DatasetKind&& value) { SetKind(std::move(value)); return *this;} /** *

A description for the Dataset.

*/ inline const Aws::String& GetDatasetDescription() const{ return m_datasetDescription; } /** *

A description for the Dataset.

*/ inline bool DatasetDescriptionHasBeenSet() const { return m_datasetDescriptionHasBeenSet; } /** *

A description for the Dataset.

*/ inline void SetDatasetDescription(const Aws::String& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = value; } /** *

A description for the Dataset.

*/ inline void SetDatasetDescription(Aws::String&& value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription = std::move(value); } /** *

A description for the Dataset.

*/ inline void SetDatasetDescription(const char* value) { m_datasetDescriptionHasBeenSet = true; m_datasetDescription.assign(value); } /** *

A description for the Dataset.

*/ inline UpdateDatasetRequest& WithDatasetDescription(const Aws::String& value) { SetDatasetDescription(value); return *this;} /** *

A description for the Dataset.

*/ inline UpdateDatasetRequest& WithDatasetDescription(Aws::String&& value) { SetDatasetDescription(std::move(value)); return *this;} /** *

A description for the Dataset.

*/ inline UpdateDatasetRequest& WithDatasetDescription(const char* value) { SetDatasetDescription(value); return *this;} /** *

The unique resource identifier for a Dataset.

*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *

The unique resource identifier for a Dataset.

*/ inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *

The unique resource identifier for a Dataset.

*/ inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; } /** *

The unique resource identifier for a Dataset.

*/ inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); } /** *

The unique resource identifier for a Dataset.

*/ inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); } /** *

The unique resource identifier for a Dataset.

*/ inline UpdateDatasetRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *

The unique resource identifier for a Dataset.

*/ inline UpdateDatasetRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *

The unique resource identifier for a Dataset.

*/ inline UpdateDatasetRequest& WithAlias(const char* value) { SetAlias(value); return *this;} /** *

Definition for a schema on a tabular Dataset.

*/ inline const SchemaUnion& GetSchemaDefinition() const{ return m_schemaDefinition; } /** *

Definition for a schema on a tabular Dataset.

*/ inline bool SchemaDefinitionHasBeenSet() const { return m_schemaDefinitionHasBeenSet; } /** *

Definition for a schema on a tabular Dataset.

*/ inline void SetSchemaDefinition(const SchemaUnion& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = value; } /** *

Definition for a schema on a tabular Dataset.

*/ inline void SetSchemaDefinition(SchemaUnion&& value) { m_schemaDefinitionHasBeenSet = true; m_schemaDefinition = std::move(value); } /** *

Definition for a schema on a tabular Dataset.

*/ inline UpdateDatasetRequest& WithSchemaDefinition(const SchemaUnion& value) { SetSchemaDefinition(value); return *this;} /** *

Definition for a schema on a tabular Dataset.

*/ inline UpdateDatasetRequest& WithSchemaDefinition(SchemaUnion&& value) { SetSchemaDefinition(std::move(value)); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_datasetId; bool m_datasetIdHasBeenSet = false; Aws::String m_datasetTitle; bool m_datasetTitleHasBeenSet = false; DatasetKind m_kind; bool m_kindHasBeenSet = false; Aws::String m_datasetDescription; bool m_datasetDescriptionHasBeenSet = false; Aws::String m_alias; bool m_aliasHasBeenSet = false; SchemaUnion m_schemaDefinition; bool m_schemaDefinitionHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws