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/AssetProperty.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
75 template<
typename TypeT = Aws::String>
76 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
77 template<
typename TypeT = Aws::String>
87 template<
typename PropertiesT = Aws::Vector<AssetProperty>>
88 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
89 template<
typename PropertiesT = Aws::Vector<AssetProperty>>
91 template<
typename PropertiesT = AssetProperty>
101 template<
typename IdT = Aws::String>
102 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
103 template<
typename IdT = Aws::String>
115 template<
typename ExternalIdT = Aws::String>
116 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
117 template<
typename ExternalIdT = Aws::String>
123 bool m_nameHasBeenSet =
false;
126 bool m_descriptionHasBeenSet =
false;
129 bool m_typeHasBeenSet =
false;
132 bool m_propertiesHasBeenSet =
false;
135 bool m_idHasBeenSet =
false;
138 bool m_externalIdHasBeenSet =
false;
bool PropertiesHasBeenSet() const
bool DescriptionHasBeenSet() const
AWS_IOTSITEWISE_API AssetCompositeModel()=default
AssetCompositeModel & WithName(NameT &&value)
void SetProperties(PropertiesT &&value)
AssetCompositeModel & WithId(IdT &&value)
AWS_IOTSITEWISE_API AssetCompositeModel & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetCompositeModel & WithType(TypeT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AssetCompositeModel & AddProperties(PropertiesT &&value)
const Aws::String & GetId() const
const Aws::Vector< AssetProperty > & GetProperties() const
void SetName(NameT &&value)
const Aws::String & GetDescription() const
void SetType(TypeT &&value)
bool ExternalIdHasBeenSet() const
AssetCompositeModel & WithExternalId(ExternalIdT &&value)
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
bool NameHasBeenSet() const
void SetExternalId(ExternalIdT &&value)
const Aws::String & GetExternalId() const
const Aws::String & GetType() const
bool TypeHasBeenSet() const
AWS_IOTSITEWISE_API AssetCompositeModel(Aws::Utils::Json::JsonView jsonValue)
AssetCompositeModel & WithProperties(PropertiesT &&value)
AssetCompositeModel & WithDescription(DescriptionT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue