7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsitewise/model/AssetModelType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/iotsitewise/model/AssetModelPropertyDefinition.h>
14#include <aws/iotsitewise/model/AssetModelHierarchyDefinition.h>
15#include <aws/iotsitewise/model/AssetModelCompositeModelDefinition.h>
17#include <aws/core/utils/UUID.h>
50 inline void SetAssetModelName(
const char* value) { m_assetModelNameHasBeenSet =
true; m_assetModelName.assign(value); }
83 inline void SetAssetModelId(
const char* value) { m_assetModelIdHasBeenSet =
true; m_assetModelId.assign(value); }
100 inline void SetAssetModelExternalId(
const char* value) { m_assetModelExternalIdHasBeenSet =
true; m_assetModelExternalId.assign(value); }
114 inline void SetAssetModelDescription(
const char* value) { m_assetModelDescriptionHasBeenSet =
true; m_assetModelDescription.assign(value); }
194 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
224 bool m_assetModelNameHasBeenSet =
false;
227 bool m_assetModelTypeHasBeenSet =
false;
230 bool m_assetModelIdHasBeenSet =
false;
233 bool m_assetModelExternalIdHasBeenSet =
false;
236 bool m_assetModelDescriptionHasBeenSet =
false;
239 bool m_assetModelPropertiesHasBeenSet =
false;
242 bool m_assetModelHierarchiesHasBeenSet =
false;
245 bool m_assetModelCompositeModelsHasBeenSet =
false;
248 bool m_clientTokenHasBeenSet =
false;
251 bool m_tagsHasBeenSet =
false;
CreateAssetModelRequest & WithAssetModelId(Aws::String &&value)
CreateAssetModelRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateAssetModelRequest & WithAssetModelProperties(const Aws::Vector< AssetModelPropertyDefinition > &value)
void SetAssetModelId(Aws::String &&value)
bool ClientTokenHasBeenSet() const
void SetAssetModelHierarchies(const Aws::Vector< AssetModelHierarchyDefinition > &value)
CreateAssetModelRequest & WithAssetModelId(const char *value)
bool AssetModelCompositeModelsHasBeenSet() const
void SetAssetModelHierarchies(Aws::Vector< AssetModelHierarchyDefinition > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClientToken(Aws::String &&value)
const Aws::String & GetAssetModelExternalId() const
void SetAssetModelExternalId(const char *value)
CreateAssetModelRequest & AddAssetModelCompositeModels(AssetModelCompositeModelDefinition &&value)
void SetAssetModelType(const AssetModelType &value)
CreateAssetModelRequest & AddAssetModelHierarchies(const AssetModelHierarchyDefinition &value)
const AssetModelType & GetAssetModelType() const
void SetAssetModelDescription(const char *value)
void SetClientToken(const char *value)
bool AssetModelNameHasBeenSet() const
CreateAssetModelRequest & AddAssetModelCompositeModels(const AssetModelCompositeModelDefinition &value)
void SetAssetModelExternalId(const Aws::String &value)
void SetAssetModelExternalId(Aws::String &&value)
bool TagsHasBeenSet() const
CreateAssetModelRequest & WithAssetModelType(const AssetModelType &value)
void SetAssetModelName(const char *value)
void SetAssetModelCompositeModels(const Aws::Vector< AssetModelCompositeModelDefinition > &value)
const Aws::Vector< AssetModelPropertyDefinition > & GetAssetModelProperties() const
bool AssetModelExternalIdHasBeenSet() const
const Aws::String & GetClientToken() const
CreateAssetModelRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool AssetModelHierarchiesHasBeenSet() const
CreateAssetModelRequest & WithAssetModelId(const Aws::String &value)
CreateAssetModelRequest & WithAssetModelCompositeModels(Aws::Vector< AssetModelCompositeModelDefinition > &&value)
void SetAssetModelDescription(const Aws::String &value)
CreateAssetModelRequest & WithAssetModelDescription(Aws::String &&value)
void SetAssetModelId(const Aws::String &value)
CreateAssetModelRequest & AddTags(Aws::String &&key, const char *value)
CreateAssetModelRequest & WithAssetModelType(AssetModelType &&value)
CreateAssetModelRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAssetModelRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_IOTSITEWISE_API CreateAssetModelRequest()
CreateAssetModelRequest & WithAssetModelExternalId(const Aws::String &value)
void SetAssetModelProperties(Aws::Vector< AssetModelPropertyDefinition > &&value)
void SetAssetModelDescription(Aws::String &&value)
CreateAssetModelRequest & WithClientToken(Aws::String &&value)
bool AssetModelTypeHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAssetModelProperties(const Aws::Vector< AssetModelPropertyDefinition > &value)
CreateAssetModelRequest & AddTags(const char *key, const char *value)
CreateAssetModelRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Vector< AssetModelCompositeModelDefinition > & GetAssetModelCompositeModels() const
const Aws::String & GetAssetModelName() const
void SetAssetModelId(const char *value)
CreateAssetModelRequest & WithAssetModelProperties(Aws::Vector< AssetModelPropertyDefinition > &&value)
virtual const char * GetServiceRequestName() const override
CreateAssetModelRequest & WithAssetModelExternalId(const char *value)
void SetAssetModelCompositeModels(Aws::Vector< AssetModelCompositeModelDefinition > &&value)
bool AssetModelDescriptionHasBeenSet() const
bool AssetModelPropertiesHasBeenSet() const
CreateAssetModelRequest & WithAssetModelDescription(const char *value)
CreateAssetModelRequest & AddTags(const char *key, Aws::String &&value)
void SetAssetModelType(AssetModelType &&value)
const Aws::Vector< AssetModelHierarchyDefinition > & GetAssetModelHierarchies() const
CreateAssetModelRequest & WithAssetModelExternalId(Aws::String &&value)
void SetAssetModelName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
CreateAssetModelRequest & AddAssetModelProperties(AssetModelPropertyDefinition &&value)
CreateAssetModelRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssetModelRequest & WithAssetModelHierarchies(Aws::Vector< AssetModelHierarchyDefinition > &&value)
CreateAssetModelRequest & WithAssetModelHierarchies(const Aws::Vector< AssetModelHierarchyDefinition > &value)
CreateAssetModelRequest & WithAssetModelCompositeModels(const Aws::Vector< AssetModelCompositeModelDefinition > &value)
CreateAssetModelRequest & AddAssetModelProperties(const AssetModelPropertyDefinition &value)
const Aws::String & GetAssetModelDescription() const
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
CreateAssetModelRequest & AddAssetModelHierarchies(AssetModelHierarchyDefinition &&value)
CreateAssetModelRequest & WithClientToken(const Aws::String &value)
bool AssetModelIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetAssetModelId() const
CreateAssetModelRequest & WithAssetModelDescription(const Aws::String &value)
CreateAssetModelRequest & WithAssetModelName(const Aws::String &value)
CreateAssetModelRequest & WithAssetModelName(const char *value)
CreateAssetModelRequest & WithClientToken(const char *value)
void SetAssetModelName(Aws::String &&value)
CreateAssetModelRequest & WithAssetModelName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector