AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProviderSchemaAttribute.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
33 {
34 public:
35 AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute() = default;
36 AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFieldName() const { return m_fieldName; }
46 inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; }
47 template<typename FieldNameT = Aws::String>
48 void SetFieldName(FieldNameT&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::forward<FieldNameT>(value); }
49 template<typename FieldNameT = Aws::String>
50 ProviderSchemaAttribute& WithFieldName(FieldNameT&& value) { SetFieldName(std::forward<FieldNameT>(value)); return *this;}
52
54
71 inline SchemaAttributeType GetType() const { return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(SchemaAttributeType value) { m_typeHasBeenSet = true; m_type = value; }
74 inline ProviderSchemaAttribute& WithType(SchemaAttributeType value) { SetType(value); return *this;}
76
78
81 inline const Aws::String& GetSubType() const { return m_subType; }
82 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
83 template<typename SubTypeT = Aws::String>
84 void SetSubType(SubTypeT&& value) { m_subTypeHasBeenSet = true; m_subType = std::forward<SubTypeT>(value); }
85 template<typename SubTypeT = Aws::String>
86 ProviderSchemaAttribute& WithSubType(SubTypeT&& value) { SetSubType(std::forward<SubTypeT>(value)); return *this;}
88
90
93 inline bool GetHashing() const { return m_hashing; }
94 inline bool HashingHasBeenSet() const { return m_hashingHasBeenSet; }
95 inline void SetHashing(bool value) { m_hashingHasBeenSet = true; m_hashing = value; }
96 inline ProviderSchemaAttribute& WithHashing(bool value) { SetHashing(value); return *this;}
98 private:
99
100 Aws::String m_fieldName;
101 bool m_fieldNameHasBeenSet = false;
102
104 bool m_typeHasBeenSet = false;
105
106 Aws::String m_subType;
107 bool m_subTypeHasBeenSet = false;
108
109 bool m_hashing{false};
110 bool m_hashingHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace EntityResolution
115} // 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