7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/Property.h>
50 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
64 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
87 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
88 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
105 inline void SetExternalId(
const char* value) { m_externalIdHasBeenSet =
true; m_externalId.assign(value); }
113 bool m_nameHasBeenSet =
false;
116 bool m_typeHasBeenSet =
false;
119 bool m_assetPropertyHasBeenSet =
false;
122 bool m_idHasBeenSet =
false;
125 bool m_externalIdHasBeenSet =
false;
bool ExternalIdHasBeenSet() const
CompositeModelProperty & WithType(const Aws::String &value)
CompositeModelProperty & WithName(const char *value)
CompositeModelProperty & WithType(const char *value)
CompositeModelProperty & WithAssetProperty(const Property &value)
void SetId(const char *value)
void SetName(const char *value)
CompositeModelProperty & WithAssetProperty(Property &&value)
const Aws::String & GetId() const
void SetId(const Aws::String &value)
bool AssetPropertyHasBeenSet() const
const Aws::String & GetExternalId() const
const Aws::String & GetType() const
void SetName(const Aws::String &value)
void SetId(Aws::String &&value)
CompositeModelProperty & WithType(Aws::String &&value)
void SetExternalId(const Aws::String &value)
AWS_IOTSITEWISE_API CompositeModelProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAssetProperty(Property &&value)
bool IdHasBeenSet() const
CompositeModelProperty & WithId(const char *value)
void SetType(const char *value)
AWS_IOTSITEWISE_API CompositeModelProperty(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
CompositeModelProperty & WithName(Aws::String &&value)
void SetType(const Aws::String &value)
const Property & GetAssetProperty() const
bool NameHasBeenSet() const
CompositeModelProperty & WithExternalId(const Aws::String &value)
CompositeModelProperty & WithId(const Aws::String &value)
AWS_IOTSITEWISE_API CompositeModelProperty()
CompositeModelProperty & WithName(const Aws::String &value)
CompositeModelProperty & WithExternalId(Aws::String &&value)
CompositeModelProperty & WithExternalId(const char *value)
void SetAssetProperty(const Property &value)
const Aws::String & GetName() const
void SetType(Aws::String &&value)
void SetExternalId(const char *value)
CompositeModelProperty & WithId(Aws::String &&value)
bool TypeHasBeenSet() const
void SetExternalId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue