AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
AssetRelationshipSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/AssetHierarchyInfo.h>
9#include <aws/iotsitewise/model/AssetRelationshipType.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 IoTSiteWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTSITEWISE_API AssetRelationshipSummary() = default;
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AssetHierarchyInfo& GetHierarchyInfo() const { return m_hierarchyInfo; }
48 inline bool HierarchyInfoHasBeenSet() const { return m_hierarchyInfoHasBeenSet; }
49 template<typename HierarchyInfoT = AssetHierarchyInfo>
50 void SetHierarchyInfo(HierarchyInfoT&& value) { m_hierarchyInfoHasBeenSet = true; m_hierarchyInfo = std::forward<HierarchyInfoT>(value); }
51 template<typename HierarchyInfoT = AssetHierarchyInfo>
52 AssetRelationshipSummary& WithHierarchyInfo(HierarchyInfoT&& value) { SetHierarchyInfo(std::forward<HierarchyInfoT>(value)); return *this;}
54
56
63 inline AssetRelationshipType GetRelationshipType() const { return m_relationshipType; }
64 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
65 inline void SetRelationshipType(AssetRelationshipType value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
68 private:
69
70 AssetHierarchyInfo m_hierarchyInfo;
71 bool m_hierarchyInfoHasBeenSet = false;
72
74 bool m_relationshipTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTSiteWise
79} // namespace Aws
AWS_IOTSITEWISE_API AssetRelationshipSummary()=default
AWS_IOTSITEWISE_API AssetRelationshipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetRelationshipSummary & WithHierarchyInfo(HierarchyInfoT &&value)
AWS_IOTSITEWISE_API AssetRelationshipSummary(Aws::Utils::Json::JsonView jsonValue)
AssetRelationshipSummary & WithRelationshipType(AssetRelationshipType value)
Aws::Utils::Json::JsonValue JsonValue