AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FeatureDefinition.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/FeatureType.h>
10#include <aws/sagemaker/model/CollectionType.h>
11#include <aws/sagemaker/model/CollectionConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_SAGEMAKER_API FeatureDefinition() = default;
41 AWS_SAGEMAKER_API FeatureDefinition(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
55 inline const Aws::String& GetFeatureName() const { return m_featureName; }
56 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
57 template<typename FeatureNameT = Aws::String>
58 void SetFeatureName(FeatureNameT&& value) { m_featureNameHasBeenSet = true; m_featureName = std::forward<FeatureNameT>(value); }
59 template<typename FeatureNameT = Aws::String>
60 FeatureDefinition& WithFeatureName(FeatureNameT&& value) { SetFeatureName(std::forward<FeatureNameT>(value)); return *this;}
62
64
68 inline FeatureType GetFeatureType() const { return m_featureType; }
69 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
70 inline void SetFeatureType(FeatureType value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
71 inline FeatureDefinition& WithFeatureType(FeatureType value) { SetFeatureType(value); return *this;}
73
75
85 inline CollectionType GetCollectionType() const { return m_collectionType; }
86 inline bool CollectionTypeHasBeenSet() const { return m_collectionTypeHasBeenSet; }
87 inline void SetCollectionType(CollectionType value) { m_collectionTypeHasBeenSet = true; m_collectionType = value; }
90
92
95 inline const CollectionConfig& GetCollectionConfig() const { return m_collectionConfig; }
96 inline bool CollectionConfigHasBeenSet() const { return m_collectionConfigHasBeenSet; }
97 template<typename CollectionConfigT = CollectionConfig>
98 void SetCollectionConfig(CollectionConfigT&& value) { m_collectionConfigHasBeenSet = true; m_collectionConfig = std::forward<CollectionConfigT>(value); }
99 template<typename CollectionConfigT = CollectionConfig>
100 FeatureDefinition& WithCollectionConfig(CollectionConfigT&& value) { SetCollectionConfig(std::forward<CollectionConfigT>(value)); return *this;}
102 private:
103
104 Aws::String m_featureName;
105 bool m_featureNameHasBeenSet = false;
106
107 FeatureType m_featureType{FeatureType::NOT_SET};
108 bool m_featureTypeHasBeenSet = false;
109
110 CollectionType m_collectionType{CollectionType::NOT_SET};
111 bool m_collectionTypeHasBeenSet = false;
112
113 CollectionConfig m_collectionConfig;
114 bool m_collectionConfigHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SageMaker
119} // 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