/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 DescribeNamespaceResult { public: DescribeNamespaceResult(); DescribeNamespaceResult(const Aws::AmazonWebServiceResult& result); DescribeNamespaceResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the namespace.

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

The ARN of the namespace.

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

The ARN of the namespace.

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

The ARN of the namespace.

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

The ARN of the namespace.

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

The ARN of the namespace.

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

The ARN of the namespace.

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

The name of the namespace.

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

The name of the namespace.

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

The name of the namespace.

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

The name of the namespace.

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

The name of the namespace.

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

The name of the namespace.

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

The name of the namespace.

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

The name of the public namespace that the latest namespace version is * tracking.

*/ inline const Aws::String& GetTrackingNamespaceName() const{ return m_trackingNamespaceName; } /** *

The name of the public namespace that the latest namespace version is * tracking.

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

The name of the public namespace that the latest namespace version is * tracking.

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

The name of the public namespace that the latest namespace version is * tracking.

*/ inline void SetTrackingNamespaceName(const char* value) { m_trackingNamespaceName.assign(value); } /** *

The name of the public namespace that the latest namespace version is * tracking.

*/ inline DescribeNamespaceResult& WithTrackingNamespaceName(const Aws::String& value) { SetTrackingNamespaceName(value); return *this;} /** *

The name of the public namespace that the latest namespace version is * tracking.

*/ inline DescribeNamespaceResult& WithTrackingNamespaceName(Aws::String&& value) { SetTrackingNamespaceName(std::move(value)); return *this;} /** *

The name of the public namespace that the latest namespace version is * tracking.

*/ inline DescribeNamespaceResult& WithTrackingNamespaceName(const char* value) { SetTrackingNamespaceName(value); return *this;} /** *

The version of the public namespace that the latest version is tracking.

*/ inline long long GetTrackingNamespaceVersion() const{ return m_trackingNamespaceVersion; } /** *

The version of the public namespace that the latest version is tracking.

*/ inline void SetTrackingNamespaceVersion(long long value) { m_trackingNamespaceVersion = value; } /** *

The version of the public namespace that the latest version is tracking.

*/ inline DescribeNamespaceResult& WithTrackingNamespaceVersion(long long value) { SetTrackingNamespaceVersion(value); return *this;} /** *

The version of the user's namespace to describe.

*/ inline long long GetNamespaceVersion() const{ return m_namespaceVersion; } /** *

The version of the user's namespace to describe.

*/ inline void SetNamespaceVersion(long long value) { m_namespaceVersion = value; } /** *

The version of the user's namespace to describe.

*/ inline DescribeNamespaceResult& WithNamespaceVersion(long long value) { SetNamespaceVersion(value); return *this;} private: Aws::String m_namespaceArn; Aws::String m_namespaceName; Aws::String m_trackingNamespaceName; long long m_trackingNamespaceVersion; long long m_namespaceVersion; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws