AWS SDK for C++  1.9.158
AWS SDK for C++
FeatureValue.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMakerFeatureStoreRuntime
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetFeatureName() const{ return m_featureName; }
44 
48  inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; }
49 
53  inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; }
54 
58  inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); }
59 
63  inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); }
64 
68  inline FeatureValue& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;}
69 
73  inline FeatureValue& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;}
74 
78  inline FeatureValue& WithFeatureName(const char* value) { SetFeatureName(value); return *this;}
79 
80 
86  inline const Aws::String& GetValueAsString() const{ return m_valueAsString; }
87 
93  inline bool ValueAsStringHasBeenSet() const { return m_valueAsStringHasBeenSet; }
94 
100  inline void SetValueAsString(const Aws::String& value) { m_valueAsStringHasBeenSet = true; m_valueAsString = value; }
101 
107  inline void SetValueAsString(Aws::String&& value) { m_valueAsStringHasBeenSet = true; m_valueAsString = std::move(value); }
108 
114  inline void SetValueAsString(const char* value) { m_valueAsStringHasBeenSet = true; m_valueAsString.assign(value); }
115 
121  inline FeatureValue& WithValueAsString(const Aws::String& value) { SetValueAsString(value); return *this;}
122 
128  inline FeatureValue& WithValueAsString(Aws::String&& value) { SetValueAsString(std::move(value)); return *this;}
129 
135  inline FeatureValue& WithValueAsString(const char* value) { SetValueAsString(value); return *this;}
136 
137  private:
138 
139  Aws::String m_featureName;
140  bool m_featureNameHasBeenSet;
141 
142  Aws::String m_valueAsString;
143  bool m_valueAsStringHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace SageMakerFeatureStoreRuntime
148 } // namespace Aws
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::GetValueAsString
const Aws::String & GetValueAsString() const
Definition: FeatureValue.h:86
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::SetFeatureName
void SetFeatureName(const char *value)
Definition: FeatureValue.h:63
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::WithValueAsString
FeatureValue & WithValueAsString(const Aws::String &value)
Definition: FeatureValue.h:121
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::FeatureNameHasBeenSet
bool FeatureNameHasBeenSet() const
Definition: FeatureValue.h:48
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::GetFeatureName
const Aws::String & GetFeatureName() const
Definition: FeatureValue.h:43
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::WithFeatureName
FeatureValue & WithFeatureName(const Aws::String &value)
Definition: FeatureValue.h:68
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::operator=
FeatureValue & operator=(Aws::Utils::Json::JsonView jsonValue)
SageMakerFeatureStoreRuntime_EXPORTS.h
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::WithFeatureName
FeatureValue & WithFeatureName(Aws::String &&value)
Definition: FeatureValue.h:73
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::SetFeatureName
void SetFeatureName(const Aws::String &value)
Definition: FeatureValue.h:53
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::SetValueAsString
void SetValueAsString(const char *value)
Definition: FeatureValue.h:114
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::WithFeatureName
FeatureValue & WithFeatureName(const char *value)
Definition: FeatureValue.h:78
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::FeatureValue
FeatureValue()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue
Definition: FeatureValue.h:32
AWS_SAGEMAKERFEATURESTORERUNTIME_API
#define AWS_SAGEMAKERFEATURESTORERUNTIME_API
Definition: SageMakerFeatureStoreRuntime_EXPORTS.h:28
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::WithValueAsString
FeatureValue & WithValueAsString(const char *value)
Definition: FeatureValue.h:135
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::SetFeatureName
void SetFeatureName(Aws::String &&value)
Definition: FeatureValue.h:58
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::SetValueAsString
void SetValueAsString(const Aws::String &value)
Definition: FeatureValue.h:100
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::WithValueAsString
FeatureValue & WithValueAsString(Aws::String &&value)
Definition: FeatureValue.h:128
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::ValueAsStringHasBeenSet
bool ValueAsStringHasBeenSet() const
Definition: FeatureValue.h:93
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::FeatureValue
FeatureValue(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMakerFeatureStoreRuntime::Model::FeatureValue::SetValueAsString
void SetValueAsString(Aws::String &&value)
Definition: FeatureValue.h:107