AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 EntityType GetType() const { return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(EntityType value) { m_typeHasBeenSet = true; m_type = value; }
51 inline UnmappedAttribute& WithType(EntityType value) { SetType(value); return *this;}
53
55
59 inline const Attribute& GetAttribute() const { return m_attribute; }
60 inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
61 template<typename AttributeT = Attribute>
62 void SetAttribute(AttributeT&& value) { m_attributeHasBeenSet = true; m_attribute = std::forward<AttributeT>(value); }
63 template<typename AttributeT = Attribute>
64 UnmappedAttribute& WithAttribute(AttributeT&& value) { SetAttribute(std::forward<AttributeT>(value)); return *this;}
66 private:
67
69 bool m_typeHasBeenSet = false;
70
71 Attribute m_attribute;
72 bool m_attributeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ComprehendMedical
77} // namespace Aws
UnmappedAttribute & WithType(EntityType value)
AWS_COMPREHENDMEDICAL_API UnmappedAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
UnmappedAttribute & WithAttribute(AttributeT &&value)
AWS_COMPREHENDMEDICAL_API UnmappedAttribute(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHENDMEDICAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHENDMEDICAL_API UnmappedAttribute()=default
Aws::Utils::Json::JsonValue JsonValue