AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateFeatureMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/FeatureParameter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SageMaker {
17namespace Model {
18
22 public:
23 AWS_SAGEMAKER_API UpdateFeatureMetadataRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateFeatureMetadata"; }
30
31 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetFeatureGroupName() const { return m_featureGroupName; }
41 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
42 template <typename FeatureGroupNameT = Aws::String>
43 void SetFeatureGroupName(FeatureGroupNameT&& value) {
44 m_featureGroupNameHasBeenSet = true;
45 m_featureGroupName = std::forward<FeatureGroupNameT>(value);
46 }
47 template <typename FeatureGroupNameT = Aws::String>
49 SetFeatureGroupName(std::forward<FeatureGroupNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetFeatureName() const { return m_featureName; }
59 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
60 template <typename FeatureNameT = Aws::String>
61 void SetFeatureName(FeatureNameT&& value) {
62 m_featureNameHasBeenSet = true;
63 m_featureName = std::forward<FeatureNameT>(value);
64 }
65 template <typename FeatureNameT = Aws::String>
67 SetFeatureName(std::forward<FeatureNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::Vector<FeatureParameter>& GetParameterAdditions() const { return m_parameterAdditions; }
96 inline bool ParameterAdditionsHasBeenSet() const { return m_parameterAdditionsHasBeenSet; }
97 template <typename ParameterAdditionsT = Aws::Vector<FeatureParameter>>
98 void SetParameterAdditions(ParameterAdditionsT&& value) {
99 m_parameterAdditionsHasBeenSet = true;
100 m_parameterAdditions = std::forward<ParameterAdditionsT>(value);
101 }
102 template <typename ParameterAdditionsT = Aws::Vector<FeatureParameter>>
104 SetParameterAdditions(std::forward<ParameterAdditionsT>(value));
105 return *this;
106 }
107 template <typename ParameterAdditionsT = FeatureParameter>
109 m_parameterAdditionsHasBeenSet = true;
110 m_parameterAdditions.emplace_back(std::forward<ParameterAdditionsT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::Vector<Aws::String>& GetParameterRemovals() const { return m_parameterRemovals; }
121 inline bool ParameterRemovalsHasBeenSet() const { return m_parameterRemovalsHasBeenSet; }
122 template <typename ParameterRemovalsT = Aws::Vector<Aws::String>>
123 void SetParameterRemovals(ParameterRemovalsT&& value) {
124 m_parameterRemovalsHasBeenSet = true;
125 m_parameterRemovals = std::forward<ParameterRemovalsT>(value);
126 }
127 template <typename ParameterRemovalsT = Aws::Vector<Aws::String>>
129 SetParameterRemovals(std::forward<ParameterRemovalsT>(value));
130 return *this;
131 }
132 template <typename ParameterRemovalsT = Aws::String>
134 m_parameterRemovalsHasBeenSet = true;
135 m_parameterRemovals.emplace_back(std::forward<ParameterRemovalsT>(value));
136 return *this;
137 }
139 private:
140 Aws::String m_featureGroupName;
141
142 Aws::String m_featureName;
143
144 Aws::String m_description;
145
146 Aws::Vector<FeatureParameter> m_parameterAdditions;
147
148 Aws::Vector<Aws::String> m_parameterRemovals;
149 bool m_featureGroupNameHasBeenSet = false;
150 bool m_featureNameHasBeenSet = false;
151 bool m_descriptionHasBeenSet = false;
152 bool m_parameterAdditionsHasBeenSet = false;
153 bool m_parameterRemovalsHasBeenSet = false;
154};
155
156} // namespace Model
157} // namespace SageMaker
158} // namespace Aws
UpdateFeatureMetadataRequest & WithParameterRemovals(ParameterRemovalsT &&value)
AWS_SAGEMAKER_API UpdateFeatureMetadataRequest()=default
UpdateFeatureMetadataRequest & WithParameterAdditions(ParameterAdditionsT &&value)
const Aws::Vector< Aws::String > & GetParameterRemovals() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFeatureMetadataRequest & AddParameterAdditions(ParameterAdditionsT &&value)
UpdateFeatureMetadataRequest & WithFeatureName(FeatureNameT &&value)
UpdateFeatureMetadataRequest & WithFeatureGroupName(FeatureGroupNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateFeatureMetadataRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< FeatureParameter > & GetParameterAdditions() const
UpdateFeatureMetadataRequest & AddParameterRemovals(ParameterRemovalsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector