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

The index name.

*/ inline const Aws::String& GetIndexName() const{ return m_indexName; } /** *

The index name.

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

The index name.

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

The index name.

*/ inline void SetIndexName(const char* value) { m_indexName.assign(value); } /** *

The index name.

*/ inline DescribeIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *

The index name.

*/ inline DescribeIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} /** *

The index name.

*/ inline DescribeIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** *

The index status.

*/ inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } /** *

The index status.

*/ inline void SetIndexStatus(const IndexStatus& value) { m_indexStatus = value; } /** *

The index status.

*/ inline void SetIndexStatus(IndexStatus&& value) { m_indexStatus = std::move(value); } /** *

The index status.

*/ inline DescribeIndexResult& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} /** *

The index status.

*/ inline DescribeIndexResult& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} /** *

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

*/ inline const Aws::String& GetSchema() const{ return m_schema; } /** *

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

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

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

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

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

*/ inline void SetSchema(const char* value) { m_schema.assign(value); } /** *

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

*/ inline DescribeIndexResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;} /** *

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

*/ inline DescribeIndexResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;} /** *

Contains a value that specifies the type of indexing performed. Valid values * are:

  • REGISTRY – Your thing index contains only registry * data.

  • REGISTRY_AND_SHADOW - Your thing index contains registry * data and shadow data.

  • REGISTRY_AND_CONNECTIVITY_STATUS - Your * thing index contains registry data and thing connectivity status data.

  • *
  • REGISTRY_AND_SHADOW_AND_CONNECTIVITY_STATUS - Your thing index contains * registry data, shadow data, and thing connectivity status data.

*/ inline DescribeIndexResult& WithSchema(const char* value) { SetSchema(value); return *this;} private: Aws::String m_indexName; IndexStatus m_indexStatus; Aws::String m_schema; }; } // namespace Model } // namespace IoT } // namespace Aws