AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; }
52 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
53 inline void SetThroughputMode(const ThroughputMode& value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
54 inline void SetThroughputMode(ThroughputMode&& value) { m_throughputModeHasBeenSet = true; m_throughputMode = std::move(value); }
55 inline ThroughputConfigUpdate& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;}
56 inline ThroughputConfigUpdate& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;}
58
60
64 inline int GetProvisionedReadCapacityUnits() const{ return m_provisionedReadCapacityUnits; }
65 inline bool ProvisionedReadCapacityUnitsHasBeenSet() const { return m_provisionedReadCapacityUnitsHasBeenSet; }
66 inline void SetProvisionedReadCapacityUnits(int value) { m_provisionedReadCapacityUnitsHasBeenSet = true; m_provisionedReadCapacityUnits = value; }
69
71
75 inline int GetProvisionedWriteCapacityUnits() const{ return m_provisionedWriteCapacityUnits; }
76 inline bool ProvisionedWriteCapacityUnitsHasBeenSet() const { return m_provisionedWriteCapacityUnitsHasBeenSet; }
77 inline void SetProvisionedWriteCapacityUnits(int value) { m_provisionedWriteCapacityUnitsHasBeenSet = true; m_provisionedWriteCapacityUnits = value; }
80 private:
81
82 ThroughputMode m_throughputMode;
83 bool m_throughputModeHasBeenSet = false;
84
85 int m_provisionedReadCapacityUnits;
86 bool m_provisionedReadCapacityUnitsHasBeenSet = false;
87
88 int m_provisionedWriteCapacityUnits;
89 bool m_provisionedWriteCapacityUnitsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
ThroughputConfigUpdate & WithThroughputMode(ThroughputMode &&value)
AWS_SAGEMAKER_API ThroughputConfigUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ThroughputConfigUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ThroughputConfigUpdate & WithThroughputMode(const ThroughputMode &value)
void SetThroughputMode(const ThroughputMode &value)
ThroughputConfigUpdate & WithProvisionedReadCapacityUnits(int value)
ThroughputConfigUpdate & WithProvisionedWriteCapacityUnits(int value)
Aws::Utils::Json::JsonValue JsonValue