AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProductionVariantServerlessConfig.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:
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline int GetMemorySizeInMB() const{ return m_memorySizeInMB; }
45 inline bool MemorySizeInMBHasBeenSet() const { return m_memorySizeInMBHasBeenSet; }
46 inline void SetMemorySizeInMB(int value) { m_memorySizeInMBHasBeenSet = true; m_memorySizeInMB = value; }
49
51
55 inline int GetMaxConcurrency() const{ return m_maxConcurrency; }
56 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
57 inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
60
62
71 inline int GetProvisionedConcurrency() const{ return m_provisionedConcurrency; }
72 inline bool ProvisionedConcurrencyHasBeenSet() const { return m_provisionedConcurrencyHasBeenSet; }
73 inline void SetProvisionedConcurrency(int value) { m_provisionedConcurrencyHasBeenSet = true; m_provisionedConcurrency = value; }
76 private:
77
78 int m_memorySizeInMB;
79 bool m_memorySizeInMBHasBeenSet = false;
80
81 int m_maxConcurrency;
82 bool m_maxConcurrencyHasBeenSet = false;
83
84 int m_provisionedConcurrency;
85 bool m_provisionedConcurrencyHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
ProductionVariantServerlessConfig & WithProvisionedConcurrency(int value)
ProductionVariantServerlessConfig & WithMaxConcurrency(int value)
AWS_SAGEMAKER_API ProductionVariantServerlessConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ProductionVariantServerlessConfig & WithMemorySizeInMB(int value)
AWS_SAGEMAKER_API ProductionVariantServerlessConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue