AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VectorConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
25 public:
26 AWS_SAGEMAKER_API VectorConfig() = default;
27 AWS_SAGEMAKER_API VectorConfig(Aws::Utils::Json::JsonView jsonValue);
28 AWS_SAGEMAKER_API VectorConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetDimension() const { return m_dimension; }
36 inline bool DimensionHasBeenSet() const { return m_dimensionHasBeenSet; }
37 inline void SetDimension(int value) {
38 m_dimensionHasBeenSet = true;
39 m_dimension = value;
40 }
41 inline VectorConfig& WithDimension(int value) {
42 SetDimension(value);
43 return *this;
44 }
46 private:
47 int m_dimension{0};
48 bool m_dimensionHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace SageMaker
53} // namespace Aws
AWS_SAGEMAKER_API VectorConfig()=default
AWS_SAGEMAKER_API VectorConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API VectorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
VectorConfig & WithDimension(int value)
Aws::Utils::Json::JsonValue JsonValue