7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/PackageVersionArtifact.h>
13#include <aws/iot/model/PackageVersionStatus.h>
14#include <aws/iot/model/Sbom.h>
15#include <aws/iot/model/SbomValidationStatus.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename PackageVersionArnT = Aws::String>
43 m_packageVersionArnHasBeenSet =
true;
44 m_packageVersionArn = std::forward<PackageVersionArnT>(value);
46 template <
typename PackageVersionArnT = Aws::String>
58 template <
typename PackageNameT = Aws::String>
60 m_packageNameHasBeenSet =
true;
61 m_packageName = std::forward<PackageNameT>(value);
63 template <
typename PackageNameT = Aws::String>
75 template <
typename VersionNameT = Aws::String>
77 m_versionNameHasBeenSet =
true;
78 m_versionName = std::forward<VersionNameT>(value);
80 template <
typename VersionNameT = Aws::String>
92 template <
typename DescriptionT = Aws::String>
94 m_descriptionHasBeenSet =
true;
95 m_description = std::forward<DescriptionT>(value);
97 template <
typename DescriptionT = Aws::String>
110 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
112 m_attributesHasBeenSet =
true;
113 m_attributes = std::forward<AttributesT>(value);
115 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
120 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
122 m_attributesHasBeenSet =
true;
123 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
133 template <
typename ArtifactT = PackageVersionArtifact>
135 m_artifactHasBeenSet =
true;
136 m_artifact = std::forward<ArtifactT>(value);
138 template <
typename ArtifactT = PackageVersionArtifact>
153 m_statusHasBeenSet =
true;
167 template <
typename ErrorReasonT = Aws::String>
169 m_errorReasonHasBeenSet =
true;
170 m_errorReason = std::forward<ErrorReasonT>(value);
172 template <
typename ErrorReasonT = Aws::String>
184 template <
typename CreationDateT = Aws::Utils::DateTime>
186 m_creationDateHasBeenSet =
true;
187 m_creationDate = std::forward<CreationDateT>(value);
189 template <
typename CreationDateT = Aws::Utils::DateTime>
201 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
203 m_lastModifiedDateHasBeenSet =
true;
204 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
206 template <
typename LastModifiedDateT = Aws::Utils::DateTime>
218 template <
typename SbomT = Sbom>
220 m_sbomHasBeenSet =
true;
221 m_sbom = std::forward<SbomT>(value);
223 template <
typename SbomT = Sbom>
225 SetSbom(std::forward<SbomT>(value));
237 m_sbomValidationStatusHasBeenSet =
true;
238 m_sbomValidationStatus = value;
252 template <
typename RecipeT = Aws::String>
254 m_recipeHasBeenSet =
true;
255 m_recipe = std::forward<RecipeT>(value);
257 template <
typename RecipeT = Aws::String>
267 template <
typename RequestIdT = Aws::String>
269 m_requestIdHasBeenSet =
true;
270 m_requestId = std::forward<RequestIdT>(value);
272 template <
typename RequestIdT = Aws::String>
309 bool m_packageVersionArnHasBeenSet =
false;
310 bool m_packageNameHasBeenSet =
false;
311 bool m_versionNameHasBeenSet =
false;
312 bool m_descriptionHasBeenSet =
false;
313 bool m_attributesHasBeenSet =
false;
314 bool m_artifactHasBeenSet =
false;
315 bool m_statusHasBeenSet =
false;
316 bool m_errorReasonHasBeenSet =
false;
317 bool m_creationDateHasBeenSet =
false;
318 bool m_lastModifiedDateHasBeenSet =
false;
319 bool m_sbomHasBeenSet =
false;
320 bool m_sbomValidationStatusHasBeenSet =
false;
321 bool m_recipeHasBeenSet =
false;
322 bool m_requestIdHasBeenSet =
false;
AWS_IOT_API GetPackageVersionResult()=default
void SetStatus(PackageVersionStatus value)
const Aws::String & GetDescription() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreationDate() const
GetPackageVersionResult & WithStatus(PackageVersionStatus value)
GetPackageVersionResult & WithSbomValidationStatus(SbomValidationStatus value)
void SetPackageName(PackageNameT &&value)
GetPackageVersionResult & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRecipe() const
AWS_IOT_API GetPackageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageVersionResult & WithLastModifiedDate(LastModifiedDateT &&value)
SbomValidationStatus GetSbomValidationStatus() const
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetRecipe(RecipeT &&value)
GetPackageVersionResult & WithRecipe(RecipeT &&value)
GetPackageVersionResult & WithErrorReason(ErrorReasonT &&value)
const Aws::String & GetRequestId() const
GetPackageVersionResult & WithRequestId(RequestIdT &&value)
GetPackageVersionResult & WithAttributes(AttributesT &&value)
void SetSbomValidationStatus(SbomValidationStatus value)
GetPackageVersionResult & WithSbom(SbomT &&value)
PackageVersionStatus GetStatus() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
AWS_IOT_API GetPackageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageVersionResult & WithCreationDate(CreationDateT &&value)
const Aws::String & GetErrorReason() const
void SetCreationDate(CreationDateT &&value)
const Sbom & GetSbom() const
void SetAttributes(AttributesT &&value)
const PackageVersionArtifact & GetArtifact() const
GetPackageVersionResult & WithArtifact(ArtifactT &&value)
void SetPackageVersionArn(PackageVersionArnT &&value)
const Aws::String & GetPackageVersionArn() const
GetPackageVersionResult & WithPackageVersionArn(PackageVersionArnT &&value)
const Aws::String & GetPackageName() const
GetPackageVersionResult & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
void SetErrorReason(ErrorReasonT &&value)
GetPackageVersionResult & WithVersionName(VersionNameT &&value)
GetPackageVersionResult & WithPackageName(PackageNameT &&value)
void SetSbom(SbomT &&value)
void SetVersionName(VersionNameT &&value)
void SetDescription(DescriptionT &&value)
void SetArtifact(ArtifactT &&value)
const Aws::String & GetVersionName() const
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
Aws::Utils::Json::JsonValue JsonValue