/** * 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 Athena { namespace Model { /** */ class UpdateNotebookMetadataRequest : public AthenaRequest { public: AWS_ATHENA_API UpdateNotebookMetadataRequest(); // 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 "UpdateNotebookMetadata"; } AWS_ATHENA_API Aws::String SerializePayload() const override; AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the notebook to update the metadata for.

*/ inline const Aws::String& GetNotebookId() const{ return m_notebookId; } /** *

The ID of the notebook to update the metadata for.

*/ inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; } /** *

The ID of the notebook to update the metadata for.

*/ inline void SetNotebookId(const Aws::String& value) { m_notebookIdHasBeenSet = true; m_notebookId = value; } /** *

The ID of the notebook to update the metadata for.

*/ inline void SetNotebookId(Aws::String&& value) { m_notebookIdHasBeenSet = true; m_notebookId = std::move(value); } /** *

The ID of the notebook to update the metadata for.

*/ inline void SetNotebookId(const char* value) { m_notebookIdHasBeenSet = true; m_notebookId.assign(value); } /** *

The ID of the notebook to update the metadata for.

*/ inline UpdateNotebookMetadataRequest& WithNotebookId(const Aws::String& value) { SetNotebookId(value); return *this;} /** *

The ID of the notebook to update the metadata for.

*/ inline UpdateNotebookMetadataRequest& WithNotebookId(Aws::String&& value) { SetNotebookId(std::move(value)); return *this;} /** *

The ID of the notebook to update the metadata for.

*/ inline UpdateNotebookMetadataRequest& WithNotebookId(const char* value) { SetNotebookId(value); return *this;} /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; } /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; } /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; } /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); } /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); } /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline UpdateNotebookMetadataRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;} /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline UpdateNotebookMetadataRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;} /** *

A unique case-sensitive string used to ensure the request to create the * notebook is idempotent (executes only once).

This token is * listed as not required because Amazon Web Services SDKs (for example the Amazon * Web Services SDK for Java) auto-generate the token for you. If you are not using * the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide * this token or the action will fail.

*/ inline UpdateNotebookMetadataRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;} /** *

The name to update the notebook to.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name to update the notebook to.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name to update the notebook to.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name to update the notebook to.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name to update the notebook to.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name to update the notebook to.

*/ inline UpdateNotebookMetadataRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name to update the notebook to.

*/ inline UpdateNotebookMetadataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name to update the notebook to.

*/ inline UpdateNotebookMetadataRequest& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_notebookId; bool m_notebookIdHasBeenSet = false; Aws::String m_clientRequestToken; bool m_clientRequestTokenHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws