AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UnmappedAttribute.h
1
6#pragma once
7#include <aws/comprehendmedical/ComprehendMedical_EXPORTS.h>
8#include <aws/comprehendmedical/model/EntityType.h>
9#include <aws/comprehendmedical/model/Attribute.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 ComprehendMedical
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_COMPREHENDMEDICAL_API UnmappedAttribute();
37 AWS_COMPREHENDMEDICAL_API UnmappedAttribute(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHENDMEDICAL_API UnmappedAttribute& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const EntityType& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const EntityType& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(EntityType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline UnmappedAttribute& WithType(const EntityType& value) { SetType(value); return *this;}
53 inline UnmappedAttribute& WithType(EntityType&& value) { SetType(std::move(value)); return *this;}
55
57
61 inline const Attribute& GetAttribute() const{ return m_attribute; }
62 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
63 inline void SetAttribute(const Attribute& value) { m_attributeHasBeenSet = true; m_attribute = value; }
64 inline void SetAttribute(Attribute&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
65 inline UnmappedAttribute& WithAttribute(const Attribute& value) { SetAttribute(value); return *this;}
66 inline UnmappedAttribute& WithAttribute(Attribute&& value) { SetAttribute(std::move(value)); return *this;}
68 private:
69
70 EntityType m_type;
71 bool m_typeHasBeenSet = false;
72
73 Attribute m_attribute;
74 bool m_attributeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ComprehendMedical
79} // namespace Aws
UnmappedAttribute & WithType(EntityType &&value)
AWS_COMPREHENDMEDICAL_API UnmappedAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API UnmappedAttribute(Aws::Utils::Json::JsonView jsonValue)
UnmappedAttribute & WithAttribute(const Attribute &value)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHENDMEDICAL_API UnmappedAttribute()
UnmappedAttribute & WithType(const EntityType &value)
UnmappedAttribute & WithAttribute(Attribute &&value)
Aws::Utils::Json::JsonValue JsonValue