/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties of the thing, including thing name, thing type name, and a
* list of thing attributes.See Also:
AWS
* API Reference
The name of the thing.
*/ inline const Aws::String& GetThingName() const{ return m_thingName; } /** *The name of the thing.
*/ inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; } /** *The name of the thing.
*/ inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; } /** *The name of the thing.
*/ inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); } /** *The name of the thing.
*/ inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); } /** *The name of the thing.
*/ inline ThingAttribute& WithThingName(const Aws::String& value) { SetThingName(value); return *this;} /** *The name of the thing.
*/ inline ThingAttribute& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;} /** *The name of the thing.
*/ inline ThingAttribute& WithThingName(const char* value) { SetThingName(value); return *this;} /** *The name of the thing type, if the thing has been associated with a type.
*/ inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; } /** *The name of the thing type, if the thing has been associated with a type.
*/ inline bool ThingTypeNameHasBeenSet() const { return m_thingTypeNameHasBeenSet; } /** *The name of the thing type, if the thing has been associated with a type.
*/ inline void SetThingTypeName(const Aws::String& value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName = value; } /** *The name of the thing type, if the thing has been associated with a type.
*/ inline void SetThingTypeName(Aws::String&& value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName = std::move(value); } /** *The name of the thing type, if the thing has been associated with a type.
*/ inline void SetThingTypeName(const char* value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName.assign(value); } /** *The name of the thing type, if the thing has been associated with a type.
*/ inline ThingAttribute& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;} /** *The name of the thing type, if the thing has been associated with a type.
*/ inline ThingAttribute& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;} /** *The name of the thing type, if the thing has been associated with a type.
*/ inline ThingAttribute& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;} /** *The thing ARN.
*/ inline const Aws::String& GetThingArn() const{ return m_thingArn; } /** *The thing ARN.
*/ inline bool ThingArnHasBeenSet() const { return m_thingArnHasBeenSet; } /** *The thing ARN.
*/ inline void SetThingArn(const Aws::String& value) { m_thingArnHasBeenSet = true; m_thingArn = value; } /** *The thing ARN.
*/ inline void SetThingArn(Aws::String&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::move(value); } /** *The thing ARN.
*/ inline void SetThingArn(const char* value) { m_thingArnHasBeenSet = true; m_thingArn.assign(value); } /** *The thing ARN.
*/ inline ThingAttribute& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;} /** *The thing ARN.
*/ inline ThingAttribute& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;} /** *The thing ARN.
*/ inline ThingAttribute& WithThingArn(const char* value) { SetThingArn(value); return *this;} /** *A list of thing attributes which are name-value pairs.
*/ inline const Aws::MapA list of thing attributes which are name-value pairs.
*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *A list of thing attributes which are name-value pairs.
*/ inline void SetAttributes(const Aws::MapA list of thing attributes which are name-value pairs.
*/ inline void SetAttributes(Aws::MapA list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& WithAttributes(const Aws::MapA list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& WithAttributes(Aws::MapA list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *A list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *A list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *A list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *A list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *A list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *A list of thing attributes which are name-value pairs.
*/ inline ThingAttribute& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *The version of the thing record in the registry.
*/ inline long long GetVersion() const{ return m_version; } /** *The version of the thing record in the registry.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the thing record in the registry.
*/ inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the thing record in the registry.
*/ inline ThingAttribute& WithVersion(long long value) { SetVersion(value); return *this;} private: Aws::String m_thingName; bool m_thingNameHasBeenSet = false; Aws::String m_thingTypeName; bool m_thingTypeNameHasBeenSet = false; Aws::String m_thingArn; bool m_thingArnHasBeenSet = false; Aws::Map