AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
SchemaInputAttribute.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9#include <aws/entityresolution/model/SchemaAttributeType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EntityResolution {
21namespace Model {
22
31 public:
32 AWS_ENTITYRESOLUTION_API SchemaInputAttribute() = default;
33 AWS_ENTITYRESOLUTION_API SchemaInputAttribute(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API SchemaInputAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetFieldName() const { return m_fieldName; }
42 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
43 template <typename FieldNameT = Aws::String>
44 void SetFieldName(FieldNameT&& value) {
45 m_fieldNameHasBeenSet = true;
46 m_fieldName = std::forward<FieldNameT>(value);
47 }
48 template <typename FieldNameT = Aws::String>
49 SchemaInputAttribute& WithFieldName(FieldNameT&& value) {
50 SetFieldName(std::forward<FieldNameT>(value));
51 return *this;
52 }
54
56
86 inline SchemaAttributeType GetType() const { return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(SchemaAttributeType value) {
89 m_typeHasBeenSet = true;
90 m_type = value;
91 }
93 SetType(value);
94 return *this;
95 }
97
99
106 inline const Aws::String& GetGroupName() const { return m_groupName; }
107 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
108 template <typename GroupNameT = Aws::String>
109 void SetGroupName(GroupNameT&& value) {
110 m_groupNameHasBeenSet = true;
111 m_groupName = std::forward<GroupNameT>(value);
112 }
113 template <typename GroupNameT = Aws::String>
114 SchemaInputAttribute& WithGroupName(GroupNameT&& value) {
115 SetGroupName(std::forward<GroupNameT>(value));
116 return *this;
117 }
119
121
131 inline const Aws::String& GetMatchKey() const { return m_matchKey; }
132 inline bool MatchKeyHasBeenSet() const { return m_matchKeyHasBeenSet; }
133 template <typename MatchKeyT = Aws::String>
134 void SetMatchKey(MatchKeyT&& value) {
135 m_matchKeyHasBeenSet = true;
136 m_matchKey = std::forward<MatchKeyT>(value);
137 }
138 template <typename MatchKeyT = Aws::String>
139 SchemaInputAttribute& WithMatchKey(MatchKeyT&& value) {
140 SetMatchKey(std::forward<MatchKeyT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetSubType() const { return m_subType; }
150 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
151 template <typename SubTypeT = Aws::String>
152 void SetSubType(SubTypeT&& value) {
153 m_subTypeHasBeenSet = true;
154 m_subType = std::forward<SubTypeT>(value);
155 }
156 template <typename SubTypeT = Aws::String>
158 SetSubType(std::forward<SubTypeT>(value));
159 return *this;
160 }
162
164
169 inline bool GetHashed() const { return m_hashed; }
170 inline bool HashedHasBeenSet() const { return m_hashedHasBeenSet; }
171 inline void SetHashed(bool value) {
172 m_hashedHasBeenSet = true;
173 m_hashed = value;
174 }
175 inline SchemaInputAttribute& WithHashed(bool value) {
176 SetHashed(value);
177 return *this;
178 }
180 private:
181 Aws::String m_fieldName;
182
184
185 Aws::String m_groupName;
186
187 Aws::String m_matchKey;
188
189 Aws::String m_subType;
190
191 bool m_hashed{false};
192 bool m_fieldNameHasBeenSet = false;
193 bool m_typeHasBeenSet = false;
194 bool m_groupNameHasBeenSet = false;
195 bool m_matchKeyHasBeenSet = false;
196 bool m_subTypeHasBeenSet = false;
197 bool m_hashedHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace EntityResolution
202} // namespace Aws
SchemaInputAttribute & WithMatchKey(MatchKeyT &&value)
SchemaInputAttribute & WithSubType(SubTypeT &&value)
SchemaInputAttribute & WithFieldName(FieldNameT &&value)
AWS_ENTITYRESOLUTION_API SchemaInputAttribute()=default
AWS_ENTITYRESOLUTION_API SchemaInputAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API SchemaInputAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaInputAttribute & WithGroupName(GroupNameT &&value)
SchemaInputAttribute & WithType(SchemaAttributeType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue