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

The dynamic thing group name.

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

The dynamic thing group name.

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

The dynamic thing group name.

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

The dynamic thing group name.

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

The dynamic thing group name.

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

The dynamic thing group name.

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

The dynamic thing group name.

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

The dynamic thing group ARN.

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

The dynamic thing group ARN.

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

The dynamic thing group ARN.

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

The dynamic thing group ARN.

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

The dynamic thing group ARN.

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

The dynamic thing group ARN.

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

The dynamic thing group ARN.

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

The dynamic thing group ID.

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

The dynamic thing group ID.

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

The dynamic thing group ID.

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

The dynamic thing group ID.

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

The dynamic thing group ID.

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

The dynamic thing group ID.

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

The dynamic thing group ID.

*/ inline CreateDynamicThingGroupResult& WithThingGroupId(const char* value) { SetThingGroupId(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 CreateDynamicThingGroupResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} /** *

The dynamic thing group index name.

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

The dynamic thing group index name.

*/ inline CreateDynamicThingGroupResult& 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 CreateDynamicThingGroupResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;} /** *

The dynamic thing group search query string.

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

The dynamic thing group search query string.

*/ inline CreateDynamicThingGroupResult& 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 CreateDynamicThingGroupResult& WithQueryVersion(const Aws::String& value) { SetQueryVersion(value); return *this;} /** *

The dynamic thing group query version.

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

The dynamic thing group query version.

*/ inline CreateDynamicThingGroupResult& WithQueryVersion(const char* value) { SetQueryVersion(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 CreateDynamicThingGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDynamicThingGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDynamicThingGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_thingGroupName; Aws::String m_thingGroupArn; Aws::String m_thingGroupId; Aws::String m_indexName; Aws::String m_queryString; Aws::String m_queryVersion; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws