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/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
45 inline void SetAssetName(
const char* value) { m_assetNameHasBeenSet =
true; m_assetName.assign(value); }
63 inline void SetAssetModelId(
const char* value) { m_assetModelIdHasBeenSet =
true; m_assetModelId.assign(value); }
79 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
104 inline CreateAssetRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
115 inline void SetAssetDescription(
const char* value) { m_assetDescriptionHasBeenSet =
true; m_assetDescription.assign(value); }
132 inline void SetAssetId(
const char* value) { m_assetIdHasBeenSet =
true; m_assetId.assign(value); }
149 inline void SetAssetExternalId(
const char* value) { m_assetExternalIdHasBeenSet =
true; m_assetExternalId.assign(value); }
157 bool m_assetNameHasBeenSet =
false;
160 bool m_assetModelIdHasBeenSet =
false;
163 bool m_clientTokenHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
169 bool m_assetDescriptionHasBeenSet =
false;
172 bool m_assetIdHasBeenSet =
false;
175 bool m_assetExternalIdHasBeenSet =
false;
bool AssetModelIdHasBeenSet() const
CreateAssetRequest & WithClientToken(Aws::String &&value)
CreateAssetRequest & WithClientToken(const char *value)
CreateAssetRequest & WithAssetDescription(Aws::String &&value)
void SetAssetName(Aws::String &&value)
CreateAssetRequest & WithAssetName(const char *value)
const Aws::String & GetClientToken() const
void SetAssetId(const Aws::String &value)
const Aws::String & GetAssetExternalId() const
void SetAssetModelId(Aws::String &&value)
bool AssetDescriptionHasBeenSet() const
void SetAssetExternalId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssetRequest & WithAssetId(const Aws::String &value)
AWS_IOTSITEWISE_API CreateAssetRequest()
bool AssetIdHasBeenSet() const
CreateAssetRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool AssetExternalIdHasBeenSet() const
void SetAssetExternalId(const char *value)
const Aws::String & GetAssetId() const
CreateAssetRequest & WithAssetExternalId(Aws::String &&value)
CreateAssetRequest & WithAssetName(const Aws::String &value)
void SetAssetId(const char *value)
void SetClientToken(Aws::String &&value)
CreateAssetRequest & WithAssetId(const char *value)
CreateAssetRequest & WithAssetDescription(const Aws::String &value)
void SetAssetDescription(const Aws::String &value)
void SetAssetDescription(const char *value)
const Aws::String & GetAssetModelId() const
CreateAssetRequest & AddTags(const char *key, const char *value)
void SetClientToken(const Aws::String &value)
CreateAssetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
void SetAssetModelId(const char *value)
CreateAssetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TagsHasBeenSet() const
void SetAssetName(const Aws::String &value)
CreateAssetRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetAssetModelId(const Aws::String &value)
bool AssetNameHasBeenSet() const
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
CreateAssetRequest & WithAssetId(Aws::String &&value)
CreateAssetRequest & WithClientToken(const Aws::String &value)
CreateAssetRequest & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetAssetName() const
CreateAssetRequest & AddTags(const char *key, Aws::String &&value)
CreateAssetRequest & WithAssetExternalId(const char *value)
CreateAssetRequest & WithAssetName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetAssetName(const char *value)
CreateAssetRequest & WithAssetDescription(const char *value)
void SetAssetDescription(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetAssetExternalId(const Aws::String &value)
void SetAssetId(Aws::String &&value)
CreateAssetRequest & WithAssetModelId(Aws::String &&value)
void SetClientToken(const char *value)
bool ClientTokenHasBeenSet() const
CreateAssetRequest & WithAssetExternalId(const Aws::String &value)
CreateAssetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAssetRequest & WithAssetModelId(const Aws::String &value)
CreateAssetRequest & WithAssetModelId(const char *value)
const Aws::String & GetAssetDescription() const
CreateAssetRequest & AddTags(Aws::String &&key, 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