/** * 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 CreateHITResult { public: CreateHITResult(); CreateHITResult(const Aws::AmazonWebServiceResult& result); CreateHITResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Contains the newly created HIT data. For a description of the HIT data * structure as it appears in responses, see the HIT Data Structure documentation. *

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

Contains the newly created HIT data. For a description of the HIT data * structure as it appears in responses, see the HIT Data Structure documentation. *

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

Contains the newly created HIT data. For a description of the HIT data * structure as it appears in responses, see the HIT Data Structure documentation. *

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

Contains the newly created HIT data. For a description of the HIT data * structure as it appears in responses, see the HIT Data Structure documentation. *

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

Contains the newly created HIT data. For a description of the HIT data * structure as it appears in responses, see the HIT Data Structure documentation. *

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