AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CollectionConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/VectorConfig.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
28 public:
29 AWS_SAGEMAKER_API CollectionConfig() = default;
30 AWS_SAGEMAKER_API CollectionConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
39 inline const VectorConfig& GetVectorConfig() const { return m_vectorConfig; }
40 inline bool VectorConfigHasBeenSet() const { return m_vectorConfigHasBeenSet; }
41 template <typename VectorConfigT = VectorConfig>
42 void SetVectorConfig(VectorConfigT&& value) {
43 m_vectorConfigHasBeenSet = true;
44 m_vectorConfig = std::forward<VectorConfigT>(value);
45 }
46 template <typename VectorConfigT = VectorConfig>
47 CollectionConfig& WithVectorConfig(VectorConfigT&& value) {
48 SetVectorConfig(std::forward<VectorConfigT>(value));
49 return *this;
50 }
52 private:
53 VectorConfig m_vectorConfig;
54 bool m_vectorConfigHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SageMaker
59} // namespace Aws
const VectorConfig & GetVectorConfig() const
void SetVectorConfig(VectorConfigT &&value)
CollectionConfig & WithVectorConfig(VectorConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API CollectionConfig()=default
AWS_SAGEMAKER_API CollectionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API CollectionConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue