AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetCompositeModelSummary.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/AssetCompositeModelPathSegment.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
35 {
36 public:
37 AWS_IOTSITEWISE_API AssetCompositeModelSummary();
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AssetCompositeModelSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AssetCompositeModelSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AssetCompositeModelSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
65 inline const Aws::String& GetExternalId() const{ return m_externalId; }
66 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
67 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
68 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
69 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
70 inline AssetCompositeModelSummary& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
71 inline AssetCompositeModelSummary& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
72 inline AssetCompositeModelSummary& WithExternalId(const char* value) { SetExternalId(value); return *this;}
74
76
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
82 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
83 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
84 inline AssetCompositeModelSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
85 inline AssetCompositeModelSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 inline AssetCompositeModelSummary& WithName(const char* value) { SetName(value); return *this;}
88
90
97 inline const Aws::String& GetType() const{ return m_type; }
98 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
100 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
101 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
102 inline AssetCompositeModelSummary& WithType(const Aws::String& value) { SetType(value); return *this;}
103 inline AssetCompositeModelSummary& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
104 inline AssetCompositeModelSummary& WithType(const char* value) { SetType(value); return *this;}
106
108
111 inline const Aws::String& GetDescription() const{ return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
114 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
115 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
116 inline AssetCompositeModelSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
117 inline AssetCompositeModelSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
118 inline AssetCompositeModelSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
120
122
126 inline const Aws::Vector<AssetCompositeModelPathSegment>& GetPath() const{ return m_path; }
127 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
128 inline void SetPath(const Aws::Vector<AssetCompositeModelPathSegment>& value) { m_pathHasBeenSet = true; m_path = value; }
129 inline void SetPath(Aws::Vector<AssetCompositeModelPathSegment>&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
132 inline AssetCompositeModelSummary& AddPath(const AssetCompositeModelPathSegment& value) { m_pathHasBeenSet = true; m_path.push_back(value); return *this; }
133 inline AssetCompositeModelSummary& AddPath(AssetCompositeModelPathSegment&& value) { m_pathHasBeenSet = true; m_path.push_back(std::move(value)); return *this; }
135 private:
136
137 Aws::String m_id;
138 bool m_idHasBeenSet = false;
139
140 Aws::String m_externalId;
141 bool m_externalIdHasBeenSet = false;
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_type;
147 bool m_typeHasBeenSet = false;
148
149 Aws::String m_description;
150 bool m_descriptionHasBeenSet = false;
151
153 bool m_pathHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace IoTSiteWise
158} // namespace Aws
AssetCompositeModelSummary & WithPath(Aws::Vector< AssetCompositeModelPathSegment > &&value)
AssetCompositeModelSummary & WithPath(const Aws::Vector< AssetCompositeModelPathSegment > &value)
AssetCompositeModelSummary & WithType(const char *value)
AssetCompositeModelSummary & WithExternalId(const char *value)
AssetCompositeModelSummary & WithExternalId(const Aws::String &value)
AWS_IOTSITEWISE_API AssetCompositeModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetCompositeModelSummary & WithDescription(Aws::String &&value)
AssetCompositeModelSummary & WithId(Aws::String &&value)
AssetCompositeModelSummary & WithId(const Aws::String &value)
void SetPath(const Aws::Vector< AssetCompositeModelPathSegment > &value)
AssetCompositeModelSummary & WithName(const char *value)
AWS_IOTSITEWISE_API AssetCompositeModelSummary(Aws::Utils::Json::JsonView jsonValue)
AssetCompositeModelSummary & WithName(const Aws::String &value)
AssetCompositeModelSummary & WithId(const char *value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetCompositeModelSummary & AddPath(AssetCompositeModelPathSegment &&value)
AssetCompositeModelSummary & AddPath(const AssetCompositeModelPathSegment &value)
void SetPath(Aws::Vector< AssetCompositeModelPathSegment > &&value)
AssetCompositeModelSummary & WithType(Aws::String &&value)
AssetCompositeModelSummary & WithDescription(const Aws::String &value)
AssetCompositeModelSummary & WithDescription(const char *value)
AssetCompositeModelSummary & WithType(const Aws::String &value)
AssetCompositeModelSummary & WithName(Aws::String &&value)
const Aws::Vector< AssetCompositeModelPathSegment > & GetPath() const
AssetCompositeModelSummary & WithExternalId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue