AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
StoppingCondition.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace CleanRoomsML {
17namespace Model {
18
25 public:
26 AWS_CLEANROOMSML_API StoppingCondition() = default;
27 AWS_CLEANROOMSML_API StoppingCondition(Aws::Utils::Json::JsonView jsonValue);
28 AWS_CLEANROOMSML_API StoppingCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetMaxRuntimeInSeconds() const { return m_maxRuntimeInSeconds; }
37 inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; }
38 inline void SetMaxRuntimeInSeconds(int value) {
39 m_maxRuntimeInSecondsHasBeenSet = true;
40 m_maxRuntimeInSeconds = value;
41 }
44 return *this;
45 }
47 private:
48 int m_maxRuntimeInSeconds{0};
49 bool m_maxRuntimeInSecondsHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace CleanRoomsML
54} // namespace Aws
AWS_CLEANROOMSML_API StoppingCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API StoppingCondition(Aws::Utils::Json::JsonView jsonValue)
StoppingCondition & WithMaxRuntimeInSeconds(int value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMSML_API StoppingCondition()=default
Aws::Utils::Json::JsonValue JsonValue