AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetModelCompositeModelSummary.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotsitewise/model/AssetModelCompositeModelPathSegment.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTSITEWISE_API AssetModelCompositeModelSummary();
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline AssetModelCompositeModelSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline AssetModelCompositeModelSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline AssetModelCompositeModelSummary& WithId(const char* value) { SetId(value); return *this;}
55
57
63 inline const Aws::String& GetExternalId() const{ return m_externalId; }
64 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
65 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
66 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
67 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
68 inline AssetModelCompositeModelSummary& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
69 inline AssetModelCompositeModelSummary& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
70 inline AssetModelCompositeModelSummary& WithExternalId(const char* value) { SetExternalId(value); return *this;}
72
74
77 inline const Aws::String& GetName() const{ return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
80 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
81 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
82 inline AssetModelCompositeModelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
83 inline AssetModelCompositeModelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
84 inline AssetModelCompositeModelSummary& WithName(const char* value) { SetName(value); return *this;}
86
88
92 inline const Aws::String& GetType() const{ return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
95 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
96 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
97 inline AssetModelCompositeModelSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
98 inline AssetModelCompositeModelSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
99 inline AssetModelCompositeModelSummary& WithType(const char* value) { SetType(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline AssetModelCompositeModelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline AssetModelCompositeModelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline AssetModelCompositeModelSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
120 inline const Aws::Vector<AssetModelCompositeModelPathSegment>& GetPath() const{ return m_path; }
121 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
122 inline void SetPath(const Aws::Vector<AssetModelCompositeModelPathSegment>& value) { m_pathHasBeenSet = true; m_path = value; }
123 inline void SetPath(Aws::Vector<AssetModelCompositeModelPathSegment>&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
126 inline AssetModelCompositeModelSummary& AddPath(const AssetModelCompositeModelPathSegment& value) { m_pathHasBeenSet = true; m_path.push_back(value); return *this; }
127 inline AssetModelCompositeModelSummary& AddPath(AssetModelCompositeModelPathSegment&& value) { m_pathHasBeenSet = true; m_path.push_back(std::move(value)); return *this; }
129 private:
130
131 Aws::String m_id;
132 bool m_idHasBeenSet = false;
133
134 Aws::String m_externalId;
135 bool m_externalIdHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::String m_type;
141 bool m_typeHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
147 bool m_pathHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace IoTSiteWise
152} // namespace Aws
AssetModelCompositeModelSummary & WithId(const char *value)
AssetModelCompositeModelSummary & WithName(Aws::String &&value)
void SetPath(Aws::Vector< AssetModelCompositeModelPathSegment > &&value)
AssetModelCompositeModelSummary & AddPath(AssetModelCompositeModelPathSegment &&value)
AssetModelCompositeModelSummary & WithType(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetModelCompositeModelSummary & WithExternalId(Aws::String &&value)
const Aws::Vector< AssetModelCompositeModelPathSegment > & GetPath() const
AWS_IOTSITEWISE_API AssetModelCompositeModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetModelCompositeModelSummary & WithExternalId(const char *value)
AssetModelCompositeModelSummary & WithDescription(Aws::String &&value)
AssetModelCompositeModelSummary & WithPath(const Aws::Vector< AssetModelCompositeModelPathSegment > &value)
AssetModelCompositeModelSummary & WithName(const Aws::String &value)
AssetModelCompositeModelSummary & WithPath(Aws::Vector< AssetModelCompositeModelPathSegment > &&value)
AssetModelCompositeModelSummary & WithName(const char *value)
AssetModelCompositeModelSummary & WithId(const Aws::String &value)
void SetPath(const Aws::Vector< AssetModelCompositeModelPathSegment > &value)
AssetModelCompositeModelSummary & WithType(const Aws::String &value)
AssetModelCompositeModelSummary & AddPath(const AssetModelCompositeModelPathSegment &value)
AssetModelCompositeModelSummary & WithType(const char *value)
AssetModelCompositeModelSummary & WithDescription(const char *value)
AssetModelCompositeModelSummary & WithDescription(const Aws::String &value)
AssetModelCompositeModelSummary & WithExternalId(const Aws::String &value)
AssetModelCompositeModelSummary & WithId(Aws::String &&value)
AWS_IOTSITEWISE_API AssetModelCompositeModelSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue