AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
FeatureMetadata.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/FeatureParameter.h>
12#include <aws/sagemaker/model/FeatureType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker {
24namespace Model {
25
33 public:
34 AWS_SAGEMAKER_API FeatureMetadata() = default;
35 AWS_SAGEMAKER_API FeatureMetadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetFeatureGroupArn() const { return m_featureGroupArn; }
44 inline bool FeatureGroupArnHasBeenSet() const { return m_featureGroupArnHasBeenSet; }
45 template <typename FeatureGroupArnT = Aws::String>
46 void SetFeatureGroupArn(FeatureGroupArnT&& value) {
47 m_featureGroupArnHasBeenSet = true;
48 m_featureGroupArn = std::forward<FeatureGroupArnT>(value);
49 }
50 template <typename FeatureGroupArnT = Aws::String>
51 FeatureMetadata& WithFeatureGroupArn(FeatureGroupArnT&& value) {
52 SetFeatureGroupArn(std::forward<FeatureGroupArnT>(value));
53 return *this;
54 }
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) {
65 m_featureGroupNameHasBeenSet = true;
66 m_featureGroupName = std::forward<FeatureGroupNameT>(value);
67 }
68 template <typename FeatureGroupNameT = Aws::String>
69 FeatureMetadata& WithFeatureGroupName(FeatureGroupNameT&& value) {
70 SetFeatureGroupName(std::forward<FeatureGroupNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetFeatureName() const { return m_featureName; }
80 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
81 template <typename FeatureNameT = Aws::String>
82 void SetFeatureName(FeatureNameT&& value) {
83 m_featureNameHasBeenSet = true;
84 m_featureName = std::forward<FeatureNameT>(value);
85 }
86 template <typename FeatureNameT = Aws::String>
87 FeatureMetadata& WithFeatureName(FeatureNameT&& value) {
88 SetFeatureName(std::forward<FeatureNameT>(value));
89 return *this;
90 }
92
94
97 inline FeatureType GetFeatureType() const { return m_featureType; }
98 inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
99 inline void SetFeatureType(FeatureType value) {
100 m_featureTypeHasBeenSet = true;
101 m_featureType = value;
102 }
104 SetFeatureType(value);
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
114 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
115 template <typename CreationTimeT = Aws::Utils::DateTime>
116 void SetCreationTime(CreationTimeT&& value) {
117 m_creationTimeHasBeenSet = true;
118 m_creationTime = std::forward<CreationTimeT>(value);
119 }
120 template <typename CreationTimeT = Aws::Utils::DateTime>
121 FeatureMetadata& WithCreationTime(CreationTimeT&& value) {
122 SetCreationTime(std::forward<CreationTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
132 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
133 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
134 void SetLastModifiedTime(LastModifiedTimeT&& value) {
135 m_lastModifiedTimeHasBeenSet = true;
136 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
137 }
138 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
139 FeatureMetadata& WithLastModifiedTime(LastModifiedTimeT&& value) {
140 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetDescription() const { return m_description; }
150 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
151 template <typename DescriptionT = Aws::String>
152 void SetDescription(DescriptionT&& value) {
153 m_descriptionHasBeenSet = true;
154 m_description = std::forward<DescriptionT>(value);
155 }
156 template <typename DescriptionT = Aws::String>
157 FeatureMetadata& WithDescription(DescriptionT&& value) {
158 SetDescription(std::forward<DescriptionT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Vector<FeatureParameter>& GetParameters() const { return m_parameters; }
168 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
169 template <typename ParametersT = Aws::Vector<FeatureParameter>>
170 void SetParameters(ParametersT&& value) {
171 m_parametersHasBeenSet = true;
172 m_parameters = std::forward<ParametersT>(value);
173 }
174 template <typename ParametersT = Aws::Vector<FeatureParameter>>
175 FeatureMetadata& WithParameters(ParametersT&& value) {
176 SetParameters(std::forward<ParametersT>(value));
177 return *this;
178 }
179 template <typename ParametersT = FeatureParameter>
180 FeatureMetadata& AddParameters(ParametersT&& value) {
181 m_parametersHasBeenSet = true;
182 m_parameters.emplace_back(std::forward<ParametersT>(value));
183 return *this;
184 }
186 private:
187 Aws::String m_featureGroupArn;
188
189 Aws::String m_featureGroupName;
190
191 Aws::String m_featureName;
192
193 FeatureType m_featureType{FeatureType::NOT_SET};
194
195 Aws::Utils::DateTime m_creationTime{};
196
197 Aws::Utils::DateTime m_lastModifiedTime{};
198
199 Aws::String m_description;
200
202 bool m_featureGroupArnHasBeenSet = false;
203 bool m_featureGroupNameHasBeenSet = false;
204 bool m_featureNameHasBeenSet = false;
205 bool m_featureTypeHasBeenSet = false;
206 bool m_creationTimeHasBeenSet = false;
207 bool m_lastModifiedTimeHasBeenSet = false;
208 bool m_descriptionHasBeenSet = false;
209 bool m_parametersHasBeenSet = false;
210};
211
212} // namespace Model
213} // namespace SageMaker
214} // 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