AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RealTimeInferenceConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/InstanceType.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API RealTimeInferenceConfig();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
46 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
47 inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
48 inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
49 inline RealTimeInferenceConfig& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
50 inline RealTimeInferenceConfig& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
52
54
58 inline int GetInstanceCount() const{ return m_instanceCount; }
59 inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; }
60 inline void SetInstanceCount(int value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; }
61 inline RealTimeInferenceConfig& WithInstanceCount(int value) { SetInstanceCount(value); return *this;}
63 private:
64
65 InstanceType m_instanceType;
66 bool m_instanceTypeHasBeenSet = false;
67
68 int m_instanceCount;
69 bool m_instanceCountHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SageMaker
74} // namespace Aws
RealTimeInferenceConfig & WithInstanceCount(int value)
AWS_SAGEMAKER_API RealTimeInferenceConfig(Aws::Utils::Json::JsonView jsonValue)
RealTimeInferenceConfig & WithInstanceType(const InstanceType &value)
RealTimeInferenceConfig & WithInstanceType(InstanceType &&value)
AWS_SAGEMAKER_API RealTimeInferenceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue