AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ThroughputConfigDescription.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ThroughputMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
40 public:
41 AWS_SAGEMAKER_API ThroughputConfigDescription() = default;
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
51 inline ThroughputMode GetThroughputMode() const { return m_throughputMode; }
52 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
53 inline void SetThroughputMode(ThroughputMode value) {
54 m_throughputModeHasBeenSet = true;
55 m_throughputMode = value;
56 }
58 SetThroughputMode(value);
59 return *this;
60 }
62
64
69 inline int GetProvisionedReadCapacityUnits() const { return m_provisionedReadCapacityUnits; }
70 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
71 inline void SetProvisionedReadCapacityUnits(int value) {
72 m_provisionedReadCapacityUnitsHasBeenSet = true;
73 m_provisionedReadCapacityUnits = value;
74 }
77 return *this;
78 }
80
82
87 inline int GetProvisionedWriteCapacityUnits() const { return m_provisionedWriteCapacityUnits; }
88 inline bool ProvisionedWriteCapacityUnitsHasBeenSet() const { return m_provisionedWriteCapacityUnitsHasBeenSet; }
89 inline void SetProvisionedWriteCapacityUnits(int value) {
90 m_provisionedWriteCapacityUnitsHasBeenSet = true;
91 m_provisionedWriteCapacityUnits = value;
92 }
95 return *this;
96 }
98 private:
100
101 int m_provisionedReadCapacityUnits{0};
102
103 int m_provisionedWriteCapacityUnits{0};
104 bool m_throughputModeHasBeenSet = false;
105 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
106 bool m_provisionedWriteCapacityUnitsHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace SageMaker
111} // namespace Aws
ThroughputConfigDescription & WithProvisionedReadCapacityUnits(int value)
AWS_SAGEMAKER_API ThroughputConfigDescription(Aws::Utils::Json::JsonView jsonValue)
ThroughputConfigDescription & WithProvisionedWriteCapacityUnits(int value)
ThroughputConfigDescription & WithThroughputMode(ThroughputMode value)
AWS_SAGEMAKER_API ThroughputConfigDescription()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ThroughputConfigDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue