AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
StoppingCondition.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_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 CleanRoomsML
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_CLEANROOMSML_API StoppingCondition() = default;
33 AWS_CLEANROOMSML_API StoppingCondition(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLEANROOMSML_API StoppingCondition& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline int GetMaxRuntimeInSeconds() const { return m_maxRuntimeInSeconds; }
44 inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; }
45 inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; }
46 inline StoppingCondition& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;}
48 private:
49
50 int m_maxRuntimeInSeconds{0};
51 bool m_maxRuntimeInSecondsHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace CleanRoomsML
56} // 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