7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iot/model/PackageVersionArtifact.h>
11#include <aws/iot/model/PackageVersionStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/iot/model/Sbom.h>
14#include <aws/iot/model/SbomValidationStatus.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template<
typename PackageVersionArnT = Aws::String>
47 void SetPackageVersionArn(PackageVersionArnT&& value) { m_packageVersionArnHasBeenSet =
true; m_packageVersionArn = std::forward<PackageVersionArnT>(value); }
48 template<
typename PackageVersionArnT = Aws::String>
57 template<
typename PackageNameT = Aws::String>
58 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet =
true; m_packageName = std::forward<PackageNameT>(value); }
59 template<
typename PackageNameT = Aws::String>
68 template<
typename VersionNameT = Aws::String>
69 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet =
true; m_versionName = std::forward<VersionNameT>(value); }
70 template<
typename VersionNameT = Aws::String>
79 template<
typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
81 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;
106 template<
typename ArtifactT = PackageVersionArtifact>
107 void SetArtifact(ArtifactT&& value) { m_artifactHasBeenSet =
true; m_artifact = std::forward<ArtifactT>(value); }
108 template<
typename ArtifactT = PackageVersionArtifact>
128 template<
typename ErrorReasonT = Aws::String>
129 void SetErrorReason(ErrorReasonT&& value) { m_errorReasonHasBeenSet =
true; m_errorReason = std::forward<ErrorReasonT>(value); }
130 template<
typename ErrorReasonT = Aws::String>
139 template<
typename CreationDateT = Aws::Utils::DateTime>
140 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
141 template<
typename CreationDateT = Aws::Utils::DateTime>
150 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
151 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
152 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
161 template<
typename SbomT = Sbom>
162 void SetSbom(SbomT&& value) { m_sbomHasBeenSet =
true; m_sbom = std::forward<SbomT>(value); }
163 template<
typename SbomT = Sbom>
183 template<
typename RecipeT = Aws::String>
184 void SetRecipe(RecipeT&& value) { m_recipeHasBeenSet =
true; m_recipe = std::forward<RecipeT>(value); }
185 template<
typename RecipeT = Aws::String>
192 template<
typename RequestIdT = Aws::String>
193 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
194 template<
typename RequestIdT = Aws::String>
200 bool m_packageVersionArnHasBeenSet =
false;
203 bool m_packageNameHasBeenSet =
false;
206 bool m_versionNameHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
212 bool m_attributesHasBeenSet =
false;
215 bool m_artifactHasBeenSet =
false;
218 bool m_statusHasBeenSet =
false;
221 bool m_errorReasonHasBeenSet =
false;
224 bool m_creationDateHasBeenSet =
false;
227 bool m_lastModifiedDateHasBeenSet =
false;
230 bool m_sbomHasBeenSet =
false;
233 bool m_sbomValidationStatusHasBeenSet =
false;
236 bool m_recipeHasBeenSet =
false;
239 bool m_requestIdHasBeenSet =
false;
AWS_IOT_API GetPackageVersionResult()=default
void SetStatus(PackageVersionStatus value)
const Aws::String & GetDescription() 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