AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FeatureMetadata.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/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/FeatureParameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API FeatureMetadata() = default;
40 AWS_SAGEMAKER_API FeatureMetadata(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetFeatureGroupArn() const { return m_featureGroupArn; }
50 inline bool FeatureGroupArnHasBeenSet() const { return m_featureGroupArnHasBeenSet; }
51 template<typename FeatureGroupArnT = Aws::String>
52 void SetFeatureGroupArn(FeatureGroupArnT&& value) { m_featureGroupArnHasBeenSet = true; m_featureGroupArn = std::forward<FeatureGroupArnT>(value); }
53 template<typename FeatureGroupArnT = Aws::String>
54 FeatureMetadata& WithFeatureGroupArn(FeatureGroupArnT&& value) { SetFeatureGroupArn(std::forward<FeatureGroupArnT>(value)); return *this;}
56
58
61 inline const Aws::String& GetFeatureGroupName() const { return m_featureGroupName; }
62 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
63 template<typename FeatureGroupNameT = Aws::String>
64 void SetFeatureGroupName(FeatureGroupNameT&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::forward<FeatureGroupNameT>(value); }
65 template<typename FeatureGroupNameT = Aws::String>
66 FeatureMetadata& WithFeatureGroupName(FeatureGroupNameT&& value) { SetFeatureGroupName(std::forward<FeatureGroupNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetFeatureName() const { return m_featureName; }
74 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
75 template<typename FeatureNameT = Aws::String>
76 void SetFeatureName(FeatureNameT&& value) { m_featureNameHasBeenSet = true; m_featureName = std::forward<FeatureNameT>(value); }
77 template<typename FeatureNameT = Aws::String>
78 FeatureMetadata& WithFeatureName(FeatureNameT&& value) { SetFeatureName(std::forward<FeatureNameT>(value)); return *this;}
80
82
85 inline FeatureType GetFeatureType() const { return m_featureType; }
86 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
87 inline void SetFeatureType(FeatureType value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
88 inline FeatureMetadata& WithFeatureType(FeatureType value) { SetFeatureType(value); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template<typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
99 template<typename CreationTimeT = Aws::Utils::DateTime>
100 FeatureMetadata& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
108 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
109 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
110 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
111 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
112 FeatureMetadata& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
114
116
119 inline const Aws::String& GetDescription() const { return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 template<typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
123 template<typename DescriptionT = Aws::String>
124 FeatureMetadata& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
126
128
131 inline const Aws::Vector<FeatureParameter>& GetParameters() const { return m_parameters; }
132 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
133 template<typename ParametersT = Aws::Vector<FeatureParameter>>
134 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
135 template<typename ParametersT = Aws::Vector<FeatureParameter>>
136 FeatureMetadata& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
137 template<typename ParametersT = FeatureParameter>
138 FeatureMetadata& AddParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters.emplace_back(std::forward<ParametersT>(value)); return *this; }
140 private:
141
142 Aws::String m_featureGroupArn;
143 bool m_featureGroupArnHasBeenSet = false;
144
145 Aws::String m_featureGroupName;
146 bool m_featureGroupNameHasBeenSet = false;
147
148 Aws::String m_featureName;
149 bool m_featureNameHasBeenSet = false;
150
151 FeatureType m_featureType{FeatureType::NOT_SET};
152 bool m_featureTypeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationTime{};
155 bool m_creationTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastModifiedTime{};
158 bool m_lastModifiedTimeHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
164 bool m_parametersHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace SageMaker
169} // namespace Aws
AWS_SAGEMAKER_API FeatureMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
FeatureMetadata & WithLastModifiedTime(LastModifiedTimeT &&value)
FeatureMetadata & WithFeatureGroupArn(FeatureGroupArnT &&value)
void SetFeatureGroupName(FeatureGroupNameT &&value)
FeatureMetadata & WithDescription(DescriptionT &&value)
const Aws::String & GetFeatureName() const
const Aws::String & GetFeatureGroupName() const
FeatureMetadata & WithFeatureName(FeatureNameT &&value)
FeatureMetadata & AddParameters(ParametersT &&value)
void SetFeatureName(FeatureNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
FeatureMetadata & WithFeatureType(FeatureType value)
FeatureMetadata & WithParameters(ParametersT &&value)
FeatureMetadata & WithCreationTime(CreationTimeT &&value)
const Aws::Vector< FeatureParameter > & GetParameters() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API FeatureMetadata()=default
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetFeatureGroupArn() const
void SetFeatureGroupArn(FeatureGroupArnT &&value)
void SetDescription(DescriptionT &&value)
void SetParameters(ParametersT &&value)
FeatureMetadata & WithFeatureGroupName(FeatureGroupNameT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetDescription() const
AWS_SAGEMAKER_API FeatureMetadata(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue