AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TransformConfigParameter.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ParamType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GLUE_API TransformConfigParameter() = default;
41
42
44
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 TransformConfigParameter& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline ParamType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(ParamType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline TransformConfigParameter& WithType(ParamType value) { SetType(value); return *this;}
65
67
71 inline const Aws::String& GetValidationRule() const { return m_validationRule; }
72 inline bool ValidationRuleHasBeenSet() const { return m_validationRuleHasBeenSet; }
73 template<typename ValidationRuleT = Aws::String>
74 void SetValidationRule(ValidationRuleT&& value) { m_validationRuleHasBeenSet = true; m_validationRule = std::forward<ValidationRuleT>(value); }
75 template<typename ValidationRuleT = Aws::String>
76 TransformConfigParameter& WithValidationRule(ValidationRuleT&& value) { SetValidationRule(std::forward<ValidationRuleT>(value)); return *this;}
78
80
84 inline const Aws::String& GetValidationMessage() const { return m_validationMessage; }
85 inline bool ValidationMessageHasBeenSet() const { return m_validationMessageHasBeenSet; }
86 template<typename ValidationMessageT = Aws::String>
87 void SetValidationMessage(ValidationMessageT&& value) { m_validationMessageHasBeenSet = true; m_validationMessage = std::forward<ValidationMessageT>(value); }
88 template<typename ValidationMessageT = Aws::String>
89 TransformConfigParameter& WithValidationMessage(ValidationMessageT&& value) { SetValidationMessage(std::forward<ValidationMessageT>(value)); return *this;}
91
93
97 inline const Aws::Vector<Aws::String>& GetValue() const { return m_value; }
98 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
99 template<typename ValueT = Aws::Vector<Aws::String>>
100 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
101 template<typename ValueT = Aws::Vector<Aws::String>>
102 TransformConfigParameter& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
103 template<typename ValueT = Aws::String>
104 TransformConfigParameter& AddValue(ValueT&& value) { m_valueHasBeenSet = true; m_value.emplace_back(std::forward<ValueT>(value)); return *this; }
106
108
112 inline ParamType GetListType() const { return m_listType; }
113 inline bool ListTypeHasBeenSet() const { return m_listTypeHasBeenSet; }
114 inline void SetListType(ParamType value) { m_listTypeHasBeenSet = true; m_listType = value; }
115 inline TransformConfigParameter& WithListType(ParamType value) { SetListType(value); return *this;}
117
119
123 inline bool GetIsOptional() const { return m_isOptional; }
124 inline bool IsOptionalHasBeenSet() const { return m_isOptionalHasBeenSet; }
125 inline void SetIsOptional(bool value) { m_isOptionalHasBeenSet = true; m_isOptional = value; }
126 inline TransformConfigParameter& WithIsOptional(bool value) { SetIsOptional(value); return *this;}
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
134 bool m_typeHasBeenSet = false;
135
136 Aws::String m_validationRule;
137 bool m_validationRuleHasBeenSet = false;
138
139 Aws::String m_validationMessage;
140 bool m_validationMessageHasBeenSet = false;
141
143 bool m_valueHasBeenSet = false;
144
145 ParamType m_listType{ParamType::NOT_SET};
146 bool m_listTypeHasBeenSet = false;
147
148 bool m_isOptional{false};
149 bool m_isOptionalHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Glue
154} // namespace Aws
TransformConfigParameter & WithValidationMessage(ValidationMessageT &&value)
AWS_GLUE_API TransformConfigParameter()=default
TransformConfigParameter & WithValidationRule(ValidationRuleT &&value)
void SetValidationMessage(ValidationMessageT &&value)
AWS_GLUE_API TransformConfigParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
TransformConfigParameter & WithListType(ParamType value)
TransformConfigParameter & WithValue(ValueT &&value)
TransformConfigParameter & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetValue() const
TransformConfigParameter & WithIsOptional(bool value)
TransformConfigParameter & WithType(ParamType value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API TransformConfigParameter(Aws::Utils::Json::JsonView jsonValue)
TransformConfigParameter & AddValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue