7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/IoTRequest.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/PackageVersionAction.h>
13#include <aws/iot/model/PackageVersionArtifact.h>
46 template <
typename PackageNameT = Aws::String>
48 m_packageNameHasBeenSet =
true;
49 m_packageName = std::forward<PackageNameT>(value);
51 template <
typename PackageNameT = Aws::String>
64 template <
typename VersionNameT = Aws::String>
66 m_versionNameHasBeenSet =
true;
67 m_versionName = std::forward<VersionNameT>(value);
69 template <
typename VersionNameT = Aws::String>
82 template <
typename DescriptionT = Aws::String>
84 m_descriptionHasBeenSet =
true;
85 m_description = std::forward<DescriptionT>(value);
87 template <
typename DescriptionT = Aws::String>
104 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
106 m_attributesHasBeenSet =
true;
107 m_attributes = std::forward<AttributesT>(value);
109 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
114 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
116 m_attributesHasBeenSet =
true;
117 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
128 template <
typename ArtifactT = PackageVersionArtifact>
130 m_artifactHasBeenSet =
true;
131 m_artifact = std::forward<ArtifactT>(value);
133 template <
typename ArtifactT = PackageVersionArtifact>
150 m_actionHasBeenSet =
true;
166 template <
typename RecipeT = Aws::String>
168 m_recipeHasBeenSet =
true;
169 m_recipe = std::forward<RecipeT>(value);
171 template <
typename RecipeT = Aws::String>
186 template <
typename ClientTokenT = Aws::String>
188 m_clientTokenHasBeenSet =
true;
189 m_clientToken = std::forward<ClientTokenT>(value);
191 template <
typename ClientTokenT = Aws::String>
213 bool m_packageNameHasBeenSet =
false;
214 bool m_versionNameHasBeenSet =
false;
215 bool m_descriptionHasBeenSet =
false;
216 bool m_attributesHasBeenSet =
false;
217 bool m_artifactHasBeenSet =
false;
218 bool m_actionHasBeenSet =
false;
219 bool m_recipeHasBeenSet =
false;
220 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