/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the properties of an entity.See Also:
AWS
* API Reference
The entity ID.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The entity ID.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The entity ID.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The entity ID.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The entity ID.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The entity ID.
*/ inline EntityDescription& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The entity ID.
*/ inline EntityDescription& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The entity ID.
*/ inline EntityDescription& WithId(const char* value) { SetId(value); return *this;} /** *The entity ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The entity ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The entity ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The entity ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The entity ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The entity ARN.
*/ inline EntityDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The entity ARN.
*/ inline EntityDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The entity ARN.
*/ inline EntityDescription& WithArn(const char* value) { SetArn(value); return *this;} /** *The entity type.
*/ inline const EntityType& GetType() const{ return m_type; } /** *The entity type.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The entity type.
*/ inline void SetType(const EntityType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The entity type.
*/ inline void SetType(EntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The entity type.
*/ inline EntityDescription& WithType(const EntityType& value) { SetType(value); return *this;} /** *The entity type.
*/ inline EntityDescription& WithType(EntityType&& value) { SetType(std::move(value)); return *this;} /** *The time at which the entity was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which the entity was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which the entity was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which the entity was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which the entity was created.
*/ inline EntityDescription& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the entity was created.
*/ inline EntityDescription& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The definition document of the entity.
*/ inline const DefinitionDocument& GetDefinition() const{ return m_definition; } /** *The definition document of the entity.
*/ inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } /** *The definition document of the entity.
*/ inline void SetDefinition(const DefinitionDocument& value) { m_definitionHasBeenSet = true; m_definition = value; } /** *The definition document of the entity.
*/ inline void SetDefinition(DefinitionDocument&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } /** *The definition document of the entity.
*/ inline EntityDescription& WithDefinition(const DefinitionDocument& value) { SetDefinition(value); return *this;} /** *The definition document of the entity.
*/ inline EntityDescription& WithDefinition(DefinitionDocument&& value) { SetDefinition(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; EntityType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; DefinitionDocument m_definition; bool m_definitionHasBeenSet = false; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws