AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetHierarchy.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 AssetHierarchy();
36 AWS_IOTSITEWISE_API AssetHierarchy(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API AssetHierarchy& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline AssetHierarchy& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline AssetHierarchy& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline AssetHierarchy& WithId(const char* value) { SetId(value); return *this;}
54
56
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline AssetHierarchy& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline AssetHierarchy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline AssetHierarchy& WithName(const char* value) { SetName(value); return *this;}
72
74
82 inline const Aws::String& GetExternalId() const{ return m_externalId; }
83 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
84 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
85 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
86 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
87 inline AssetHierarchy& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
88 inline AssetHierarchy& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
89 inline AssetHierarchy& WithExternalId(const char* value) { SetExternalId(value); return *this;}
91 private:
92
93 Aws::String m_id;
94 bool m_idHasBeenSet = false;
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_externalId;
100 bool m_externalIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace IoTSiteWise
105} // namespace Aws
void SetName(const Aws::String &value)
void SetExternalId(Aws::String &&value)
AssetHierarchy & WithName(Aws::String &&value)
AssetHierarchy & WithExternalId(const Aws::String &value)
AssetHierarchy & WithName(const Aws::String &value)
AWS_IOTSITEWISE_API AssetHierarchy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExternalId(const Aws::String &value)
const Aws::String & GetId() const
AssetHierarchy & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
AssetHierarchy & WithId(const char *value)
AssetHierarchy & WithId(Aws::String &&value)
AWS_IOTSITEWISE_API AssetHierarchy(Aws::Utils::Json::JsonView jsonValue)
AssetHierarchy & WithExternalId(const char *value)
const Aws::String & GetName() const
const Aws::String & GetExternalId() const
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetHierarchy & WithExternalId(Aws::String &&value)
AssetHierarchy & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue