AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetHierarchyInfo.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTSiteWise
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTSITEWISE_API AssetHierarchyInfo();
36 AWS_IOTSITEWISE_API AssetHierarchyInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetParentAssetId() const{ return m_parentAssetId; }
46 inline bool ParentAssetIdHasBeenSet() const { return m_parentAssetIdHasBeenSet; }
47 inline void SetParentAssetId(const Aws::String& value) { m_parentAssetIdHasBeenSet = true; m_parentAssetId = value; }
48 inline void SetParentAssetId(Aws::String&& value) { m_parentAssetIdHasBeenSet = true; m_parentAssetId = std::move(value); }
49 inline void SetParentAssetId(const char* value) { m_parentAssetIdHasBeenSet = true; m_parentAssetId.assign(value); }
50 inline AssetHierarchyInfo& WithParentAssetId(const Aws::String& value) { SetParentAssetId(value); return *this;}
51 inline AssetHierarchyInfo& WithParentAssetId(Aws::String&& value) { SetParentAssetId(std::move(value)); return *this;}
52 inline AssetHierarchyInfo& WithParentAssetId(const char* value) { SetParentAssetId(value); return *this;}
54
56
59 inline const Aws::String& GetChildAssetId() const{ return m_childAssetId; }
60 inline bool ChildAssetIdHasBeenSet() const { return m_childAssetIdHasBeenSet; }
61 inline void SetChildAssetId(const Aws::String& value) { m_childAssetIdHasBeenSet = true; m_childAssetId = value; }
62 inline void SetChildAssetId(Aws::String&& value) { m_childAssetIdHasBeenSet = true; m_childAssetId = std::move(value); }
63 inline void SetChildAssetId(const char* value) { m_childAssetIdHasBeenSet = true; m_childAssetId.assign(value); }
64 inline AssetHierarchyInfo& WithChildAssetId(const Aws::String& value) { SetChildAssetId(value); return *this;}
65 inline AssetHierarchyInfo& WithChildAssetId(Aws::String&& value) { SetChildAssetId(std::move(value)); return *this;}
66 inline AssetHierarchyInfo& WithChildAssetId(const char* value) { SetChildAssetId(value); return *this;}
68 private:
69
70 Aws::String m_parentAssetId;
71 bool m_parentAssetIdHasBeenSet = false;
72
73 Aws::String m_childAssetId;
74 bool m_childAssetIdHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTSiteWise
79} // namespace Aws
AWS_IOTSITEWISE_API AssetHierarchyInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetHierarchyInfo & WithParentAssetId(const Aws::String &value)
AssetHierarchyInfo & WithChildAssetId(const Aws::String &value)
AssetHierarchyInfo & WithChildAssetId(Aws::String &&value)
AWS_IOTSITEWISE_API AssetHierarchyInfo(Aws::Utils::Json::JsonView jsonValue)
void SetChildAssetId(const Aws::String &value)
AssetHierarchyInfo & WithParentAssetId(const char *value)
void SetParentAssetId(const Aws::String &value)
AssetHierarchyInfo & WithParentAssetId(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetHierarchyInfo & WithChildAssetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue