AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; }
48 inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); }
49 inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); }
50 inline ProviderSchemaAttribute& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;}
51 inline ProviderSchemaAttribute& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;}
52 inline ProviderSchemaAttribute& WithFieldName(const char* value) { SetFieldName(value); return *this;}
54
56
59 inline bool GetHashing() const{ return m_hashing; }
60 inline bool HashingHasBeenSet() const { return m_hashingHasBeenSet; }
61 inline void SetHashing(bool value) { m_hashingHasBeenSet = true; m_hashing = value; }
62 inline ProviderSchemaAttribute& WithHashing(bool value) { SetHashing(value); return *this;}
64
66
69 inline const Aws::String& GetSubType() const{ return m_subType; }
70 inline bool SubTypeHasBeenSet() const { return m_subTypeHasBeenSet; }
71 inline void SetSubType(const Aws::String& value) { m_subTypeHasBeenSet = true; m_subType = value; }
72 inline void SetSubType(Aws::String&& value) { m_subTypeHasBeenSet = true; m_subType = std::move(value); }
73 inline void SetSubType(const char* value) { m_subTypeHasBeenSet = true; m_subType.assign(value); }
74 inline ProviderSchemaAttribute& WithSubType(const Aws::String& value) { SetSubType(value); return *this;}
75 inline ProviderSchemaAttribute& WithSubType(Aws::String&& value) { SetSubType(std::move(value)); return *this;}
76 inline ProviderSchemaAttribute& WithSubType(const char* value) { SetSubType(value); return *this;}
78
80
83 inline const SchemaAttributeType& GetType() const{ return m_type; }
84 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
85 inline void SetType(const SchemaAttributeType& value) { m_typeHasBeenSet = true; m_type = value; }
86 inline void SetType(SchemaAttributeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
87 inline ProviderSchemaAttribute& WithType(const SchemaAttributeType& value) { SetType(value); return *this;}
88 inline ProviderSchemaAttribute& WithType(SchemaAttributeType&& value) { SetType(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_fieldName;
93 bool m_fieldNameHasBeenSet = false;
94
95 bool m_hashing;
96 bool m_hashingHasBeenSet = false;
97
98 Aws::String m_subType;
99 bool m_subTypeHasBeenSet = false;
100
101 SchemaAttributeType m_type;
102 bool m_typeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EntityResolution
107} // namespace Aws
AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API ProviderSchemaAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
ProviderSchemaAttribute & WithType(const SchemaAttributeType &value)
ProviderSchemaAttribute & WithFieldName(Aws::String &&value)
ProviderSchemaAttribute & WithSubType(const char *value)
ProviderSchemaAttribute & WithType(SchemaAttributeType &&value)
ProviderSchemaAttribute & WithSubType(Aws::String &&value)
ProviderSchemaAttribute & WithSubType(const Aws::String &value)
ProviderSchemaAttribute & WithFieldName(const char *value)
ProviderSchemaAttribute & WithFieldName(const Aws::String &value)
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