/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies limits for how long an Amazon Braket job can run. See
* Also:
AWS
* API Reference
The maximum length of time, in seconds, that an Amazon Braket job can * run.
*/ inline int GetMaxRuntimeInSeconds() const{ return m_maxRuntimeInSeconds; } /** *The maximum length of time, in seconds, that an Amazon Braket job can * run.
*/ inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; } /** *The maximum length of time, in seconds, that an Amazon Braket job can * run.
*/ inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; } /** *The maximum length of time, in seconds, that an Amazon Braket job can * run.
*/ inline JobStoppingCondition& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;} private: int m_maxRuntimeInSeconds; bool m_maxRuntimeInSecondsHasBeenSet = false; }; } // namespace Model } // namespace Braket } // namespace Aws