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

Contains the requested HIT data.

*/ inline const HIT& GetHIT() const{ return m_hIT; } /** *

Contains the requested HIT data.

*/ inline void SetHIT(const HIT& value) { m_hIT = value; } /** *

Contains the requested HIT data.

*/ inline void SetHIT(HIT&& value) { m_hIT = std::move(value); } /** *

Contains the requested HIT data.

*/ inline GetHITResult& WithHIT(const HIT& value) { SetHIT(value); return *this;} /** *

Contains the requested HIT data.

*/ inline GetHITResult& WithHIT(HIT&& value) { SetHIT(std::move(value)); return *this;} private: HIT m_hIT; }; } // namespace Model } // namespace MTurk } // namespace Aws