AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHierarchyInfo(const AssetHierarchyInfo& value) { m_hierarchyInfoHasBeenSet = true; m_hierarchyInfo = value; }
50 inline void SetHierarchyInfo(AssetHierarchyInfo&& value) { m_hierarchyInfoHasBeenSet = true; m_hierarchyInfo = std::move(value); }
52 inline AssetRelationshipSummary& WithHierarchyInfo(AssetHierarchyInfo&& value) { SetHierarchyInfo(std::move(value)); return *this;}
54
56
63 inline const AssetRelationshipType& GetRelationshipType() const{ return m_relationshipType; }
64 inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
65 inline void SetRelationshipType(const AssetRelationshipType& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
66 inline void SetRelationshipType(AssetRelationshipType&& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = std::move(value); }
70 private:
71
72 AssetHierarchyInfo m_hierarchyInfo;
73 bool m_hierarchyInfoHasBeenSet = false;
74
75 AssetRelationshipType m_relationshipType;
76 bool m_relationshipTypeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTSiteWise
81} // namespace Aws
AssetRelationshipSummary & WithHierarchyInfo(AssetHierarchyInfo &&value)
const AssetRelationshipType & GetRelationshipType() const
AWS_IOTSITEWISE_API AssetRelationshipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetRelationshipSummary & WithHierarchyInfo(const AssetHierarchyInfo &value)
AssetRelationshipSummary & WithRelationshipType(AssetRelationshipType &&value)
AWS_IOTSITEWISE_API AssetRelationshipSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRelationshipType(const AssetRelationshipType &value)
void SetRelationshipType(AssetRelationshipType &&value)
AssetRelationshipSummary & WithRelationshipType(const AssetRelationshipType &value)
void SetHierarchyInfo(const AssetHierarchyInfo &value)
Aws::Utils::Json::JsonValue JsonValue