/** * 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 DeviceFarm { namespace Model { class AWS_DEVICEFARM_API StopJobResult { public: StopJobResult(); StopJobResult(const Aws::AmazonWebServiceResult& result); StopJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The job that was stopped.

*/ inline const Job& GetJob() const{ return m_job; } /** *

The job that was stopped.

*/ inline void SetJob(const Job& value) { m_job = value; } /** *

The job that was stopped.

*/ inline void SetJob(Job&& value) { m_job = std::move(value); } /** *

The job that was stopped.

*/ inline StopJobResult& WithJob(const Job& value) { SetJob(value); return *this;} /** *

The job that was stopped.

*/ inline StopJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;} private: Job m_job; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws