AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 AssetCompositeModelSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
63 inline const Aws::String& GetExternalId() const { return m_externalId; }
64 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
65 template<typename ExternalIdT = Aws::String>
66 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
67 template<typename ExternalIdT = Aws::String>
68 AssetCompositeModelSummary& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template<typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
79 template<typename NameT = Aws::String>
80 AssetCompositeModelSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
82
84
91 inline const Aws::String& GetType() const { return m_type; }
92 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
93 template<typename TypeT = Aws::String>
94 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
95 template<typename TypeT = Aws::String>
96 AssetCompositeModelSummary& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
98
100
103 inline const Aws::String& GetDescription() const { return m_description; }
104 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
105 template<typename DescriptionT = Aws::String>
106 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
107 template<typename DescriptionT = Aws::String>
108 AssetCompositeModelSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
110
112
116 inline const Aws::Vector<AssetCompositeModelPathSegment>& GetPath() const { return m_path; }
117 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
118 template<typename PathT = Aws::Vector<AssetCompositeModelPathSegment>>
119 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
120 template<typename PathT = Aws::Vector<AssetCompositeModelPathSegment>>
121 AssetCompositeModelSummary& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
122 template<typename PathT = AssetCompositeModelPathSegment>
123 AssetCompositeModelSummary& AddPath(PathT&& value) { m_pathHasBeenSet = true; m_path.emplace_back(std::forward<PathT>(value)); return *this; }
125 private:
126
127 Aws::String m_id;
128 bool m_idHasBeenSet = false;
129
130 Aws::String m_externalId;
131 bool m_externalIdHasBeenSet = false;
132
133 Aws::String m_name;
134 bool m_nameHasBeenSet = false;
135
136 Aws::String m_type;
137 bool m_typeHasBeenSet = false;
138
139 Aws::String m_description;
140 bool m_descriptionHasBeenSet = false;
141
143 bool m_pathHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace IoTSiteWise
148} // namespace Aws
AWS_IOTSITEWISE_API AssetCompositeModelSummary()=default
AssetCompositeModelSummary & WithDescription(DescriptionT &&value)
AWS_IOTSITEWISE_API AssetCompositeModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API AssetCompositeModelSummary(Aws::Utils::Json::JsonView jsonValue)
AssetCompositeModelSummary & WithType(TypeT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetCompositeModelSummary & AddPath(PathT &&value)
const Aws::Vector< AssetCompositeModelPathSegment > & GetPath() const
AssetCompositeModelSummary & WithExternalId(ExternalIdT &&value)
AssetCompositeModelSummary & WithPath(PathT &&value)
AssetCompositeModelSummary & WithName(NameT &&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