AWS SDK for C++  1.9.160
AWS SDK for C++
MonitoringStoppingCondition.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
46  inline int GetMaxRuntimeInSeconds() const{ return m_maxRuntimeInSeconds; }
47 
55  inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; }
56 
64  inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; }
65 
73  inline MonitoringStoppingCondition& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;}
74 
75  private:
76 
77  int m_maxRuntimeInSeconds;
78  bool m_maxRuntimeInSecondsHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace SageMaker
83 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::MonitoringStoppingCondition
Definition: MonitoringStoppingCondition.h:31
Aws::SageMaker::Model::MonitoringStoppingCondition::WithMaxRuntimeInSeconds
MonitoringStoppingCondition & WithMaxRuntimeInSeconds(int value)
Definition: MonitoringStoppingCondition.h:73
Aws::SageMaker::Model::MonitoringStoppingCondition::MaxRuntimeInSecondsHasBeenSet
bool MaxRuntimeInSecondsHasBeenSet() const
Definition: MonitoringStoppingCondition.h:55
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::MonitoringStoppingCondition::MonitoringStoppingCondition
MonitoringStoppingCondition()
Aws::SageMaker::Model::MonitoringStoppingCondition::SetMaxRuntimeInSeconds
void SetMaxRuntimeInSeconds(int value)
Definition: MonitoringStoppingCondition.h:64
Aws::SageMaker::Model::MonitoringStoppingCondition::operator=
MonitoringStoppingCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MonitoringStoppingCondition::GetMaxRuntimeInSeconds
int GetMaxRuntimeInSeconds() const
Definition: MonitoringStoppingCondition.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::MonitoringStoppingCondition::MonitoringStoppingCondition
MonitoringStoppingCondition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::MonitoringStoppingCondition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const