/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the results of your stop run attempt.See Also:
* AWS
* API Reference
The run that was stopped.
*/ inline const Run& GetRun() const{ return m_run; } /** *The run that was stopped.
*/ inline void SetRun(const Run& value) { m_run = value; } /** *The run that was stopped.
*/ inline void SetRun(Run&& value) { m_run = std::move(value); } /** *The run that was stopped.
*/ inline StopRunResult& WithRun(const Run& value) { SetRun(value); return *this;} /** *The run that was stopped.
*/ inline StopRunResult& WithRun(Run&& value) { SetRun(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 StopRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StopRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StopRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Run m_run; Aws::String m_requestId; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws