/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Thing group metadata.See Also:
AWS
* API Reference
The parent thing group name.
*/ inline const Aws::String& GetParentGroupName() const{ return m_parentGroupName; } /** *The parent thing group name.
*/ inline bool ParentGroupNameHasBeenSet() const { return m_parentGroupNameHasBeenSet; } /** *The parent thing group name.
*/ inline void SetParentGroupName(const Aws::String& value) { m_parentGroupNameHasBeenSet = true; m_parentGroupName = value; } /** *The parent thing group name.
*/ inline void SetParentGroupName(Aws::String&& value) { m_parentGroupNameHasBeenSet = true; m_parentGroupName = std::move(value); } /** *The parent thing group name.
*/ inline void SetParentGroupName(const char* value) { m_parentGroupNameHasBeenSet = true; m_parentGroupName.assign(value); } /** *The parent thing group name.
*/ inline ThingGroupMetadata& WithParentGroupName(const Aws::String& value) { SetParentGroupName(value); return *this;} /** *The parent thing group name.
*/ inline ThingGroupMetadata& WithParentGroupName(Aws::String&& value) { SetParentGroupName(std::move(value)); return *this;} /** *The parent thing group name.
*/ inline ThingGroupMetadata& WithParentGroupName(const char* value) { SetParentGroupName(value); return *this;} /** *The root parent thing group.
*/ inline const Aws::VectorThe root parent thing group.
*/ inline bool RootToParentThingGroupsHasBeenSet() const { return m_rootToParentThingGroupsHasBeenSet; } /** *The root parent thing group.
*/ inline void SetRootToParentThingGroups(const Aws::VectorThe root parent thing group.
*/ inline void SetRootToParentThingGroups(Aws::VectorThe root parent thing group.
*/ inline ThingGroupMetadata& WithRootToParentThingGroups(const Aws::VectorThe root parent thing group.
*/ inline ThingGroupMetadata& WithRootToParentThingGroups(Aws::VectorThe root parent thing group.
*/ inline ThingGroupMetadata& AddRootToParentThingGroups(const GroupNameAndArn& value) { m_rootToParentThingGroupsHasBeenSet = true; m_rootToParentThingGroups.push_back(value); return *this; } /** *The root parent thing group.
*/ inline ThingGroupMetadata& AddRootToParentThingGroups(GroupNameAndArn&& value) { m_rootToParentThingGroupsHasBeenSet = true; m_rootToParentThingGroups.push_back(std::move(value)); return *this; } /** *The UNIX timestamp of when the thing group was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The UNIX timestamp of when the thing group was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The UNIX timestamp of when the thing group was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The UNIX timestamp of when the thing group was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The UNIX timestamp of when the thing group was created.
*/ inline ThingGroupMetadata& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The UNIX timestamp of when the thing group was created.
*/ inline ThingGroupMetadata& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_parentGroupName; bool m_parentGroupNameHasBeenSet = false; Aws::Vector