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

The name of the thing group.

*/ inline const Aws::String& GetThingGroupName() const{ return m_thingGroupName; } /** *

The name of the thing group.

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

The name of the thing group.

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

The name of the thing group.

*/ inline void SetThingGroupName(const char* value) { m_thingGroupName.assign(value); } /** *

The name of the thing group.

*/ inline DescribeThingGroupResult& WithThingGroupName(const Aws::String& value) { SetThingGroupName(value); return *this;} /** *

The name of the thing group.

*/ inline DescribeThingGroupResult& WithThingGroupName(Aws::String&& value) { SetThingGroupName(std::move(value)); return *this;} /** *

The name of the thing group.

*/ inline DescribeThingGroupResult& WithThingGroupName(const char* value) { SetThingGroupName(value); return *this;} /** *

The thing group ID.

*/ inline const Aws::String& GetThingGroupId() const{ return m_thingGroupId; } /** *

The thing group ID.

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

The thing group ID.

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

The thing group ID.

*/ inline void SetThingGroupId(const char* value) { m_thingGroupId.assign(value); } /** *

The thing group ID.

*/ inline DescribeThingGroupResult& WithThingGroupId(const Aws::String& value) { SetThingGroupId(value); return *this;} /** *

The thing group ID.

*/ inline DescribeThingGroupResult& WithThingGroupId(Aws::String&& value) { SetThingGroupId(std::move(value)); return *this;} /** *

The thing group ID.

*/ inline DescribeThingGroupResult& WithThingGroupId(const char* value) { SetThingGroupId(value); return *this;} /** *

The thing group ARN.

*/ inline const Aws::String& GetThingGroupArn() const{ return m_thingGroupArn; } /** *

The thing group ARN.

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

The thing group ARN.

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

The thing group ARN.

*/ inline void SetThingGroupArn(const char* value) { m_thingGroupArn.assign(value); } /** *

The thing group ARN.

*/ inline DescribeThingGroupResult& WithThingGroupArn(const Aws::String& value) { SetThingGroupArn(value); return *this;} /** *

The thing group ARN.

*/ inline DescribeThingGroupResult& WithThingGroupArn(Aws::String&& value) { SetThingGroupArn(std::move(value)); return *this;} /** *

The thing group ARN.

*/ inline DescribeThingGroupResult& WithThingGroupArn(const char* value) { SetThingGroupArn(value); return *this;} /** *

The version of the thing group.

*/ inline long long GetVersion() const{ return m_version; } /** *

The version of the thing group.

*/ inline void SetVersion(long long value) { m_version = value; } /** *

The version of the thing group.

*/ inline DescribeThingGroupResult& WithVersion(long long value) { SetVersion(value); return *this;} /** *

The thing group properties.

*/ inline const ThingGroupProperties& GetThingGroupProperties() const{ return m_thingGroupProperties; } /** *

The thing group properties.

*/ inline void SetThingGroupProperties(const ThingGroupProperties& value) { m_thingGroupProperties = value; } /** *

The thing group properties.

*/ inline void SetThingGroupProperties(ThingGroupProperties&& value) { m_thingGroupProperties = std::move(value); } /** *

The thing group properties.

*/ inline DescribeThingGroupResult& WithThingGroupProperties(const ThingGroupProperties& value) { SetThingGroupProperties(value); return *this;} /** *

The thing group properties.

*/ inline DescribeThingGroupResult& WithThingGroupProperties(ThingGroupProperties&& value) { SetThingGroupProperties(std::move(value)); return *this;} /** *

Thing group metadata.

*/ inline const ThingGroupMetadata& GetThingGroupMetadata() const{ return m_thingGroupMetadata; } /** *

Thing group metadata.

*/ inline void SetThingGroupMetadata(const ThingGroupMetadata& value) { m_thingGroupMetadata = value; } /** *

Thing group metadata.

*/ inline void SetThingGroupMetadata(ThingGroupMetadata&& value) { m_thingGroupMetadata = std::move(value); } /** *

Thing group metadata.

*/ inline DescribeThingGroupResult& WithThingGroupMetadata(const ThingGroupMetadata& value) { SetThingGroupMetadata(value); return *this;} /** *

Thing group metadata.

*/ inline DescribeThingGroupResult& WithThingGroupMetadata(ThingGroupMetadata&& value) { SetThingGroupMetadata(std::move(value)); return *this;} /** *

The dynamic thing group index name.

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

The dynamic thing group index name.

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

The dynamic thing group index name.

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

The dynamic thing group index name.

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

The dynamic thing group index name.

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

The dynamic thing group index name.

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

The dynamic thing group index name.

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

The dynamic thing group search query string.

*/ inline const Aws::String& GetQueryString() const{ return m_queryString; } /** *

The dynamic thing group search query string.

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

The dynamic thing group search query string.

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

The dynamic thing group search query string.

*/ inline void SetQueryString(const char* value) { m_queryString.assign(value); } /** *

The dynamic thing group search query string.

*/ inline DescribeThingGroupResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;} /** *

The dynamic thing group search query string.

*/ inline DescribeThingGroupResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;} /** *

The dynamic thing group search query string.

*/ inline DescribeThingGroupResult& WithQueryString(const char* value) { SetQueryString(value); return *this;} /** *

The dynamic thing group query version.

*/ inline const Aws::String& GetQueryVersion() const{ return m_queryVersion; } /** *

The dynamic thing group query version.

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

The dynamic thing group query version.

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

The dynamic thing group query version.

*/ inline void SetQueryVersion(const char* value) { m_queryVersion.assign(value); } /** *

The dynamic thing group query version.

*/ inline DescribeThingGroupResult& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;} /** *

The dynamic thing group query version.

*/ inline DescribeThingGroupResult& WithQueryVersion(Aws::String&& value) { SetQueryVersion(std::move(value)); return *this;} /** *

The dynamic thing group query version.

*/ inline DescribeThingGroupResult& WithQueryVersion(const char* value) { SetQueryVersion(value); return *this;} /** *

The dynamic thing group status.

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

The dynamic thing group status.

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

The dynamic thing group status.

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

The dynamic thing group status.

*/ inline DescribeThingGroupResult& WithStatus(const DynamicGroupStatus& value) { SetStatus(value); return *this;} /** *

The dynamic thing group status.

*/ inline DescribeThingGroupResult& WithStatus(DynamicGroupStatus&& 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 DescribeThingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeThingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeThingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_thingGroupName; Aws::String m_thingGroupId; Aws::String m_thingGroupArn; long long m_version; ThingGroupProperties m_thingGroupProperties; ThingGroupMetadata m_thingGroupMetadata; Aws::String m_indexName; Aws::String m_queryString; Aws::String m_queryVersion; DynamicGroupStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws