AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TransformConfigParameter.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/ParamType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API TransformConfigParameter() = default;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline ParamType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(ParamType value) {
63 m_typeHasBeenSet = true;
64 m_type = value;
65 }
67 SetType(value);
68 return *this;
69 }
71
73
77 inline const Aws::String& GetValidationRule() const { return m_validationRule; }
78 inline bool ValidationRuleHasBeenSet() const { return m_validationRuleHasBeenSet; }
79 template <typename ValidationRuleT = Aws::String>
80 void SetValidationRule(ValidationRuleT&& value) {
81 m_validationRuleHasBeenSet = true;
82 m_validationRule = std::forward<ValidationRuleT>(value);
83 }
84 template <typename ValidationRuleT = Aws::String>
85 TransformConfigParameter& WithValidationRule(ValidationRuleT&& value) {
86 SetValidationRule(std::forward<ValidationRuleT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetValidationMessage() const { return m_validationMessage; }
97 inline bool ValidationMessageHasBeenSet() const { return m_validationMessageHasBeenSet; }
98 template <typename ValidationMessageT = Aws::String>
99 void SetValidationMessage(ValidationMessageT&& value) {
100 m_validationMessageHasBeenSet = true;
101 m_validationMessage = std::forward<ValidationMessageT>(value);
102 }
103 template <typename ValidationMessageT = Aws::String>
104 TransformConfigParameter& WithValidationMessage(ValidationMessageT&& value) {
105 SetValidationMessage(std::forward<ValidationMessageT>(value));
106 return *this;
107 }
109
111
115 inline const Aws::Vector<Aws::String>& GetValue() const { return m_value; }
116 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
117 template <typename ValueT = Aws::Vector<Aws::String>>
118 void SetValue(ValueT&& value) {
119 m_valueHasBeenSet = true;
120 m_value = std::forward<ValueT>(value);
121 }
122 template <typename ValueT = Aws::Vector<Aws::String>>
124 SetValue(std::forward<ValueT>(value));
125 return *this;
126 }
127 template <typename ValueT = Aws::String>
129 m_valueHasBeenSet = true;
130 m_value.emplace_back(std::forward<ValueT>(value));
131 return *this;
132 }
134
136
140 inline ParamType GetListType() const { return m_listType; }
141 inline bool ListTypeHasBeenSet() const { return m_listTypeHasBeenSet; }
142 inline void SetListType(ParamType value) {
143 m_listTypeHasBeenSet = true;
144 m_listType = value;
145 }
147 SetListType(value);
148 return *this;
149 }
151
153
157 inline bool GetIsOptional() const { return m_isOptional; }
158 inline bool IsOptionalHasBeenSet() const { return m_isOptionalHasBeenSet; }
159 inline void SetIsOptional(bool value) {
160 m_isOptionalHasBeenSet = true;
161 m_isOptional = value;
162 }
164 SetIsOptional(value);
165 return *this;
166 }
168 private:
169 Aws::String m_name;
170
172
173 Aws::String m_validationRule;
174
175 Aws::String m_validationMessage;
176
178
179 ParamType m_listType{ParamType::NOT_SET};
180
181 bool m_isOptional{false};
182 bool m_nameHasBeenSet = false;
183 bool m_typeHasBeenSet = false;
184 bool m_validationRuleHasBeenSet = false;
185 bool m_validationMessageHasBeenSet = false;
186 bool m_valueHasBeenSet = false;
187 bool m_listTypeHasBeenSet = false;
188 bool m_isOptionalHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace Glue
193} // 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