AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 AssetModelCompositeModelSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
61 inline const Aws::String& GetExternalId() const { return m_externalId; }
62 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
63 template<typename ExternalIdT = Aws::String>
64 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
65 template<typename ExternalIdT = Aws::String>
66 AssetModelCompositeModelSummary& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const { return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 template<typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
77 template<typename NameT = Aws::String>
78 AssetModelCompositeModelSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
80
82
86 inline const Aws::String& GetType() const { return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 template<typename TypeT = Aws::String>
89 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
90 template<typename TypeT = Aws::String>
91 AssetModelCompositeModelSummary& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
93
95
98 inline const Aws::String& GetDescription() const { return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 template<typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
102 template<typename DescriptionT = Aws::String>
103 AssetModelCompositeModelSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
105
107
110 inline const Aws::Vector<AssetModelCompositeModelPathSegment>& GetPath() const { return m_path; }
111 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
112 template<typename PathT = Aws::Vector<AssetModelCompositeModelPathSegment>>
113 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
114 template<typename PathT = Aws::Vector<AssetModelCompositeModelPathSegment>>
115 AssetModelCompositeModelSummary& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
116 template<typename PathT = AssetModelCompositeModelPathSegment>
117 AssetModelCompositeModelSummary& AddPath(PathT&& value) { m_pathHasBeenSet = true; m_path.emplace_back(std::forward<PathT>(value)); return *this; }
119 private:
120
121 Aws::String m_id;
122 bool m_idHasBeenSet = false;
123
124 Aws::String m_externalId;
125 bool m_externalIdHasBeenSet = false;
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_type;
131 bool m_typeHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
137 bool m_pathHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace IoTSiteWise
142} // namespace Aws
AssetModelCompositeModelSummary & WithName(NameT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API AssetModelCompositeModelSummary()=default
AssetModelCompositeModelSummary & WithDescription(DescriptionT &&value)
const Aws::Vector< AssetModelCompositeModelPathSegment > & GetPath() const
AWS_IOTSITEWISE_API AssetModelCompositeModelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetModelCompositeModelSummary & WithExternalId(ExternalIdT &&value)
AWS_IOTSITEWISE_API AssetModelCompositeModelSummary(Aws::Utils::Json::JsonView jsonValue)
AssetModelCompositeModelSummary & WithType(TypeT &&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