AWS SDK for C++  1.9.154
AWS SDK for C++
FeatureDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
49  inline const Aws::String& GetFeatureName() const{ return m_featureName; }
50 
56  inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
57 
63  inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
64 
70  inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
71 
77  inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
78 
84  inline FeatureDefinition& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
85 
91  inline FeatureDefinition& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
92 
98  inline FeatureDefinition& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
99 
100 
105  inline const FeatureType& GetFeatureType() const{ return m_featureType; }
106 
111  inline bool FeatureTypeHasBeenSet() const { return m_featureTypeHasBeenSet; }
112 
117  inline void SetFeatureType(const FeatureType& value) { m_featureTypeHasBeenSet = true; m_featureType = value; }
118 
123  inline void SetFeatureType(FeatureType&& value) { m_featureTypeHasBeenSet = true; m_featureType = std::move(value); }
124 
129  inline FeatureDefinition& WithFeatureType(const FeatureType& value) { SetFeatureType(value); return *this;}
130 
135  inline FeatureDefinition& WithFeatureType(FeatureType&& value) { SetFeatureType(std::move(value)); return *this;}
136 
137  private:
138 
139  Aws::String m_featureName;
140  bool m_featureNameHasBeenSet;
141 
142  FeatureType m_featureType;
143  bool m_featureTypeHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace SageMaker
148 } // namespace Aws
Aws::SageMaker::Model::FeatureDefinition::SetFeatureName
void SetFeatureName(const char *value)
Definition: FeatureDefinition.h:77
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::FeatureDefinition::SetFeatureType
void SetFeatureType(FeatureType &&value)
Definition: FeatureDefinition.h:123
Aws::SageMaker::Model::FeatureType
FeatureType
Definition: FeatureType.h:17
Aws::SageMaker::Model::FeatureDefinition::SetFeatureName
void SetFeatureName(Aws::String &&value)
Definition: FeatureDefinition.h:70
Aws::SageMaker::Model::FeatureDefinition::WithFeatureName
FeatureDefinition & WithFeatureName(const Aws::String &value)
Definition: FeatureDefinition.h:84
Aws::SageMaker::Model::FeatureDefinition::FeatureNameHasBeenSet
bool FeatureNameHasBeenSet() const
Definition: FeatureDefinition.h:56
Aws::SageMaker::Model::FeatureDefinition::SetFeatureName
void SetFeatureName(const Aws::String &value)
Definition: FeatureDefinition.h:63
Aws::SageMaker::Model::FeatureDefinition::operator=
FeatureDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::FeatureDefinition::WithFeatureName
FeatureDefinition & WithFeatureName(const char *value)
Definition: FeatureDefinition.h:98
Aws::SageMaker::Model::FeatureDefinition::GetFeatureType
const FeatureType & GetFeatureType() const
Definition: FeatureDefinition.h:105
FeatureType.h
Aws::SageMaker::Model::FeatureDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::FeatureDefinition::FeatureTypeHasBeenSet
bool FeatureTypeHasBeenSet() const
Definition: FeatureDefinition.h:111
Aws::SageMaker::Model::FeatureDefinition::FeatureDefinition
FeatureDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::FeatureDefinition::FeatureDefinition
FeatureDefinition()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::FeatureDefinition::GetFeatureName
const Aws::String & GetFeatureName() const
Definition: FeatureDefinition.h:49
Aws::SageMaker::Model::FeatureDefinition::WithFeatureType
FeatureDefinition & WithFeatureType(FeatureType &&value)
Definition: FeatureDefinition.h:135
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::FeatureDefinition::WithFeatureName
FeatureDefinition & WithFeatureName(Aws::String &&value)
Definition: FeatureDefinition.h:91
Aws::SageMaker::Model::FeatureDefinition::SetFeatureType
void SetFeatureType(const FeatureType &value)
Definition: FeatureDefinition.h:117
Aws::SageMaker::Model::FeatureDefinition::WithFeatureType
FeatureDefinition & WithFeatureType(const FeatureType &value)
Definition: FeatureDefinition.h:129
Aws::SageMaker::Model::FeatureDefinition
Definition: FeatureDefinition.h:36