/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class UpdateRegistryRequest : public GlueRequest { public: AWS_GLUE_API UpdateRegistryRequest(); // 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 "UpdateRegistry"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

This is a wrapper structure that may contain the registry name and Amazon * Resource Name (ARN).

*/ inline const RegistryId& GetRegistryId() const{ return m_registryId; } /** *

This is a wrapper structure that may contain the registry name and Amazon * Resource Name (ARN).

*/ inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; } /** *

This is a wrapper structure that may contain the registry name and Amazon * Resource Name (ARN).

*/ inline void SetRegistryId(const RegistryId& value) { m_registryIdHasBeenSet = true; m_registryId = value; } /** *

This is a wrapper structure that may contain the registry name and Amazon * Resource Name (ARN).

*/ inline void SetRegistryId(RegistryId&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); } /** *

This is a wrapper structure that may contain the registry name and Amazon * Resource Name (ARN).

*/ inline UpdateRegistryRequest& WithRegistryId(const RegistryId& value) { SetRegistryId(value); return *this;} /** *

This is a wrapper structure that may contain the registry name and Amazon * Resource Name (ARN).

*/ inline UpdateRegistryRequest& WithRegistryId(RegistryId&& value) { SetRegistryId(std::move(value)); return *this;} /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline UpdateRegistryRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline UpdateRegistryRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the registry. If description is not provided, this field * will not be updated.

*/ inline UpdateRegistryRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: RegistryId m_registryId; bool m_registryIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws