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

The thing group name.

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

The thing group name.

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

The thing group name.

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

The thing group name.

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

The thing group name.

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

The thing group name.

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

The thing group name.

*/ inline CreateThingGroupResult& WithThingGroupName(const char* value) { SetThingGroupName(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 CreateThingGroupResult& WithThingGroupArn(const Aws::String& value) { SetThingGroupArn(value); return *this;} /** *

The thing group ARN.

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

The thing group ARN.

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

The thing group ID.

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

The thing group ID.

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