AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
JobStoppingCondition.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Braket
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_BRAKET_API JobStoppingCondition() = default;
36 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetMaxRuntimeInSeconds() const { return m_maxRuntimeInSeconds; }
45 inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; }
46 inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; }
47 inline JobStoppingCondition& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;}
49 private:
50
51 int m_maxRuntimeInSeconds{0};
52 bool m_maxRuntimeInSecondsHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace Braket
57} // namespace Aws
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BRAKET_API JobStoppingCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API JobStoppingCondition()=default
AWS_BRAKET_API JobStoppingCondition(Aws::Utils::Json::JsonView jsonValue)
JobStoppingCondition & WithMaxRuntimeInSeconds(int value)
Aws::Utils::Json::JsonValue JsonValue