7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.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>
51 inline void SetPackageName(
const char* value) { m_packageNameHasBeenSet =
true; m_packageName.assign(value); }
66 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
88 inline CreatePackageRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
101 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
109 bool m_packageNameHasBeenSet =
false;
112 bool m_descriptionHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
false;
118 bool m_clientTokenHasBeenSet =
false;
void SetClientToken(const Aws::String &value)
CreatePackageRequest & WithClientToken(Aws::String &&value)
void SetClientToken(const char *value)
const Aws::String & GetClientToken() const
AWS_IOT_API Aws::String SerializePayload() const override
void SetPackageName(const Aws::String &value)
CreatePackageRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackageRequest & AddTags(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_IOT_API CreatePackageRequest()
void SetPackageName(Aws::String &&value)
CreatePackageRequest & WithDescription(const Aws::String &value)
CreatePackageRequest & AddTags(const char *key, Aws::String &&value)
CreatePackageRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetPackageName() const
CreatePackageRequest & WithPackageName(Aws::String &&value)
const Aws::String & GetDescription() const
CreatePackageRequest & WithClientToken(const char *value)
CreatePackageRequest & WithDescription(Aws::String &&value)
bool TagsHasBeenSet() const
void SetPackageName(const char *value)
CreatePackageRequest & WithDescription(const char *value)
void SetDescription(const char *value)
CreatePackageRequest & AddTags(Aws::String &&key, const char *value)
void SetDescription(Aws::String &&value)
CreatePackageRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreatePackageRequest & WithClientToken(const Aws::String &value)
CreatePackageRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const Aws::String &value)
CreatePackageRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetClientToken(Aws::String &&value)
CreatePackageRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreatePackageRequest & WithPackageName(const Aws::String &value)
bool PackageNameHasBeenSet() const
CreatePackageRequest & WithPackageName(const char *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