/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The value associated with a feature.See Also:
AWS
* API Reference
The name of a feature that a feature value corresponds to.
*/ inline const Aws::String& GetFeatureName() const{ return m_featureName; } /** *The name of a feature that a feature value corresponds to.
*/ inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; } /** *The name of a feature that a feature value corresponds to.
*/ inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; } /** *The name of a feature that a feature value corresponds to.
*/ inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); } /** *The name of a feature that a feature value corresponds to.
*/ inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); } /** *The name of a feature that a feature value corresponds to.
*/ inline FeatureValue& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;} /** *The name of a feature that a feature value corresponds to.
*/ inline FeatureValue& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;} /** *The name of a feature that a feature value corresponds to.
*/ inline FeatureValue& WithFeatureName(const char* value) { SetFeatureName(value); return *this;} /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline const Aws::String& GetValueAsString() const{ return m_valueAsString; } /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline bool ValueAsStringHasBeenSet() const { return m_valueAsStringHasBeenSet; } /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline void SetValueAsString(const Aws::String& value) { m_valueAsStringHasBeenSet = true; m_valueAsString = value; } /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline void SetValueAsString(Aws::String&& value) { m_valueAsStringHasBeenSet = true; m_valueAsString = std::move(value); } /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline void SetValueAsString(const char* value) { m_valueAsStringHasBeenSet = true; m_valueAsString.assign(value); } /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline FeatureValue& WithValueAsString(const Aws::String& value) { SetValueAsString(value); return *this;} /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline FeatureValue& WithValueAsString(Aws::String&& value) { SetValueAsString(std::move(value)); return *this;} /** *The value associated with a feature, in string format. Note that features * types can be String, Integral, or Fractional. This value represents all three * types as a string.
*/ inline FeatureValue& WithValueAsString(const char* value) { SetValueAsString(value); return *this;} private: Aws::String m_featureName; bool m_featureNameHasBeenSet = false; Aws::String m_valueAsString; bool m_valueAsStringHasBeenSet = false; }; } // namespace Model } // namespace SageMakerFeatureStoreRuntime } // namespace Aws