/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

Specifies the parameters in the config file of the dynamic * transform.

See Also:

AWS * API Reference

*/ class TransformConfigParameter { public: AWS_GLUE_API TransformConfigParameter(); AWS_GLUE_API TransformConfigParameter(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API TransformConfigParameter& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Specifies the name of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithName(const char* value) { SetName(value); return *this;} /** *

Specifies the parameter type in the config file of the dynamic transform.

*/ inline const ParamType& GetType() const{ return m_type; } /** *

Specifies the parameter type in the config file of the dynamic transform.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Specifies the parameter type in the config file of the dynamic transform.

*/ inline void SetType(const ParamType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Specifies the parameter type in the config file of the dynamic transform.

*/ inline void SetType(ParamType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Specifies the parameter type in the config file of the dynamic transform.

*/ inline TransformConfigParameter& WithType(const ParamType& value) { SetType(value); return *this;} /** *

Specifies the parameter type in the config file of the dynamic transform.

*/ inline TransformConfigParameter& WithType(ParamType&& value) { SetType(std::move(value)); return *this;} /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline const Aws::String& GetValidationRule() const{ return m_validationRule; } /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline bool ValidationRuleHasBeenSet() const { return m_validationRuleHasBeenSet; } /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline void SetValidationRule(const Aws::String& value) { m_validationRuleHasBeenSet = true; m_validationRule = value; } /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline void SetValidationRule(Aws::String&& value) { m_validationRuleHasBeenSet = true; m_validationRule = std::move(value); } /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline void SetValidationRule(const char* value) { m_validationRuleHasBeenSet = true; m_validationRule.assign(value); } /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValidationRule(const Aws::String& value) { SetValidationRule(value); return *this;} /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValidationRule(Aws::String&& value) { SetValidationRule(std::move(value)); return *this;} /** *

Specifies the validation rule in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValidationRule(const char* value) { SetValidationRule(value); return *this;} /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline const Aws::String& GetValidationMessage() const{ return m_validationMessage; } /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline bool ValidationMessageHasBeenSet() const { return m_validationMessageHasBeenSet; } /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline void SetValidationMessage(const Aws::String& value) { m_validationMessageHasBeenSet = true; m_validationMessage = value; } /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline void SetValidationMessage(Aws::String&& value) { m_validationMessageHasBeenSet = true; m_validationMessage = std::move(value); } /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline void SetValidationMessage(const char* value) { m_validationMessageHasBeenSet = true; m_validationMessage.assign(value); } /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValidationMessage(const Aws::String& value) { SetValidationMessage(value); return *this;} /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValidationMessage(Aws::String&& value) { SetValidationMessage(std::move(value)); return *this;} /** *

Specifies the validation message in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValidationMessage(const char* value) { SetValidationMessage(value); return *this;} /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline const Aws::Vector& GetValue() const{ return m_value; } /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline void SetValue(const Aws::Vector& value) { m_valueHasBeenSet = true; m_value = value; } /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline void SetValue(Aws::Vector&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValue(const Aws::Vector& value) { SetValue(value); return *this;} /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithValue(Aws::Vector&& value) { SetValue(std::move(value)); return *this;} /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& AddValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; } /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& AddValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value.push_back(std::move(value)); return *this; } /** *

Specifies the value of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& AddValue(const char* value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; } /** *

Specifies the list type of the parameter in the config file of the dynamic * transform.

*/ inline const ParamType& GetListType() const{ return m_listType; } /** *

Specifies the list type of the parameter in the config file of the dynamic * transform.

*/ inline bool ListTypeHasBeenSet() const { return m_listTypeHasBeenSet; } /** *

Specifies the list type of the parameter in the config file of the dynamic * transform.

*/ inline void SetListType(const ParamType& value) { m_listTypeHasBeenSet = true; m_listType = value; } /** *

Specifies the list type of the parameter in the config file of the dynamic * transform.

*/ inline void SetListType(ParamType&& value) { m_listTypeHasBeenSet = true; m_listType = std::move(value); } /** *

Specifies the list type of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithListType(const ParamType& value) { SetListType(value); return *this;} /** *

Specifies the list type of the parameter in the config file of the dynamic * transform.

*/ inline TransformConfigParameter& WithListType(ParamType&& value) { SetListType(std::move(value)); return *this;} /** *

Specifies whether the parameter is optional or not in the config file of the * dynamic transform.

*/ inline bool GetIsOptional() const{ return m_isOptional; } /** *

Specifies whether the parameter is optional or not in the config file of the * dynamic transform.

*/ inline bool IsOptionalHasBeenSet() const { return m_isOptionalHasBeenSet; } /** *

Specifies whether the parameter is optional or not in the config file of the * dynamic transform.

*/ inline void SetIsOptional(bool value) { m_isOptionalHasBeenSet = true; m_isOptional = value; } /** *

Specifies whether the parameter is optional or not in the config file of the * dynamic transform.

*/ inline TransformConfigParameter& WithIsOptional(bool value) { SetIsOptional(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; ParamType m_type; bool m_typeHasBeenSet = false; Aws::String m_validationRule; bool m_validationRuleHasBeenSet = false; Aws::String m_validationMessage; bool m_validationMessageHasBeenSet = false; Aws::Vector m_value; bool m_valueHasBeenSet = false; ParamType m_listType; bool m_listTypeHasBeenSet = false; bool m_isOptional; bool m_isOptionalHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws