AWS SDK for C++  1.9.161
AWS SDK for C++
AssetRelationshipSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTSiteWise
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline const AssetHierarchyInfo& GetHierarchyInfo() const{ return m_hierarchyInfo; }
47 
52  inline bool HierarchyInfoHasBeenSet() const { return m_hierarchyInfoHasBeenSet; }
53 
58  inline void SetHierarchyInfo(const AssetHierarchyInfo& value) { m_hierarchyInfoHasBeenSet = true; m_hierarchyInfo = value; }
59 
64  inline void SetHierarchyInfo(AssetHierarchyInfo&& value) { m_hierarchyInfoHasBeenSet = true; m_hierarchyInfo = std::move(value); }
65 
70  inline AssetRelationshipSummary& WithHierarchyInfo(const AssetHierarchyInfo& value) { SetHierarchyInfo(value); return *this;}
71 
76  inline AssetRelationshipSummary& WithHierarchyInfo(AssetHierarchyInfo&& value) { SetHierarchyInfo(std::move(value)); return *this;}
77 
78 
86  inline const AssetRelationshipType& GetRelationshipType() const{ return m_relationshipType; }
87 
95  inline bool RelationshipTypeHasBeenSet() const { return m_relationshipTypeHasBeenSet; }
96 
104  inline void SetRelationshipType(const AssetRelationshipType& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = value; }
105 
113  inline void SetRelationshipType(AssetRelationshipType&& value) { m_relationshipTypeHasBeenSet = true; m_relationshipType = std::move(value); }
114 
122  inline AssetRelationshipSummary& WithRelationshipType(const AssetRelationshipType& value) { SetRelationshipType(value); return *this;}
123 
131  inline AssetRelationshipSummary& WithRelationshipType(AssetRelationshipType&& value) { SetRelationshipType(std::move(value)); return *this;}
132 
133  private:
134 
135  AssetHierarchyInfo m_hierarchyInfo;
136  bool m_hierarchyInfoHasBeenSet;
137 
138  AssetRelationshipType m_relationshipType;
139  bool m_relationshipTypeHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace IoTSiteWise
144 } // namespace Aws
Aws::IoTSiteWise::Model::AssetRelationshipSummary::WithRelationshipType
AssetRelationshipSummary & WithRelationshipType(AssetRelationshipType &&value)
Definition: AssetRelationshipSummary.h:131
Aws::IoTSiteWise::Model::AssetHierarchyInfo
Definition: AssetHierarchyInfo.h:33
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::AssetRelationshipSummary::GetRelationshipType
const AssetRelationshipType & GetRelationshipType() const
Definition: AssetRelationshipSummary.h:86
Aws::IoTSiteWise::Model::AssetRelationshipSummary::WithHierarchyInfo
AssetRelationshipSummary & WithHierarchyInfo(const AssetHierarchyInfo &value)
Definition: AssetRelationshipSummary.h:70
Aws::IoTSiteWise::Model::AssetRelationshipType
AssetRelationshipType
Definition: AssetRelationshipType.h:17
AssetHierarchyInfo.h
Aws::IoTSiteWise::Model::AssetRelationshipSummary::SetRelationshipType
void SetRelationshipType(const AssetRelationshipType &value)
Definition: AssetRelationshipSummary.h:104
Aws::IoTSiteWise::Model::AssetRelationshipSummary::GetHierarchyInfo
const AssetHierarchyInfo & GetHierarchyInfo() const
Definition: AssetRelationshipSummary.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoTSiteWise::Model::AssetRelationshipSummary::AssetRelationshipSummary
AssetRelationshipSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::AssetRelationshipSummary::HierarchyInfoHasBeenSet
bool HierarchyInfoHasBeenSet() const
Definition: AssetRelationshipSummary.h:52
Aws::IoTSiteWise::Model::AssetRelationshipSummary::operator=
AssetRelationshipSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetRelationshipSummary::RelationshipTypeHasBeenSet
bool RelationshipTypeHasBeenSet() const
Definition: AssetRelationshipSummary.h:95
Aws::IoTSiteWise::Model::AssetRelationshipSummary::SetRelationshipType
void SetRelationshipType(AssetRelationshipType &&value)
Definition: AssetRelationshipSummary.h:113
Aws::IoTSiteWise::Model::AssetRelationshipSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AssetRelationshipType.h
Aws::IoTSiteWise::Model::AssetRelationshipSummary::WithHierarchyInfo
AssetRelationshipSummary & WithHierarchyInfo(AssetHierarchyInfo &&value)
Definition: AssetRelationshipSummary.h:76
Aws::IoTSiteWise::Model::AssetRelationshipSummary::SetHierarchyInfo
void SetHierarchyInfo(const AssetHierarchyInfo &value)
Definition: AssetRelationshipSummary.h:58
Aws::IoTSiteWise::Model::AssetRelationshipSummary::AssetRelationshipSummary
AssetRelationshipSummary()
Aws::IoTSiteWise::Model::AssetRelationshipSummary::SetHierarchyInfo
void SetHierarchyInfo(AssetHierarchyInfo &&value)
Definition: AssetRelationshipSummary.h:64
Aws::IoTSiteWise::Model::AssetRelationshipSummary
Definition: AssetRelationshipSummary.h:34
Aws::IoTSiteWise::Model::AssetRelationshipSummary::WithRelationshipType
AssetRelationshipSummary & WithRelationshipType(const AssetRelationshipType &value)
Definition: AssetRelationshipSummary.h:122