/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The parent entity update request.See Also:
AWS
* API Reference
The type of the update.
*/ inline const ParentEntityUpdateType& GetUpdateType() const{ return m_updateType; } /** *The type of the update.
*/ inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; } /** *The type of the update.
*/ inline void SetUpdateType(const ParentEntityUpdateType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; } /** *The type of the update.
*/ inline void SetUpdateType(ParentEntityUpdateType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); } /** *The type of the update.
*/ inline ParentEntityUpdateRequest& WithUpdateType(const ParentEntityUpdateType& value) { SetUpdateType(value); return *this;} /** *The type of the update.
*/ inline ParentEntityUpdateRequest& WithUpdateType(ParentEntityUpdateType&& value) { SetUpdateType(std::move(value)); return *this;} /** *The ID of the parent entity.
*/ inline const Aws::String& GetParentEntityId() const{ return m_parentEntityId; } /** *The ID of the parent entity.
*/ inline bool ParentEntityIdHasBeenSet() const { return m_parentEntityIdHasBeenSet; } /** *The ID of the parent entity.
*/ inline void SetParentEntityId(const Aws::String& value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId = value; } /** *The ID of the parent entity.
*/ inline void SetParentEntityId(Aws::String&& value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId = std::move(value); } /** *The ID of the parent entity.
*/ inline void SetParentEntityId(const char* value) { m_parentEntityIdHasBeenSet = true; m_parentEntityId.assign(value); } /** *The ID of the parent entity.
*/ inline ParentEntityUpdateRequest& WithParentEntityId(const Aws::String& value) { SetParentEntityId(value); return *this;} /** *The ID of the parent entity.
*/ inline ParentEntityUpdateRequest& WithParentEntityId(Aws::String&& value) { SetParentEntityId(std::move(value)); return *this;} /** *The ID of the parent entity.
*/ inline ParentEntityUpdateRequest& WithParentEntityId(const char* value) { SetParentEntityId(value); return *this;} private: ParentEntityUpdateType m_updateType; bool m_updateTypeHasBeenSet = false; Aws::String m_parentEntityId; bool m_parentEntityIdHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws