/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { class DeleteEntityResult { public: AWS_IOTTWINMAKER_API DeleteEntityResult(); AWS_IOTTWINMAKER_API DeleteEntityResult(const Aws::AmazonWebServiceResult& result); AWS_IOTTWINMAKER_API DeleteEntityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The current state of the deleted entity.

*/ inline const State& GetState() const{ return m_state; } /** *

The current state of the deleted entity.

*/ inline void SetState(const State& value) { m_state = value; } /** *

The current state of the deleted entity.

*/ inline void SetState(State&& value) { m_state = std::move(value); } /** *

The current state of the deleted entity.

*/ inline DeleteEntityResult& WithState(const State& value) { SetState(value); return *this;} /** *

The current state of the deleted entity.

*/ inline DeleteEntityResult& WithState(State&& value) { SetState(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DeleteEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: State m_state; Aws::String m_requestId; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws