AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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
35 {
36 public:
37 AWS_SAGEMAKER_API ThroughputConfigUpdate() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline ThroughputMode GetThroughputMode() const { return m_throughputMode; }
52 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
53 inline void SetThroughputMode(ThroughputMode value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
56
58
62 inline int GetProvisionedReadCapacityUnits() const { return m_provisionedReadCapacityUnits; }
63 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
64 inline void SetProvisionedReadCapacityUnits(int value) { m_provisionedReadCapacityUnitsHasBeenSet = true; m_provisionedReadCapacityUnits = value; }
67
69
73 inline int GetProvisionedWriteCapacityUnits() const { return m_provisionedWriteCapacityUnits; }
74 inline bool ProvisionedWriteCapacityUnitsHasBeenSet() const { return m_provisionedWriteCapacityUnitsHasBeenSet; }
75 inline void SetProvisionedWriteCapacityUnits(int value) { m_provisionedWriteCapacityUnitsHasBeenSet = true; m_provisionedWriteCapacityUnits = value; }
78 private:
79
81 bool m_throughputModeHasBeenSet = false;
82
83 int m_provisionedReadCapacityUnits{0};
84 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
85
86 int m_provisionedWriteCapacityUnits{0};
87 bool m_provisionedWriteCapacityUnitsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace SageMaker
92} // 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