AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ScalingPolicyObjective.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 ScalingPolicyObjective() = default;
30 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetMinInvocationsPerMinute() const { return m_minInvocationsPerMinute; }
37 inline bool MinInvocationsPerMinuteHasBeenSet() const { return m_minInvocationsPerMinuteHasBeenSet; }
38 inline void SetMinInvocationsPerMinute(int value) {
39 m_minInvocationsPerMinuteHasBeenSet = true;
40 m_minInvocationsPerMinute = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetMaxInvocationsPerMinute() const { return m_maxInvocationsPerMinute; }
53 inline bool MaxInvocationsPerMinuteHasBeenSet() const { return m_maxInvocationsPerMinuteHasBeenSet; }
54 inline void SetMaxInvocationsPerMinute(int value) {
55 m_maxInvocationsPerMinuteHasBeenSet = true;
56 m_maxInvocationsPerMinute = value;
57 }
60 return *this;
61 }
63 private:
64 int m_minInvocationsPerMinute{0};
65
66 int m_maxInvocationsPerMinute{0};
67 bool m_minInvocationsPerMinuteHasBeenSet = false;
68 bool m_maxInvocationsPerMinuteHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace SageMaker
73} // namespace Aws
AWS_SAGEMAKER_API ScalingPolicyObjective()=default
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