/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class DeleteRegistryResult { public: AWS_GLUE_API DeleteRegistryResult(); AWS_GLUE_API DeleteRegistryResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API DeleteRegistryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the registry being deleted.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

The name of the registry being deleted.

*/ inline void SetRegistryName(const Aws::String& value) { m_registryName = value; } /** *

The name of the registry being deleted.

*/ inline void SetRegistryName(Aws::String&& value) { m_registryName = std::move(value); } /** *

The name of the registry being deleted.

*/ inline void SetRegistryName(const char* value) { m_registryName.assign(value); } /** *

The name of the registry being deleted.

*/ inline DeleteRegistryResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name of the registry being deleted.

*/ inline DeleteRegistryResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

The name of the registry being deleted.

*/ inline DeleteRegistryResult& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline const Aws::String& GetRegistryArn() const{ return m_registryArn; } /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline void SetRegistryArn(const Aws::String& value) { m_registryArn = value; } /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline void SetRegistryArn(Aws::String&& value) { m_registryArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline void SetRegistryArn(const char* value) { m_registryArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline DeleteRegistryResult& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline DeleteRegistryResult& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the registry being deleted.

*/ inline DeleteRegistryResult& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;} /** *

The status of the registry. A successful operation will return the * Deleting status.

*/ inline const RegistryStatus& GetStatus() const{ return m_status; } /** *

The status of the registry. A successful operation will return the * Deleting status.

*/ inline void SetStatus(const RegistryStatus& value) { m_status = value; } /** *

The status of the registry. A successful operation will return the * Deleting status.

*/ inline void SetStatus(RegistryStatus&& value) { m_status = std::move(value); } /** *

The status of the registry. A successful operation will return the * Deleting status.

*/ inline DeleteRegistryResult& WithStatus(const RegistryStatus& value) { SetStatus(value); return *this;} /** *

The status of the registry. A successful operation will return the * Deleting status.

*/ inline DeleteRegistryResult& WithStatus(RegistryStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteRegistryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteRegistryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteRegistryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_registryName; Aws::String m_registryArn; RegistryStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws