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>
11#include <aws/iot/model/PackageVersionArtifact.h>
12#include <aws/iot/model/PackageVersionAction.h>
14#include <aws/core/utils/UUID.h>
53 inline void SetPackageName(
const char* value) { m_packageNameHasBeenSet =
true; m_packageName.assign(value); }
67 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
81 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
146 inline void SetRecipe(
const char* value) { m_recipeHasBeenSet =
true; m_recipe.assign(value); }
162 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
170 bool m_packageNameHasBeenSet =
false;
173 bool m_versionNameHasBeenSet =
false;
176 bool m_descriptionHasBeenSet =
false;
179 bool m_attributesHasBeenSet =
false;
182 bool m_artifactHasBeenSet =
false;
185 bool m_actionHasBeenSet =
false;
188 bool m_recipeHasBeenSet =
false;
191 bool m_clientTokenHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
AWS_IOT_API UpdatePackageVersionRequest()
UpdatePackageVersionRequest & WithPackageName(const Aws::String &value)
const Aws::String & GetRecipe() const
UpdatePackageVersionRequest & WithDescription(const Aws::String &value)
UpdatePackageVersionRequest & WithArtifact(const PackageVersionArtifact &value)
UpdatePackageVersionRequest & WithClientToken(const Aws::String &value)
UpdatePackageVersionRequest & WithAction(PackageVersionAction &&value)
AWS_IOT_API Aws::String SerializePayload() const override
UpdatePackageVersionRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
UpdatePackageVersionRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UpdatePackageVersionRequest & WithVersionName(const Aws::String &value)
UpdatePackageVersionRequest & WithVersionName(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
UpdatePackageVersionRequest & WithRecipe(const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetDescription(const Aws::String &value)
UpdatePackageVersionRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
const Aws::String & GetClientToken() const
UpdatePackageVersionRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
UpdatePackageVersionRequest & AddAttributes(const char *key, const char *value)
UpdatePackageVersionRequest & WithDescription(Aws::String &&value)
void SetRecipe(const Aws::String &value)
bool ActionHasBeenSet() const
const Aws::String & GetVersionName() const
UpdatePackageVersionRequest & AddAttributes(const char *key, Aws::String &&value)
void SetAction(const PackageVersionAction &value)
void SetRecipe(Aws::String &&value)
UpdatePackageVersionRequest & WithClientToken(Aws::String &&value)
UpdatePackageVersionRequest & WithPackageName(const char *value)
UpdatePackageVersionRequest & WithAction(const PackageVersionAction &value)
void SetArtifact(const PackageVersionArtifact &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool PackageNameHasBeenSet() const
UpdatePackageVersionRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
UpdatePackageVersionRequest & WithClientToken(const char *value)
void SetPackageName(const Aws::String &value)
UpdatePackageVersionRequest & AddAttributes(Aws::String &&key, const char *value)
UpdatePackageVersionRequest & WithPackageName(Aws::String &&value)
bool VersionNameHasBeenSet() const
void SetArtifact(PackageVersionArtifact &&value)
bool AttributesHasBeenSet() const
UpdatePackageVersionRequest & WithRecipe(const char *value)
void SetClientToken(const char *value)
UpdatePackageVersionRequest & WithArtifact(PackageVersionArtifact &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetVersionName(const char *value)
UpdatePackageVersionRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetRecipe(const char *value)
UpdatePackageVersionRequest & WithVersionName(Aws::String &&value)
UpdatePackageVersionRequest & WithRecipe(Aws::String &&value)
void SetPackageName(const char *value)
const PackageVersionAction & GetAction() const
void SetAction(PackageVersionAction &&value)
const PackageVersionArtifact & GetArtifact() const
void SetDescription(Aws::String &&value)
const Aws::String & GetPackageName() const
bool RecipeHasBeenSet() const
void SetClientToken(const Aws::String &value)
void SetDescription(const char *value)
bool ArtifactHasBeenSet() const
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
bool ClientTokenHasBeenSet() const
void SetPackageName(Aws::String &&value)
UpdatePackageVersionRequest & WithDescription(const char *value)
void SetVersionName(const Aws::String &value)
void SetClientToken(Aws::String &&value)
const Aws::String & GetDescription() const
void SetVersionName(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