AWS SDK for C++  1.9.156
AWS SDK for C++
AssetModelCompositeModel.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
67  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 
72  inline AssetModelCompositeModel& WithName(const Aws::String& value) { SetName(value); return *this;}
73 
77  inline AssetModelCompositeModel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 
82  inline AssetModelCompositeModel& WithName(const char* value) { SetName(value); return *this;}
83 
84 
88  inline const Aws::String& GetDescription() const{ return m_description; }
89 
93  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 
98  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
99 
103  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 
108  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
109 
113  inline AssetModelCompositeModel& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 
118  inline AssetModelCompositeModel& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 
123  inline AssetModelCompositeModel& WithDescription(const char* value) { SetDescription(value); return *this;}
124 
125 
130  inline const Aws::String& GetType() const{ return m_type; }
131 
136  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
137 
142  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
143 
148  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
149 
154  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
155 
160  inline AssetModelCompositeModel& WithType(const Aws::String& value) { SetType(value); return *this;}
161 
166  inline AssetModelCompositeModel& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
167 
172  inline AssetModelCompositeModel& WithType(const char* value) { SetType(value); return *this;}
173 
174 
178  inline const Aws::Vector<AssetModelProperty>& GetProperties() const{ return m_properties; }
179 
183  inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
184 
188  inline void SetProperties(const Aws::Vector<AssetModelProperty>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
189 
193  inline void SetProperties(Aws::Vector<AssetModelProperty>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
194 
198  inline AssetModelCompositeModel& WithProperties(const Aws::Vector<AssetModelProperty>& value) { SetProperties(value); return *this;}
199 
203  inline AssetModelCompositeModel& WithProperties(Aws::Vector<AssetModelProperty>&& value) { SetProperties(std::move(value)); return *this;}
204 
208  inline AssetModelCompositeModel& AddProperties(const AssetModelProperty& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; }
209 
213  inline AssetModelCompositeModel& AddProperties(AssetModelProperty&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; }
214 
215  private:
216 
217  Aws::String m_name;
218  bool m_nameHasBeenSet;
219 
220  Aws::String m_description;
221  bool m_descriptionHasBeenSet;
222 
223  Aws::String m_type;
224  bool m_typeHasBeenSet;
225 
226  Aws::Vector<AssetModelProperty> m_properties;
227  bool m_propertiesHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace IoTSiteWise
232 } // namespace Aws
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithDescription
AssetModelCompositeModel & WithDescription(const char *value)
Definition: AssetModelCompositeModel.h:123
Aws::IoTSiteWise::Model::AssetModelProperty
Definition: AssetModelProperty.h:35
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithDescription
AssetModelCompositeModel & WithDescription(Aws::String &&value)
Definition: AssetModelCompositeModel.h:118
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithDescription
AssetModelCompositeModel & WithDescription(const Aws::String &value)
Definition: AssetModelCompositeModel.h:113
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetType
void SetType(const Aws::String &value)
Definition: AssetModelCompositeModel.h:142
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetName
void SetName(const char *value)
Definition: AssetModelCompositeModel.h:67
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithName
AssetModelCompositeModel & WithName(const char *value)
Definition: AssetModelCompositeModel.h:82
Aws::IoTSiteWise::Model::AssetModelCompositeModel::GetProperties
const Aws::Vector< AssetModelProperty > & GetProperties() const
Definition: AssetModelCompositeModel.h:178
Aws::IoTSiteWise::Model::AssetModelCompositeModel::operator=
AssetModelCompositeModel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithProperties
AssetModelCompositeModel & WithProperties(Aws::Vector< AssetModelProperty > &&value)
Definition: AssetModelCompositeModel.h:203
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::AssetModelCompositeModel::AddProperties
AssetModelCompositeModel & AddProperties(AssetModelProperty &&value)
Definition: AssetModelCompositeModel.h:213
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithName
AssetModelCompositeModel & WithName(Aws::String &&value)
Definition: AssetModelCompositeModel.h:77
Aws::IoTSiteWise::Model::AssetModelCompositeModel::GetType
const Aws::String & GetType() const
Definition: AssetModelCompositeModel.h:130
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithName
AssetModelCompositeModel & WithName(const Aws::String &value)
Definition: AssetModelCompositeModel.h:72
AWSVector.h
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetProperties
void SetProperties(const Aws::Vector< AssetModelProperty > &value)
Definition: AssetModelCompositeModel.h:188
Aws::IoTSiteWise::Model::AssetModelCompositeModel::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AssetModelCompositeModel.h:93
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithType
AssetModelCompositeModel & WithType(const char *value)
Definition: AssetModelCompositeModel.h:172
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetProperties
void SetProperties(Aws::Vector< AssetModelProperty > &&value)
Definition: AssetModelCompositeModel.h:193
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetName
void SetName(Aws::String &&value)
Definition: AssetModelCompositeModel.h:62
Aws::IoTSiteWise::Model::AssetModelCompositeModel::AssetModelCompositeModel
AssetModelCompositeModel(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::AssetModelCompositeModel::NameHasBeenSet
bool NameHasBeenSet() const
Definition: AssetModelCompositeModel.h:52
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithType
AssetModelCompositeModel & WithType(Aws::String &&value)
Definition: AssetModelCompositeModel.h:166
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetDescription
void SetDescription(const char *value)
Definition: AssetModelCompositeModel.h:108
Aws::IoTSiteWise::Model::AssetModelCompositeModel
Definition: AssetModelCompositeModel.h:36
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::AssetModelCompositeModel::GetDescription
const Aws::String & GetDescription() const
Definition: AssetModelCompositeModel.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetModelCompositeModel::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: AssetModelCompositeModel.h:136
AssetModelProperty.h
Aws::IoTSiteWise::Model::AssetModelCompositeModel::GetName
const Aws::String & GetName() const
Definition: AssetModelCompositeModel.h:47
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetName
void SetName(const Aws::String &value)
Definition: AssetModelCompositeModel.h:57
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetDescription
void SetDescription(Aws::String &&value)
Definition: AssetModelCompositeModel.h:103
Aws::IoTSiteWise::Model::AssetModelCompositeModel::AddProperties
AssetModelCompositeModel & AddProperties(const AssetModelProperty &value)
Definition: AssetModelCompositeModel.h:208
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithType
AssetModelCompositeModel & WithType(const Aws::String &value)
Definition: AssetModelCompositeModel.h:160
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetType
void SetType(Aws::String &&value)
Definition: AssetModelCompositeModel.h:148
Aws::IoTSiteWise::Model::AssetModelCompositeModel::AssetModelCompositeModel
AssetModelCompositeModel()
Aws::IoTSiteWise::Model::AssetModelCompositeModel::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::AssetModelCompositeModel::WithProperties
AssetModelCompositeModel & WithProperties(const Aws::Vector< AssetModelProperty > &value)
Definition: AssetModelCompositeModel.h:198
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetType
void SetType(const char *value)
Definition: AssetModelCompositeModel.h:154
Aws::IoTSiteWise::Model::AssetModelCompositeModel::PropertiesHasBeenSet
bool PropertiesHasBeenSet() const
Definition: AssetModelCompositeModel.h:183
Aws::IoTSiteWise::Model::AssetModelCompositeModel::SetDescription
void SetDescription(const Aws::String &value)
Definition: AssetModelCompositeModel.h:98