AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
58 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
59 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
60 inline FeatureDefinition& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
61 inline FeatureDefinition& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
62 inline FeatureDefinition& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
64
66
70 inline const FeatureType& GetFeatureType() const{ return m_featureType; }
71 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
72 inline void SetFeatureType(const FeatureType& value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
73 inline void SetFeatureType(FeatureType&& value) { m_featureTypeHasBeenSet = true; m_featureType = std::move(value); }
74 inline FeatureDefinition& WithFeatureType(const FeatureType& value) { SetFeatureType(value); return *this;}
75 inline FeatureDefinition& WithFeatureType(FeatureType&& value) { SetFeatureType(std::move(value)); return *this;}
77
79
89 inline const CollectionType& GetCollectionType() const{ return m_collectionType; }
90 inline bool CollectionTypeHasBeenSet() const { return m_collectionTypeHasBeenSet; }
91 inline void SetCollectionType(const CollectionType& value) { m_collectionTypeHasBeenSet = true; m_collectionType = value; }
92 inline void SetCollectionType(CollectionType&& value) { m_collectionTypeHasBeenSet = true; m_collectionType = std::move(value); }
93 inline FeatureDefinition& WithCollectionType(const CollectionType& value) { SetCollectionType(value); return *this;}
94 inline FeatureDefinition& WithCollectionType(CollectionType&& value) { SetCollectionType(std::move(value)); return *this;}
96
98
101 inline const CollectionConfig& GetCollectionConfig() const{ return m_collectionConfig; }
102 inline bool CollectionConfigHasBeenSet() const { return m_collectionConfigHasBeenSet; }
103 inline void SetCollectionConfig(const CollectionConfig& value) { m_collectionConfigHasBeenSet = true; m_collectionConfig = value; }
104 inline void SetCollectionConfig(CollectionConfig&& value) { m_collectionConfigHasBeenSet = true; m_collectionConfig = std::move(value); }
105 inline FeatureDefinition& WithCollectionConfig(const CollectionConfig& value) { SetCollectionConfig(value); return *this;}
106 inline FeatureDefinition& WithCollectionConfig(CollectionConfig&& value) { SetCollectionConfig(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_featureName;
111 bool m_featureNameHasBeenSet = false;
112
113 FeatureType m_featureType;
114 bool m_featureTypeHasBeenSet = false;
115
116 CollectionType m_collectionType;
117 bool m_collectionTypeHasBeenSet = false;
118
119 CollectionConfig m_collectionConfig;
120 bool m_collectionConfigHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace SageMaker
125} // namespace Aws
AWS_SAGEMAKER_API FeatureDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const CollectionConfig & GetCollectionConfig() const
FeatureDefinition & WithFeatureType(const FeatureType &value)
FeatureDefinition & WithCollectionConfig(CollectionConfig &&value)
AWS_SAGEMAKER_API FeatureDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetCollectionConfig(const CollectionConfig &value)
FeatureDefinition & WithCollectionType(const CollectionType &value)
void SetFeatureType(const FeatureType &value)
void SetCollectionConfig(CollectionConfig &&value)
void SetFeatureName(const Aws::String &value)
FeatureDefinition & WithFeatureName(Aws::String &&value)
void SetCollectionType(const CollectionType &value)
FeatureDefinition & WithFeatureName(const Aws::String &value)
FeatureDefinition & WithFeatureName(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
FeatureDefinition & WithFeatureType(FeatureType &&value)
const FeatureType & GetFeatureType() const
FeatureDefinition & WithCollectionType(CollectionType &&value)
FeatureDefinition & WithCollectionConfig(const CollectionConfig &value)
const Aws::String & GetFeatureName() const
const CollectionType & GetCollectionType() const
void SetCollectionType(CollectionType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue