/** * 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 Glue { namespace Model { /** */ class UpdateDevEndpointRequest : public GlueRequest { public: AWS_GLUE_API UpdateDevEndpointRequest(); // 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 "UpdateDevEndpoint"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the DevEndpoint to be updated.

*/ inline const Aws::String& GetEndpointName() const{ return m_endpointName; } /** *

The name of the DevEndpoint to be updated.

*/ inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; } /** *

The name of the DevEndpoint to be updated.

*/ inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; } /** *

The name of the DevEndpoint to be updated.

*/ inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); } /** *

The name of the DevEndpoint to be updated.

*/ inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); } /** *

The name of the DevEndpoint to be updated.

*/ inline UpdateDevEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;} /** *

The name of the DevEndpoint to be updated.

*/ inline UpdateDevEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;} /** *

The name of the DevEndpoint to be updated.

*/ inline UpdateDevEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;} /** *

The public key for the DevEndpoint to use.

*/ inline const Aws::String& GetPublicKey() const{ return m_publicKey; } /** *

The public key for the DevEndpoint to use.

*/ inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; } /** *

The public key for the DevEndpoint to use.

*/ inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; } /** *

The public key for the DevEndpoint to use.

*/ inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); } /** *

The public key for the DevEndpoint to use.

*/ inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); } /** *

The public key for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;} /** *

The public key for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;} /** *

The public key for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& WithPublicKey(const char* value) { SetPublicKey(value); return *this;} /** *

The list of public keys for the DevEndpoint to use.

*/ inline const Aws::Vector& GetAddPublicKeys() const{ return m_addPublicKeys; } /** *

The list of public keys for the DevEndpoint to use.

*/ inline bool AddPublicKeysHasBeenSet() const { return m_addPublicKeysHasBeenSet; } /** *

The list of public keys for the DevEndpoint to use.

*/ inline void SetAddPublicKeys(const Aws::Vector& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys = value; } /** *

The list of public keys for the DevEndpoint to use.

*/ inline void SetAddPublicKeys(Aws::Vector&& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys = std::move(value); } /** *

The list of public keys for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& WithAddPublicKeys(const Aws::Vector& value) { SetAddPublicKeys(value); return *this;} /** *

The list of public keys for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& WithAddPublicKeys(Aws::Vector&& value) { SetAddPublicKeys(std::move(value)); return *this;} /** *

The list of public keys for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& AddAddPublicKeys(const Aws::String& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys.push_back(value); return *this; } /** *

The list of public keys for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& AddAddPublicKeys(Aws::String&& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys.push_back(std::move(value)); return *this; } /** *

The list of public keys for the DevEndpoint to use.

*/ inline UpdateDevEndpointRequest& AddAddPublicKeys(const char* value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys.push_back(value); return *this; } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline const Aws::Vector& GetDeletePublicKeys() const{ return m_deletePublicKeys; } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline bool DeletePublicKeysHasBeenSet() const { return m_deletePublicKeysHasBeenSet; } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline void SetDeletePublicKeys(const Aws::Vector& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys = value; } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline void SetDeletePublicKeys(Aws::Vector&& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys = std::move(value); } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline UpdateDevEndpointRequest& WithDeletePublicKeys(const Aws::Vector& value) { SetDeletePublicKeys(value); return *this;} /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline UpdateDevEndpointRequest& WithDeletePublicKeys(Aws::Vector&& value) { SetDeletePublicKeys(std::move(value)); return *this;} /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline UpdateDevEndpointRequest& AddDeletePublicKeys(const Aws::String& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys.push_back(value); return *this; } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline UpdateDevEndpointRequest& AddDeletePublicKeys(Aws::String&& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys.push_back(std::move(value)); return *this; } /** *

The list of public keys to be deleted from the DevEndpoint.

*/ inline UpdateDevEndpointRequest& AddDeletePublicKeys(const char* value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys.push_back(value); return *this; } /** *

Custom Python or Java libraries to be loaded in the * DevEndpoint.

*/ inline const DevEndpointCustomLibraries& GetCustomLibraries() const{ return m_customLibraries; } /** *

Custom Python or Java libraries to be loaded in the * DevEndpoint.

*/ inline bool CustomLibrariesHasBeenSet() const { return m_customLibrariesHasBeenSet; } /** *

Custom Python or Java libraries to be loaded in the * DevEndpoint.

*/ inline void SetCustomLibraries(const DevEndpointCustomLibraries& value) { m_customLibrariesHasBeenSet = true; m_customLibraries = value; } /** *

Custom Python or Java libraries to be loaded in the * DevEndpoint.

*/ inline void SetCustomLibraries(DevEndpointCustomLibraries&& value) { m_customLibrariesHasBeenSet = true; m_customLibraries = std::move(value); } /** *

Custom Python or Java libraries to be loaded in the * DevEndpoint.

*/ inline UpdateDevEndpointRequest& WithCustomLibraries(const DevEndpointCustomLibraries& value) { SetCustomLibraries(value); return *this;} /** *

Custom Python or Java libraries to be loaded in the * DevEndpoint.

*/ inline UpdateDevEndpointRequest& WithCustomLibraries(DevEndpointCustomLibraries&& value) { SetCustomLibraries(std::move(value)); return *this;} /** *

True if the list of custom libraries to be loaded in the * development endpoint needs to be updated, or False if * otherwise.

*/ inline bool GetUpdateEtlLibraries() const{ return m_updateEtlLibraries; } /** *

True if the list of custom libraries to be loaded in the * development endpoint needs to be updated, or False if * otherwise.

*/ inline bool UpdateEtlLibrariesHasBeenSet() const { return m_updateEtlLibrariesHasBeenSet; } /** *

True if the list of custom libraries to be loaded in the * development endpoint needs to be updated, or False if * otherwise.

*/ inline void SetUpdateEtlLibraries(bool value) { m_updateEtlLibrariesHasBeenSet = true; m_updateEtlLibraries = value; } /** *

True if the list of custom libraries to be loaded in the * development endpoint needs to be updated, or False if * otherwise.

*/ inline UpdateDevEndpointRequest& WithUpdateEtlLibraries(bool value) { SetUpdateEtlLibraries(value); return *this;} /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline const Aws::Vector& GetDeleteArguments() const{ return m_deleteArguments; } /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline bool DeleteArgumentsHasBeenSet() const { return m_deleteArgumentsHasBeenSet; } /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline void SetDeleteArguments(const Aws::Vector& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments = value; } /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline void SetDeleteArguments(Aws::Vector&& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments = std::move(value); } /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline UpdateDevEndpointRequest& WithDeleteArguments(const Aws::Vector& value) { SetDeleteArguments(value); return *this;} /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline UpdateDevEndpointRequest& WithDeleteArguments(Aws::Vector&& value) { SetDeleteArguments(std::move(value)); return *this;} /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline UpdateDevEndpointRequest& AddDeleteArguments(const Aws::String& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments.push_back(value); return *this; } /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline UpdateDevEndpointRequest& AddDeleteArguments(Aws::String&& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments.push_back(std::move(value)); return *this; } /** *

The list of argument keys to be deleted from the map of arguments used to * configure the DevEndpoint.

*/ inline UpdateDevEndpointRequest& AddDeleteArguments(const char* value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments.push_back(value); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline const Aws::Map& GetAddArguments() const{ return m_addArguments; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline bool AddArgumentsHasBeenSet() const { return m_addArgumentsHasBeenSet; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline void SetAddArguments(const Aws::Map& value) { m_addArgumentsHasBeenSet = true; m_addArguments = value; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline void SetAddArguments(Aws::Map&& value) { m_addArgumentsHasBeenSet = true; m_addArguments = std::move(value); } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& WithAddArguments(const Aws::Map& value) { SetAddArguments(value); return *this;} /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& WithAddArguments(Aws::Map&& value) { SetAddArguments(std::move(value)); return *this;} /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(const Aws::String& key, const Aws::String& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, value); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(Aws::String&& key, const Aws::String& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(std::move(key), value); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(const Aws::String& key, Aws::String&& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, std::move(value)); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(Aws::String&& key, Aws::String&& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(std::move(key), std::move(value)); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(const char* key, Aws::String&& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, std::move(value)); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(Aws::String&& key, const char* value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(std::move(key), value); return *this; } /** *

The map of arguments to add the map of arguments used to configure the * DevEndpoint.

Valid arguments are:

  • * "--enable-glue-datacatalog": ""

You can specify * a version of Python support for development endpoints by using the * Arguments parameter in the CreateDevEndpoint or * UpdateDevEndpoint APIs. If no arguments are provided, the version * defaults to Python 2.

*/ inline UpdateDevEndpointRequest& AddAddArguments(const char* key, const char* value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, value); return *this; } private: Aws::String m_endpointName; bool m_endpointNameHasBeenSet = false; Aws::String m_publicKey; bool m_publicKeyHasBeenSet = false; Aws::Vector m_addPublicKeys; bool m_addPublicKeysHasBeenSet = false; Aws::Vector m_deletePublicKeys; bool m_deletePublicKeysHasBeenSet = false; DevEndpointCustomLibraries m_customLibraries; bool m_customLibrariesHasBeenSet = false; bool m_updateEtlLibraries; bool m_updateEtlLibrariesHasBeenSet = false; Aws::Vector m_deleteArguments; bool m_deleteArgumentsHasBeenSet = false; Aws::Map m_addArguments; bool m_addArgumentsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws