AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ProviderSchemaAttribute.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
29 public:
30 AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute() = default;
31 AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFieldName() const { return m_fieldName; }
40 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
41 template <typename FieldNameT = Aws::String>
42 void SetFieldName(FieldNameT&& value) {
43 m_fieldNameHasBeenSet = true;
44 m_fieldName = std::forward<FieldNameT>(value);
45 }
46 template <typename FieldNameT = Aws::String>
48 SetFieldName(std::forward<FieldNameT>(value));
49 return *this;
50 }
52
54
71 inline SchemaAttributeType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(SchemaAttributeType value) {
74 m_typeHasBeenSet = true;
75 m_type = value;
76 }
78 SetType(value);
79 return *this;
80 }
82
84
87 inline const Aws::String& GetSubType() const { return m_subType; }
88 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
89 template <typename SubTypeT = Aws::String>
90 void SetSubType(SubTypeT&& value) {
91 m_subTypeHasBeenSet = true;
92 m_subType = std::forward<SubTypeT>(value);
93 }
94 template <typename SubTypeT = Aws::String>
96 SetSubType(std::forward<SubTypeT>(value));
97 return *this;
98 }
100
102
105 inline bool GetHashing() const { return m_hashing; }
106 inline bool HashingHasBeenSet() const { return m_hashingHasBeenSet; }
107 inline void SetHashing(bool value) {
108 m_hashingHasBeenSet = true;
109 m_hashing = value;
110 }
112 SetHashing(value);
113 return *this;
114 }
116 private:
117 Aws::String m_fieldName;
118
120
121 Aws::String m_subType;
122
123 bool m_hashing{false};
124 bool m_fieldNameHasBeenSet = false;
125 bool m_typeHasBeenSet = false;
126 bool m_subTypeHasBeenSet = false;
127 bool m_hashingHasBeenSet = false;
128};
129
130} // namespace Model
131} // namespace EntityResolution
132} // namespace Aws
AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
ProviderSchemaAttribute & WithType(SchemaAttributeType value)
ProviderSchemaAttribute & WithFieldName(FieldNameT &&value)
ProviderSchemaAttribute & WithSubType(SubTypeT &&value)
AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute()=default
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue