AWS SDK for C++  1.9.158
AWS SDK for C++
VariantProperty.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 SageMaker
22 {
23 namespace Model
24 {
25 
37  {
38  public:
43 
44 
55  inline const VariantPropertyType& GetVariantPropertyType() const{ return m_variantPropertyType; }
56 
67  inline bool VariantPropertyTypeHasBeenSet() const { return m_variantPropertyTypeHasBeenSet; }
68 
79  inline void SetVariantPropertyType(const VariantPropertyType& value) { m_variantPropertyTypeHasBeenSet = true; m_variantPropertyType = value; }
80 
91  inline void SetVariantPropertyType(VariantPropertyType&& value) { m_variantPropertyTypeHasBeenSet = true; m_variantPropertyType = std::move(value); }
92 
103  inline VariantProperty& WithVariantPropertyType(const VariantPropertyType& value) { SetVariantPropertyType(value); return *this;}
104 
115  inline VariantProperty& WithVariantPropertyType(VariantPropertyType&& value) { SetVariantPropertyType(std::move(value)); return *this;}
116 
117  private:
118 
119  VariantPropertyType m_variantPropertyType;
120  bool m_variantPropertyTypeHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace SageMaker
125 } // namespace Aws
Aws::SageMaker::Model::VariantProperty::VariantProperty
VariantProperty()
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::VariantPropertyType
VariantPropertyType
Definition: VariantPropertyType.h:17
SageMaker_EXPORTS.h
Aws::SageMaker::Model::VariantProperty::VariantProperty
VariantProperty(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::VariantProperty::GetVariantPropertyType
const VariantPropertyType & GetVariantPropertyType() const
Definition: VariantProperty.h:55
Aws::SageMaker::Model::VariantProperty::VariantPropertyTypeHasBeenSet
bool VariantPropertyTypeHasBeenSet() const
Definition: VariantProperty.h:67
Aws::SageMaker::Model::VariantProperty::SetVariantPropertyType
void SetVariantPropertyType(VariantPropertyType &&value)
Definition: VariantProperty.h:91
Aws::SageMaker::Model::VariantProperty
Definition: VariantProperty.h:37
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::VariantProperty::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::VariantProperty::SetVariantPropertyType
void SetVariantPropertyType(const VariantPropertyType &value)
Definition: VariantProperty.h:79
VariantPropertyType.h
Aws::SageMaker::Model::VariantProperty::WithVariantPropertyType
VariantProperty & WithVariantPropertyType(VariantPropertyType &&value)
Definition: VariantProperty.h:115
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::VariantProperty::operator=
VariantProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::VariantProperty::WithVariantPropertyType
VariantProperty & WithVariantPropertyType(const VariantPropertyType &value)
Definition: VariantProperty.h:103