AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScalingPolicyObjective.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SAGEMAKER_API ScalingPolicyObjective();
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetMinInvocationsPerMinute() const{ return m_minInvocationsPerMinute; }
44 inline bool MinInvocationsPerMinuteHasBeenSet() const { return m_minInvocationsPerMinuteHasBeenSet; }
45 inline void SetMinInvocationsPerMinute(int value) { m_minInvocationsPerMinuteHasBeenSet = true; m_minInvocationsPerMinute = value; }
48
50
53 inline int GetMaxInvocationsPerMinute() const{ return m_maxInvocationsPerMinute; }
54 inline bool MaxInvocationsPerMinuteHasBeenSet() const { return m_maxInvocationsPerMinuteHasBeenSet; }
55 inline void SetMaxInvocationsPerMinute(int value) { m_maxInvocationsPerMinuteHasBeenSet = true; m_maxInvocationsPerMinute = value; }
58 private:
59
60 int m_minInvocationsPerMinute;
61 bool m_minInvocationsPerMinuteHasBeenSet = false;
62
63 int m_maxInvocationsPerMinute;
64 bool m_maxInvocationsPerMinuteHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace SageMaker
69} // namespace Aws
ScalingPolicyObjective & WithMaxInvocationsPerMinute(int value)
AWS_SAGEMAKER_API ScalingPolicyObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingPolicyObjective & WithMinInvocationsPerMinute(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ScalingPolicyObjective(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue