/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTThingsGraph { namespace Model { class AWS_IOTTHINGSGRAPH_API GetNamespaceDeletionStatusResult { public: GetNamespaceDeletionStatusResult(); GetNamespaceDeletionStatusResult(const Aws::AmazonWebServiceResult& result); GetNamespaceDeletionStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the namespace that is being deleted.

*/ inline const Aws::String& GetNamespaceArn() const{ return m_namespaceArn; } /** *

The ARN of the namespace that is being deleted.

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

The ARN of the namespace that is being deleted.

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

The ARN of the namespace that is being deleted.

*/ inline void SetNamespaceArn(const char* value) { m_namespaceArn.assign(value); } /** *

The ARN of the namespace that is being deleted.

*/ inline GetNamespaceDeletionStatusResult& WithNamespaceArn(const Aws::String& value) { SetNamespaceArn(value); return *this;} /** *

The ARN of the namespace that is being deleted.

*/ inline GetNamespaceDeletionStatusResult& WithNamespaceArn(Aws::String&& value) { SetNamespaceArn(std::move(value)); return *this;} /** *

The ARN of the namespace that is being deleted.

*/ inline GetNamespaceDeletionStatusResult& WithNamespaceArn(const char* value) { SetNamespaceArn(value); return *this;} /** *

The name of the namespace that is being deleted.

*/ inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; } /** *

The name of the namespace that is being deleted.

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

The name of the namespace that is being deleted.

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

The name of the namespace that is being deleted.

*/ inline void SetNamespaceName(const char* value) { m_namespaceName.assign(value); } /** *

The name of the namespace that is being deleted.

*/ inline GetNamespaceDeletionStatusResult& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;} /** *

The name of the namespace that is being deleted.

*/ inline GetNamespaceDeletionStatusResult& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;} /** *

The name of the namespace that is being deleted.

*/ inline GetNamespaceDeletionStatusResult& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;} /** *

The status of the deletion request.

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

The status of the deletion request.

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

The status of the deletion request.

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

The status of the deletion request.

*/ inline GetNamespaceDeletionStatusResult& WithStatus(const NamespaceDeletionStatus& value) { SetStatus(value); return *this;} /** *

The status of the deletion request.

*/ inline GetNamespaceDeletionStatusResult& WithStatus(NamespaceDeletionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

An error code returned by the namespace deletion task.

*/ inline const NamespaceDeletionStatusErrorCodes& GetErrorCode() const{ return m_errorCode; } /** *

An error code returned by the namespace deletion task.

*/ inline void SetErrorCode(const NamespaceDeletionStatusErrorCodes& value) { m_errorCode = value; } /** *

An error code returned by the namespace deletion task.

*/ inline void SetErrorCode(NamespaceDeletionStatusErrorCodes&& value) { m_errorCode = std::move(value); } /** *

An error code returned by the namespace deletion task.

*/ inline GetNamespaceDeletionStatusResult& WithErrorCode(const NamespaceDeletionStatusErrorCodes& value) { SetErrorCode(value); return *this;} /** *

An error code returned by the namespace deletion task.

*/ inline GetNamespaceDeletionStatusResult& WithErrorCode(NamespaceDeletionStatusErrorCodes&& value) { SetErrorCode(std::move(value)); return *this;} /** *

An error code returned by the namespace deletion task.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

An error code returned by the namespace deletion task.

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

An error code returned by the namespace deletion task.

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

An error code returned by the namespace deletion task.

*/ inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } /** *

An error code returned by the namespace deletion task.

*/ inline GetNamespaceDeletionStatusResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

An error code returned by the namespace deletion task.

*/ inline GetNamespaceDeletionStatusResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

An error code returned by the namespace deletion task.

*/ inline GetNamespaceDeletionStatusResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} private: Aws::String m_namespaceArn; Aws::String m_namespaceName; NamespaceDeletionStatus m_status; NamespaceDeletionStatusErrorCodes m_errorCode; Aws::String m_errorMessage; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws