/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoT { namespace Model { /** *

Thing group properties.

See Also:

AWS * API Reference

*/ class ThingGroupProperties { public: AWS_IOT_API ThingGroupProperties(); AWS_IOT_API ThingGroupProperties(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API ThingGroupProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The thing group description.

*/ inline const Aws::String& GetThingGroupDescription() const{ return m_thingGroupDescription; } /** *

The thing group description.

*/ inline bool ThingGroupDescriptionHasBeenSet() const { return m_thingGroupDescriptionHasBeenSet; } /** *

The thing group description.

*/ inline void SetThingGroupDescription(const Aws::String& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = value; } /** *

The thing group description.

*/ inline void SetThingGroupDescription(Aws::String&& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = std::move(value); } /** *

The thing group description.

*/ inline void SetThingGroupDescription(const char* value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription.assign(value); } /** *

The thing group description.

*/ inline ThingGroupProperties& WithThingGroupDescription(const Aws::String& value) { SetThingGroupDescription(value); return *this;} /** *

The thing group description.

*/ inline ThingGroupProperties& WithThingGroupDescription(Aws::String&& value) { SetThingGroupDescription(std::move(value)); return *this;} /** *

The thing group description.

*/ inline ThingGroupProperties& WithThingGroupDescription(const char* value) { SetThingGroupDescription(value); return *this;} /** *

The thing group attributes in JSON format.

*/ inline const AttributePayload& GetAttributePayload() const{ return m_attributePayload; } /** *

The thing group attributes in JSON format.

*/ inline bool AttributePayloadHasBeenSet() const { return m_attributePayloadHasBeenSet; } /** *

The thing group attributes in JSON format.

*/ inline void SetAttributePayload(const AttributePayload& value) { m_attributePayloadHasBeenSet = true; m_attributePayload = value; } /** *

The thing group attributes in JSON format.

*/ inline void SetAttributePayload(AttributePayload&& value) { m_attributePayloadHasBeenSet = true; m_attributePayload = std::move(value); } /** *

The thing group attributes in JSON format.

*/ inline ThingGroupProperties& WithAttributePayload(const AttributePayload& value) { SetAttributePayload(value); return *this;} /** *

The thing group attributes in JSON format.

*/ inline ThingGroupProperties& WithAttributePayload(AttributePayload&& value) { SetAttributePayload(std::move(value)); return *this;} private: Aws::String m_thingGroupDescription; bool m_thingGroupDescriptionHasBeenSet = false; AttributePayload m_attributePayload; bool m_attributePayloadHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws