AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
50 inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
51 inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
52 inline SchemaInputAttribute& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
53 inline SchemaInputAttribute& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
54 inline SchemaInputAttribute& WithFieldName(const char* value) { SetFieldName(value); return *this;}
56
58
65 inline const Aws::String& GetGroupName() const{ return m_groupName; }
66 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
67 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
68 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
69 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
70 inline SchemaInputAttribute& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
71 inline SchemaInputAttribute& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
72 inline SchemaInputAttribute& WithGroupName(const char* value) { SetGroupName(value); return *this;}
74
76
81 inline bool GetHashed() const{ return m_hashed; }
82 inline bool HashedHasBeenSet() const { return m_hashedHasBeenSet; }
83 inline void SetHashed(bool value) { m_hashedHasBeenSet = true; m_hashed = value; }
84 inline SchemaInputAttribute& WithHashed(bool value) { SetHashed(value); return *this;}
86
88
98 inline const Aws::String& GetMatchKey() const{ return m_matchKey; }
99 inline bool MatchKeyHasBeenSet() const { return m_matchKeyHasBeenSet; }
100 inline void SetMatchKey(const Aws::String& value) { m_matchKeyHasBeenSet = true; m_matchKey = value; }
101 inline void SetMatchKey(Aws::String&& value) { m_matchKeyHasBeenSet = true; m_matchKey = std::move(value); }
102 inline void SetMatchKey(const char* value) { m_matchKeyHasBeenSet = true; m_matchKey.assign(value); }
103 inline SchemaInputAttribute& WithMatchKey(const Aws::String& value) { SetMatchKey(value); return *this;}
104 inline SchemaInputAttribute& WithMatchKey(Aws::String&& value) { SetMatchKey(std::move(value)); return *this;}
105 inline SchemaInputAttribute& WithMatchKey(const char* value) { SetMatchKey(value); return *this;}
107
109
112 inline const Aws::String& GetSubType() const{ return m_subType; }
113 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
114 inline void SetSubType(const Aws::String& value) { m_subTypeHasBeenSet = true; m_subType = value; }
115 inline void SetSubType(Aws::String&& value) { m_subTypeHasBeenSet = true; m_subType = std::move(value); }
116 inline void SetSubType(const char* value) { m_subTypeHasBeenSet = true; m_subType.assign(value); }
117 inline SchemaInputAttribute& WithSubType(const Aws::String& value) { SetSubType(value); return *this;}
118 inline SchemaInputAttribute& WithSubType(Aws::String&& value) { SetSubType(std::move(value)); return *this;}
119 inline SchemaInputAttribute& WithSubType(const char* value) { SetSubType(value); return *this;}
121
123
126 inline const SchemaAttributeType& GetType() const{ return m_type; }
127 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
128 inline void SetType(const SchemaAttributeType& value) { m_typeHasBeenSet = true; m_type = value; }
129 inline void SetType(SchemaAttributeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
130 inline SchemaInputAttribute& WithType(const SchemaAttributeType& value) { SetType(value); return *this;}
131 inline SchemaInputAttribute& WithType(SchemaAttributeType&& value) { SetType(std::move(value)); return *this;}
133 private:
134
135 Aws::String m_fieldName;
136 bool m_fieldNameHasBeenSet = false;
137
138 Aws::String m_groupName;
139 bool m_groupNameHasBeenSet = false;
140
141 bool m_hashed;
142 bool m_hashedHasBeenSet = false;
143
144 Aws::String m_matchKey;
145 bool m_matchKeyHasBeenSet = false;
146
147 Aws::String m_subType;
148 bool m_subTypeHasBeenSet = false;
149
150 SchemaAttributeType m_type;
151 bool m_typeHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace EntityResolution
156} // namespace Aws
SchemaInputAttribute & WithType(const SchemaAttributeType &value)
SchemaInputAttribute & WithMatchKey(const Aws::String &value)
void SetType(const SchemaAttributeType &value)
AWS_ENTITYRESOLUTION_API SchemaInputAttribute(Aws::Utils::Json::JsonView jsonValue)
SchemaInputAttribute & WithFieldName(const Aws::String &value)
SchemaInputAttribute & WithSubType(const Aws::String &value)
SchemaInputAttribute & WithType(SchemaAttributeType &&value)
SchemaInputAttribute & WithGroupName(const char *value)
AWS_ENTITYRESOLUTION_API SchemaInputAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaInputAttribute & WithFieldName(const char *value)
SchemaInputAttribute & WithSubType(const char *value)
SchemaInputAttribute & WithSubType(Aws::String &&value)
SchemaInputAttribute & WithGroupName(Aws::String &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaInputAttribute & WithMatchKey(const char *value)
SchemaInputAttribute & WithFieldName(Aws::String &&value)
SchemaInputAttribute & WithGroupName(const Aws::String &value)
SchemaInputAttribute & WithMatchKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue