AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ThroughputConfigUpdate.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
31 public:
32 AWS_SAGEMAKER_API ThroughputConfigUpdate() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
45 inline ThroughputMode GetThroughputMode() const { return m_throughputMode; }
46 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
47 inline void SetThroughputMode(ThroughputMode value) {
48 m_throughputModeHasBeenSet = true;
49 m_throughputMode = value;
50 }
52 SetThroughputMode(value);
53 return *this;
54 }
56
58
62 inline int GetProvisionedReadCapacityUnits() const { return m_provisionedReadCapacityUnits; }
63 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
64 inline void SetProvisionedReadCapacityUnits(int value) {
65 m_provisionedReadCapacityUnitsHasBeenSet = true;
66 m_provisionedReadCapacityUnits = value;
67 }
70 return *this;
71 }
73
75
79 inline int GetProvisionedWriteCapacityUnits() const { return m_provisionedWriteCapacityUnits; }
80 inline bool ProvisionedWriteCapacityUnitsHasBeenSet() const { return m_provisionedWriteCapacityUnitsHasBeenSet; }
81 inline void SetProvisionedWriteCapacityUnits(int value) {
82 m_provisionedWriteCapacityUnitsHasBeenSet = true;
83 m_provisionedWriteCapacityUnits = value;
84 }
87 return *this;
88 }
90 private:
92
93 int m_provisionedReadCapacityUnits{0};
94
95 int m_provisionedWriteCapacityUnits{0};
96 bool m_throughputModeHasBeenSet = false;
97 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
98 bool m_provisionedWriteCapacityUnitsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
AWS_SAGEMAKER_API ThroughputConfigUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ThroughputConfigUpdate()=default
AWS_SAGEMAKER_API ThroughputConfigUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ThroughputConfigUpdate & WithThroughputMode(ThroughputMode value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ThroughputConfigUpdate & WithProvisionedReadCapacityUnits(int value)
ThroughputConfigUpdate & WithProvisionedWriteCapacityUnits(int value)
Aws::Utils::Json::JsonValue JsonValue