/** * 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 QuickSight { namespace Model { class DescribeNamespaceResult { public: AWS_QUICKSIGHT_API DescribeNamespaceResult(); AWS_QUICKSIGHT_API DescribeNamespaceResult(const Aws::AmazonWebServiceResult& result); AWS_QUICKSIGHT_API DescribeNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The information about the namespace that you're describing. The response * includes the namespace ARN, name, Amazon Web Services Region, creation status, * and identity store. DescribeNamespace also works for namespaces * that are in the process of being created. For incomplete namespaces, this API * operation lists the namespace error types and messages associated with the * creation process.

*/ inline const NamespaceInfoV2& GetNamespace() const{ return m_namespace; } /** *

The information about the namespace that you're describing. The response * includes the namespace ARN, name, Amazon Web Services Region, creation status, * and identity store. DescribeNamespace also works for namespaces * that are in the process of being created. For incomplete namespaces, this API * operation lists the namespace error types and messages associated with the * creation process.

*/ inline void SetNamespace(const NamespaceInfoV2& value) { m_namespace = value; } /** *

The information about the namespace that you're describing. The response * includes the namespace ARN, name, Amazon Web Services Region, creation status, * and identity store. DescribeNamespace also works for namespaces * that are in the process of being created. For incomplete namespaces, this API * operation lists the namespace error types and messages associated with the * creation process.

*/ inline void SetNamespace(NamespaceInfoV2&& value) { m_namespace = std::move(value); } /** *

The information about the namespace that you're describing. The response * includes the namespace ARN, name, Amazon Web Services Region, creation status, * and identity store. DescribeNamespace also works for namespaces * that are in the process of being created. For incomplete namespaces, this API * operation lists the namespace error types and messages associated with the * creation process.

*/ inline DescribeNamespaceResult& WithNamespace(const NamespaceInfoV2& value) { SetNamespace(value); return *this;} /** *

The information about the namespace that you're describing. The response * includes the namespace ARN, name, Amazon Web Services Region, creation status, * and identity store. DescribeNamespace also works for namespaces * that are in the process of being created. For incomplete namespaces, this API * operation lists the namespace error types and messages associated with the * creation process.

*/ inline DescribeNamespaceResult& WithNamespace(NamespaceInfoV2&& value) { SetNamespace(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 DescribeNamespaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeNamespaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeNamespaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} /** *

The HTTP status of the request.

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

The HTTP status of the request.

*/ inline void SetStatus(int value) { m_status = value; } /** *

The HTTP status of the request.

*/ inline DescribeNamespaceResult& WithStatus(int value) { SetStatus(value); return *this;} private: NamespaceInfoV2 m_namespace; Aws::String m_requestId; int m_status; }; } // namespace Model } // namespace QuickSight } // namespace Aws