AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
FeatureDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/CollectionConfig.h>
10#include <aws/sagemaker/model/CollectionType.h>
11#include <aws/sagemaker/model/FeatureType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
34 public:
35 AWS_SAGEMAKER_API FeatureDefinition() = default;
36 AWS_SAGEMAKER_API FeatureDefinition(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
49 inline const Aws::String& GetFeatureName() const { return m_featureName; }
50 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
51 template <typename FeatureNameT = Aws::String>
52 void SetFeatureName(FeatureNameT&& value) {
53 m_featureNameHasBeenSet = true;
54 m_featureName = std::forward<FeatureNameT>(value);
55 }
56 template <typename FeatureNameT = Aws::String>
57 FeatureDefinition& WithFeatureName(FeatureNameT&& value) {
58 SetFeatureName(std::forward<FeatureNameT>(value));
59 return *this;
60 }
62
64
68 inline FeatureType GetFeatureType() const { return m_featureType; }
69 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
70 inline void SetFeatureType(FeatureType value) {
71 m_featureTypeHasBeenSet = true;
72 m_featureType = value;
73 }
75 SetFeatureType(value);
76 return *this;
77 }
79
81
91 inline CollectionType GetCollectionType() const { return m_collectionType; }
92 inline bool CollectionTypeHasBeenSet() const { return m_collectionTypeHasBeenSet; }
93 inline void SetCollectionType(CollectionType value) {
94 m_collectionTypeHasBeenSet = true;
95 m_collectionType = value;
96 }
98 SetCollectionType(value);
99 return *this;
100 }
102
104
107 inline const CollectionConfig& GetCollectionConfig() const { return m_collectionConfig; }
108 inline bool CollectionConfigHasBeenSet() const { return m_collectionConfigHasBeenSet; }
109 template <typename CollectionConfigT = CollectionConfig>
110 void SetCollectionConfig(CollectionConfigT&& value) {
111 m_collectionConfigHasBeenSet = true;
112 m_collectionConfig = std::forward<CollectionConfigT>(value);
113 }
114 template <typename CollectionConfigT = CollectionConfig>
115 FeatureDefinition& WithCollectionConfig(CollectionConfigT&& value) {
116 SetCollectionConfig(std::forward<CollectionConfigT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_featureName;
122
123 FeatureType m_featureType{FeatureType::NOT_SET};
124
125 CollectionType m_collectionType{CollectionType::NOT_SET};
126
127 CollectionConfig m_collectionConfig;
128 bool m_featureNameHasBeenSet = false;
129 bool m_featureTypeHasBeenSet = false;
130 bool m_collectionTypeHasBeenSet = false;
131 bool m_collectionConfigHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace SageMaker
136} // namespace Aws
AWS_SAGEMAKER_API FeatureDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCollectionType(CollectionType value)
AWS_SAGEMAKER_API FeatureDefinition()=default
const CollectionConfig & GetCollectionConfig() const
FeatureDefinition & WithCollectionConfig(CollectionConfigT &&value)
AWS_SAGEMAKER_API FeatureDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetFeatureName(FeatureNameT &&value)
FeatureDefinition & WithFeatureName(FeatureNameT &&value)
FeatureDefinition & WithFeatureType(FeatureType value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCollectionConfig(CollectionConfigT &&value)
FeatureDefinition & WithCollectionType(CollectionType value)
const Aws::String & GetFeatureName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue