AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline TransformConfigParameter& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline TransformConfigParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline TransformConfigParameter& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const ParamType& GetType() const{ return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(const ParamType& value) { m_typeHasBeenSet = true; m_type = value; }
65 inline void SetType(ParamType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
66 inline TransformConfigParameter& WithType(const ParamType& value) { SetType(value); return *this;}
67 inline TransformConfigParameter& WithType(ParamType&& value) { SetType(std::move(value)); return *this;}
69
71
75 inline const Aws::String& GetValidationRule() const{ return m_validationRule; }
76 inline bool ValidationRuleHasBeenSet() const { return m_validationRuleHasBeenSet; }
77 inline void SetValidationRule(const Aws::String& value) { m_validationRuleHasBeenSet = true; m_validationRule = value; }
78 inline void SetValidationRule(Aws::String&& value) { m_validationRuleHasBeenSet = true; m_validationRule = std::move(value); }
79 inline void SetValidationRule(const char* value) { m_validationRuleHasBeenSet = true; m_validationRule.assign(value); }
80 inline TransformConfigParameter& WithValidationRule(const Aws::String& value) { SetValidationRule(value); return *this;}
81 inline TransformConfigParameter& WithValidationRule(Aws::String&& value) { SetValidationRule(std::move(value)); return *this;}
82 inline TransformConfigParameter& WithValidationRule(const char* value) { SetValidationRule(value); return *this;}
84
86
90 inline const Aws::String& GetValidationMessage() const{ return m_validationMessage; }
91 inline bool ValidationMessageHasBeenSet() const { return m_validationMessageHasBeenSet; }
92 inline void SetValidationMessage(const Aws::String& value) { m_validationMessageHasBeenSet = true; m_validationMessage = value; }
93 inline void SetValidationMessage(Aws::String&& value) { m_validationMessageHasBeenSet = true; m_validationMessage = std::move(value); }
94 inline void SetValidationMessage(const char* value) { m_validationMessageHasBeenSet = true; m_validationMessage.assign(value); }
96 inline TransformConfigParameter& WithValidationMessage(Aws::String&& value) { SetValidationMessage(std::move(value)); return *this;}
97 inline TransformConfigParameter& WithValidationMessage(const char* value) { SetValidationMessage(value); return *this;}
99
101
105 inline const Aws::Vector<Aws::String>& GetValue() const{ return m_value; }
106 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
107 inline void SetValue(const Aws::Vector<Aws::String>& value) { m_valueHasBeenSet = true; m_value = value; }
108 inline void SetValue(Aws::Vector<Aws::String>&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
109 inline TransformConfigParameter& WithValue(const Aws::Vector<Aws::String>& value) { SetValue(value); return *this;}
110 inline TransformConfigParameter& WithValue(Aws::Vector<Aws::String>&& value) { SetValue(std::move(value)); return *this;}
111 inline TransformConfigParameter& AddValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; }
112 inline TransformConfigParameter& AddValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value.push_back(std::move(value)); return *this; }
113 inline TransformConfigParameter& AddValue(const char* value) { m_valueHasBeenSet = true; m_value.push_back(value); return *this; }
115
117
121 inline const ParamType& GetListType() const{ return m_listType; }
122 inline bool ListTypeHasBeenSet() const { return m_listTypeHasBeenSet; }
123 inline void SetListType(const ParamType& value) { m_listTypeHasBeenSet = true; m_listType = value; }
124 inline void SetListType(ParamType&& value) { m_listTypeHasBeenSet = true; m_listType = std::move(value); }
125 inline TransformConfigParameter& WithListType(const ParamType& value) { SetListType(value); return *this;}
126 inline TransformConfigParameter& WithListType(ParamType&& value) { SetListType(std::move(value)); return *this;}
128
130
134 inline bool GetIsOptional() const{ return m_isOptional; }
135 inline bool IsOptionalHasBeenSet() const { return m_isOptionalHasBeenSet; }
136 inline void SetIsOptional(bool value) { m_isOptionalHasBeenSet = true; m_isOptional = value; }
137 inline TransformConfigParameter& WithIsOptional(bool value) { SetIsOptional(value); return *this;}
139 private:
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 ParamType m_type;
145 bool m_typeHasBeenSet = false;
146
147 Aws::String m_validationRule;
148 bool m_validationRuleHasBeenSet = false;
149
150 Aws::String m_validationMessage;
151 bool m_validationMessageHasBeenSet = false;
152
154 bool m_valueHasBeenSet = false;
155
156 ParamType m_listType;
157 bool m_listTypeHasBeenSet = false;
158
159 bool m_isOptional;
160 bool m_isOptionalHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace Glue
165} // namespace Aws
void SetValue(const Aws::Vector< Aws::String > &value)
TransformConfigParameter & WithValidationMessage(const Aws::String &value)
void SetValidationMessage(const Aws::String &value)
TransformConfigParameter & AddValue(const Aws::String &value)
TransformConfigParameter & WithValidationMessage(const char *value)
TransformConfigParameter & WithListType(ParamType &&value)
TransformConfigParameter & WithType(ParamType &&value)
AWS_GLUE_API TransformConfigParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
TransformConfigParameter & WithName(const char *value)
TransformConfigParameter & AddValue(const char *value)
TransformConfigParameter & WithValidationRule(const Aws::String &value)
TransformConfigParameter & WithValidationRule(const char *value)
const Aws::Vector< Aws::String > & GetValue() const
TransformConfigParameter & WithValue(Aws::Vector< Aws::String > &&value)
TransformConfigParameter & WithType(const ParamType &value)
TransformConfigParameter & AddValue(Aws::String &&value)
TransformConfigParameter & WithName(const Aws::String &value)
TransformConfigParameter & WithIsOptional(bool value)
TransformConfigParameter & WithListType(const ParamType &value)
void SetValue(Aws::Vector< Aws::String > &&value)
TransformConfigParameter & WithValue(const Aws::Vector< Aws::String > &value)
TransformConfigParameter & WithValidationMessage(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API TransformConfigParameter(Aws::Utils::Json::JsonView jsonValue)
TransformConfigParameter & WithName(Aws::String &&value)
TransformConfigParameter & WithValidationRule(Aws::String &&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