AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFeatureMetadataRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/FeatureParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SageMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SAGEMAKER_API UpdateFeatureMetadataRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFeatureMetadata"; }
33
34 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; }
45 inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
46 inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; }
47 inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); }
48 inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); }
50 inline UpdateFeatureMetadataRequest& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;}
51 inline UpdateFeatureMetadataRequest& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;}
53
55
58 inline const Aws::String& GetFeatureName() const{ return m_featureName; }
59 inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
60 inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
61 inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
62 inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
63 inline UpdateFeatureMetadataRequest& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
64 inline UpdateFeatureMetadataRequest& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
65 inline UpdateFeatureMetadataRequest& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline UpdateFeatureMetadataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline UpdateFeatureMetadataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline UpdateFeatureMetadataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
87 inline const Aws::Vector<FeatureParameter>& GetParameterAdditions() const{ return m_parameterAdditions; }
88 inline bool ParameterAdditionsHasBeenSet() const { return m_parameterAdditionsHasBeenSet; }
89 inline void SetParameterAdditions(const Aws::Vector<FeatureParameter>& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions = value; }
90 inline void SetParameterAdditions(Aws::Vector<FeatureParameter>&& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions = std::move(value); }
93 inline UpdateFeatureMetadataRequest& AddParameterAdditions(const FeatureParameter& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions.push_back(value); return *this; }
94 inline UpdateFeatureMetadataRequest& AddParameterAdditions(FeatureParameter&& value) { m_parameterAdditionsHasBeenSet = true; m_parameterAdditions.push_back(std::move(value)); return *this; }
96
98
102 inline const Aws::Vector<Aws::String>& GetParameterRemovals() const{ return m_parameterRemovals; }
103 inline bool ParameterRemovalsHasBeenSet() const { return m_parameterRemovalsHasBeenSet; }
104 inline void SetParameterRemovals(const Aws::Vector<Aws::String>& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals = value; }
105 inline void SetParameterRemovals(Aws::Vector<Aws::String>&& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals = std::move(value); }
108 inline UpdateFeatureMetadataRequest& AddParameterRemovals(const Aws::String& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals.push_back(value); return *this; }
109 inline UpdateFeatureMetadataRequest& AddParameterRemovals(Aws::String&& value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals.push_back(std::move(value)); return *this; }
110 inline UpdateFeatureMetadataRequest& AddParameterRemovals(const char* value) { m_parameterRemovalsHasBeenSet = true; m_parameterRemovals.push_back(value); return *this; }
112 private:
113
114 Aws::String m_featureGroupName;
115 bool m_featureGroupNameHasBeenSet = false;
116
117 Aws::String m_featureName;
118 bool m_featureNameHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::Vector<FeatureParameter> m_parameterAdditions;
124 bool m_parameterAdditionsHasBeenSet = false;
125
126 Aws::Vector<Aws::String> m_parameterRemovals;
127 bool m_parameterRemovalsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SageMaker
132} // namespace Aws
UpdateFeatureMetadataRequest & WithParameterRemovals(Aws::Vector< Aws::String > &&value)
UpdateFeatureMetadataRequest & WithFeatureGroupName(Aws::String &&value)
UpdateFeatureMetadataRequest & AddParameterAdditions(const FeatureParameter &value)
UpdateFeatureMetadataRequest & WithDescription(Aws::String &&value)
UpdateFeatureMetadataRequest & WithFeatureName(Aws::String &&value)
UpdateFeatureMetadataRequest & AddParameterRemovals(Aws::String &&value)
UpdateFeatureMetadataRequest & WithFeatureGroupName(const char *value)
const Aws::Vector< Aws::String > & GetParameterRemovals() const
UpdateFeatureMetadataRequest & AddParameterRemovals(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFeatureMetadataRequest & WithParameterAdditions(Aws::Vector< FeatureParameter > &&value)
UpdateFeatureMetadataRequest & WithParameterAdditions(const Aws::Vector< FeatureParameter > &value)
UpdateFeatureMetadataRequest & WithDescription(const char *value)
UpdateFeatureMetadataRequest & WithFeatureGroupName(const Aws::String &value)
void SetParameterAdditions(Aws::Vector< FeatureParameter > &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateFeatureMetadataRequest & WithFeatureName(const char *value)
UpdateFeatureMetadataRequest & AddParameterRemovals(const Aws::String &value)
UpdateFeatureMetadataRequest & WithFeatureName(const Aws::String &value)
UpdateFeatureMetadataRequest & WithDescription(const Aws::String &value)
void SetParameterAdditions(const Aws::Vector< FeatureParameter > &value)
UpdateFeatureMetadataRequest & AddParameterAdditions(FeatureParameter &&value)
const Aws::Vector< FeatureParameter > & GetParameterAdditions() const
UpdateFeatureMetadataRequest & WithParameterRemovals(const Aws::Vector< Aws::String > &value)
void SetParameterRemovals(Aws::Vector< Aws::String > &&value)
void SetParameterRemovals(const Aws::Vector< Aws::String > &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