AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ThroughputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ThroughputMode.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
44 {
45 public:
46 AWS_SAGEMAKER_API ThroughputConfig() = default;
47 AWS_SAGEMAKER_API ThroughputConfig(Aws::Utils::Json::JsonView jsonValue);
49 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
57 inline ThroughputMode GetThroughputMode() const { return m_throughputMode; }
58 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
59 inline void SetThroughputMode(ThroughputMode value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
62
64
69 inline int GetProvisionedReadCapacityUnits() const { return m_provisionedReadCapacityUnits; }
70 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
71 inline void SetProvisionedReadCapacityUnits(int value) { m_provisionedReadCapacityUnitsHasBeenSet = true; m_provisionedReadCapacityUnits = value; }
74
76
81 inline int GetProvisionedWriteCapacityUnits() const { return m_provisionedWriteCapacityUnits; }
82 inline bool ProvisionedWriteCapacityUnitsHasBeenSet() const { return m_provisionedWriteCapacityUnitsHasBeenSet; }
83 inline void SetProvisionedWriteCapacityUnits(int value) { m_provisionedWriteCapacityUnitsHasBeenSet = true; m_provisionedWriteCapacityUnits = value; }
86 private:
87
89 bool m_throughputModeHasBeenSet = false;
90
91 int m_provisionedReadCapacityUnits{0};
92 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
93
94 int m_provisionedWriteCapacityUnits{0};
95 bool m_provisionedWriteCapacityUnitsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
AWS_SAGEMAKER_API ThroughputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThroughputMode(ThroughputMode value)
ThroughputConfig & WithThroughputMode(ThroughputMode value)
AWS_SAGEMAKER_API ThroughputConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ThroughputConfig()=default
ThroughputConfig & WithProvisionedReadCapacityUnits(int value)
ThroughputConfig & WithProvisionedWriteCapacityUnits(int value)
Aws::Utils::Json::JsonValue JsonValue