/** * 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 { /** *

Represents the result of a get run request.

See Also:

AWS * API Reference

*/ class AWS_DEVICEFARM_API GetRunResult { public: GetRunResult(); GetRunResult(const Aws::AmazonWebServiceResult& result); GetRunResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The run to get results from.

*/ inline const Run& GetRun() const{ return m_run; } /** *

The run to get results from.

*/ inline void SetRun(const Run& value) { m_run = value; } /** *

The run to get results from.

*/ inline void SetRun(Run&& value) { m_run = std::move(value); } /** *

The run to get results from.

*/ inline GetRunResult& WithRun(const Run& value) { SetRun(value); return *this;} /** *

The run to get results from.

*/ inline GetRunResult& WithRun(Run&& value) { SetRun(std::move(value)); return *this;} private: Run m_run; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws