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>
51 template<
typename PackageNameT = Aws::String>
52 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet =
true; m_packageName = std::forward<PackageNameT>(value); }
53 template<
typename PackageNameT = Aws::String>
63 template<
typename VersionNameT = Aws::String>
64 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
65 template<
typename VersionNameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
91 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
92 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
93 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
95 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
97 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
107 template<
typename ArtifactT = PackageVersionArtifact>
108 void SetArtifact(ArtifactT&& value) { m_artifactHasBeenSet =
true; m_artifact = std::forward<ArtifactT>(value); }
109 template<
typename ArtifactT = PackageVersionArtifact>
133 template<
typename RecipeT = Aws::String>
134 void SetRecipe(RecipeT&& value) { m_recipeHasBeenSet =
true; m_recipe = std::forward<RecipeT>(value); }
135 template<
typename RecipeT = Aws::String>
147 template<
typename ClientTokenT = Aws::String>
148 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
149 template<
typename ClientTokenT = Aws::String>
155 bool m_packageNameHasBeenSet =
false;
158 bool m_versionNameHasBeenSet =
false;
161 bool m_descriptionHasBeenSet =
false;
164 bool m_attributesHasBeenSet =
false;
167 bool m_artifactHasBeenSet =
false;
170 bool m_actionHasBeenSet =
false;
173 bool m_recipeHasBeenSet =
false;
176 bool m_clientTokenHasBeenSet =
true;
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRecipe() const
void SetDescription(DescriptionT &&value)
void SetPackageName(PackageNameT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
UpdatePackageVersionRequest & WithDescription(DescriptionT &&value)
PackageVersionAction GetAction() const
UpdatePackageVersionRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
UpdatePackageVersionRequest & WithVersionName(VersionNameT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetClientToken() const
UpdatePackageVersionRequest & WithPackageName(PackageNameT &&value)
UpdatePackageVersionRequest & WithArtifact(ArtifactT &&value)
bool ActionHasBeenSet() const
const Aws::String & GetVersionName() const
void SetClientToken(ClientTokenT &&value)
UpdatePackageVersionRequest & WithAction(PackageVersionAction value)
void SetVersionName(VersionNameT &&value)
UpdatePackageVersionRequest & WithClientToken(ClientTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
bool PackageNameHasBeenSet() const
void SetAttributes(AttributesT &&value)
UpdatePackageVersionRequest & WithAttributes(AttributesT &&value)
bool VersionNameHasBeenSet() const
bool AttributesHasBeenSet() const
void SetArtifact(ArtifactT &&value)
const PackageVersionArtifact & GetArtifact() const
const Aws::String & GetPackageName() const
bool RecipeHasBeenSet() const
bool ArtifactHasBeenSet() const
UpdatePackageVersionRequest & WithRecipe(RecipeT &&value)
void SetRecipe(RecipeT &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_IOT_API UpdatePackageVersionRequest()=default
bool ClientTokenHasBeenSet() const
const Aws::String & GetDescription() const
void SetAction(PackageVersionAction value)
static Aws::Utils::UUID PseudoRandomUUID()
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