/** * 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 IoTTwinMaker { namespace Model { /** *

The parent entity update request.

See Also:

AWS * API Reference

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

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