AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SchemaInputAttribute.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/entityresolution/model/SchemaAttributeType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EntityResolution
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ENTITYRESOLUTION_API SchemaInputAttribute() = default;
38 AWS_ENTITYRESOLUTION_API SchemaInputAttribute(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ENTITYRESOLUTION_API SchemaInputAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFieldName() const { return m_fieldName; }
48 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
49 template<typename FieldNameT = Aws::String>
50 void SetFieldName(FieldNameT&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::forward<FieldNameT>(value); }
51 template<typename FieldNameT = Aws::String>
52 SchemaInputAttribute& WithFieldName(FieldNameT&& value) { SetFieldName(std::forward<FieldNameT>(value)); return *this;}
54
56
86 inline SchemaAttributeType GetType() const { return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(SchemaAttributeType value) { m_typeHasBeenSet = true; m_type = value; }
89 inline SchemaInputAttribute& WithType(SchemaAttributeType value) { SetType(value); return *this;}
91
93
100 inline const Aws::String& GetGroupName() const { return m_groupName; }
101 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
102 template<typename GroupNameT = Aws::String>
103 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
104 template<typename GroupNameT = Aws::String>
105 SchemaInputAttribute& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
107
109
119 inline const Aws::String& GetMatchKey() const { return m_matchKey; }
120 inline bool MatchKeyHasBeenSet() const { return m_matchKeyHasBeenSet; }
121 template<typename MatchKeyT = Aws::String>
122 void SetMatchKey(MatchKeyT&& value) { m_matchKeyHasBeenSet = true; m_matchKey = std::forward<MatchKeyT>(value); }
123 template<typename MatchKeyT = Aws::String>
124 SchemaInputAttribute& WithMatchKey(MatchKeyT&& value) { SetMatchKey(std::forward<MatchKeyT>(value)); return *this;}
126
128
131 inline const Aws::String& GetSubType() const { return m_subType; }
132 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
133 template<typename SubTypeT = Aws::String>
134 void SetSubType(SubTypeT&& value) { m_subTypeHasBeenSet = true; m_subType = std::forward<SubTypeT>(value); }
135 template<typename SubTypeT = Aws::String>
136 SchemaInputAttribute& WithSubType(SubTypeT&& value) { SetSubType(std::forward<SubTypeT>(value)); return *this;}
138
140
145 inline bool GetHashed() const { return m_hashed; }
146 inline bool HashedHasBeenSet() const { return m_hashedHasBeenSet; }
147 inline void SetHashed(bool value) { m_hashedHasBeenSet = true; m_hashed = value; }
148 inline SchemaInputAttribute& WithHashed(bool value) { SetHashed(value); return *this;}
150 private:
151
152 Aws::String m_fieldName;
153 bool m_fieldNameHasBeenSet = false;
154
156 bool m_typeHasBeenSet = false;
157
158 Aws::String m_groupName;
159 bool m_groupNameHasBeenSet = false;
160
161 Aws::String m_matchKey;
162 bool m_matchKeyHasBeenSet = false;
163
164 Aws::String m_subType;
165 bool m_subTypeHasBeenSet = false;
166
167 bool m_hashed{false};
168 bool m_hashedHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace EntityResolution
173} // 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