AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RecommendationJobResourceLimit.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
26 public:
27 AWS_SAGEMAKER_API RecommendationJobResourceLimit() = default;
30 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetMaxNumberOfTests() const { return m_maxNumberOfTests; }
37 inline bool MaxNumberOfTestsHasBeenSet() const { return m_maxNumberOfTestsHasBeenSet; }
38 inline void SetMaxNumberOfTests(int value) {
39 m_maxNumberOfTestsHasBeenSet = true;
40 m_maxNumberOfTests = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetMaxParallelOfTests() const { return m_maxParallelOfTests; }
53 inline bool MaxParallelOfTestsHasBeenSet() const { return m_maxParallelOfTestsHasBeenSet; }
54 inline void SetMaxParallelOfTests(int value) {
55 m_maxParallelOfTestsHasBeenSet = true;
56 m_maxParallelOfTests = value;
57 }
60 return *this;
61 }
63 private:
64 int m_maxNumberOfTests{0};
65
66 int m_maxParallelOfTests{0};
67 bool m_maxNumberOfTestsHasBeenSet = false;
68 bool m_maxParallelOfTestsHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace SageMaker
73} // namespace Aws
AWS_SAGEMAKER_API RecommendationJobResourceLimit(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API RecommendationJobResourceLimit()=default
AWS_SAGEMAKER_API RecommendationJobResourceLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
RecommendationJobResourceLimit & WithMaxParallelOfTests(int value)
RecommendationJobResourceLimit & WithMaxNumberOfTests(int value)
Aws::Utils::Json::JsonValue JsonValue