AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetModelHierarchyDefinition.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
34 {
35 public:
36 AWS_IOTSITEWISE_API AssetModelHierarchyDefinition();
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline AssetModelHierarchyDefinition& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline AssetModelHierarchyDefinition& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline AssetModelHierarchyDefinition& WithId(const char* value) { SetId(value); return *this;}
59
61
68 inline const Aws::String& GetExternalId() const{ return m_externalId; }
69 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
70 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
71 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
72 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
73 inline AssetModelHierarchyDefinition& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
74 inline AssetModelHierarchyDefinition& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
75 inline AssetModelHierarchyDefinition& WithExternalId(const char* value) { SetExternalId(value); return *this;}
77
79
86 inline const Aws::String& GetName() const{ return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
89 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
90 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
91 inline AssetModelHierarchyDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
92 inline AssetModelHierarchyDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
93 inline AssetModelHierarchyDefinition& WithName(const char* value) { SetName(value); return *this;}
95
97
104 inline const Aws::String& GetChildAssetModelId() const{ return m_childAssetModelId; }
105 inline bool ChildAssetModelIdHasBeenSet() const { return m_childAssetModelIdHasBeenSet; }
106 inline void SetChildAssetModelId(const Aws::String& value) { m_childAssetModelIdHasBeenSet = true; m_childAssetModelId = value; }
107 inline void SetChildAssetModelId(Aws::String&& value) { m_childAssetModelIdHasBeenSet = true; m_childAssetModelId = std::move(value); }
108 inline void SetChildAssetModelId(const char* value) { m_childAssetModelIdHasBeenSet = true; m_childAssetModelId.assign(value); }
110 inline AssetModelHierarchyDefinition& WithChildAssetModelId(Aws::String&& value) { SetChildAssetModelId(std::move(value)); return *this;}
111 inline AssetModelHierarchyDefinition& WithChildAssetModelId(const char* value) { SetChildAssetModelId(value); return *this;}
113 private:
114
115 Aws::String m_id;
116 bool m_idHasBeenSet = false;
117
118 Aws::String m_externalId;
119 bool m_externalIdHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 Aws::String m_childAssetModelId;
125 bool m_childAssetModelIdHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace IoTSiteWise
130} // namespace Aws
AssetModelHierarchyDefinition & WithChildAssetModelId(const Aws::String &value)
AssetModelHierarchyDefinition & WithExternalId(const char *value)
AWS_IOTSITEWISE_API AssetModelHierarchyDefinition(Aws::Utils::Json::JsonView jsonValue)
AssetModelHierarchyDefinition & WithId(const Aws::String &value)
AssetModelHierarchyDefinition & WithName(const Aws::String &value)
AssetModelHierarchyDefinition & WithName(const char *value)
AWS_IOTSITEWISE_API AssetModelHierarchyDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetModelHierarchyDefinition & WithChildAssetModelId(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetModelHierarchyDefinition & WithId(const char *value)
AssetModelHierarchyDefinition & WithExternalId(Aws::String &&value)
AssetModelHierarchyDefinition & WithName(Aws::String &&value)
AssetModelHierarchyDefinition & WithChildAssetModelId(const char *value)
AssetModelHierarchyDefinition & WithExternalId(const Aws::String &value)
AssetModelHierarchyDefinition & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue