7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename ReleaseDateT = Aws::Utils::DateTime>
62 void SetReleaseDate(ReleaseDateT&& value) { m_releaseDateHasBeenSet =
true; m_releaseDate = std::forward<ReleaseDateT>(value); }
63 template<
typename ReleaseDateT = Aws::Utils::DateTime>
73 template<
typename TitleT = Aws::String>
74 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
75 template<
typename TitleT = Aws::String>
85 template<
typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
87 template<
typename DescriptionT = Aws::String>
97 template<
typename ContentUrlT = Aws::String>
98 void SetContentUrl(ContentUrlT&& value) { m_contentUrlHasBeenSet =
true; m_contentUrl = std::forward<ContentUrlT>(value); }
99 template<
typename ContentUrlT = Aws::String>
109 template<
typename VendorT = Aws::String>
110 void SetVendor(VendorT&& value) { m_vendorHasBeenSet =
true; m_vendor = std::forward<VendorT>(value); }
111 template<
typename VendorT = Aws::String>
122 template<
typename ProductFamilyT = Aws::String>
123 void SetProductFamily(ProductFamilyT&& value) { m_productFamilyHasBeenSet =
true; m_productFamily = std::forward<ProductFamilyT>(value); }
124 template<
typename ProductFamilyT = Aws::String>
135 template<
typename ProductT = Aws::String>
136 void SetProduct(ProductT&& value) { m_productHasBeenSet =
true; m_product = std::forward<ProductT>(value); }
137 template<
typename ProductT = Aws::String>
148 template<
typename ClassificationT = Aws::String>
149 void SetClassification(ClassificationT&& value) { m_classificationHasBeenSet =
true; m_classification = std::forward<ClassificationT>(value); }
150 template<
typename ClassificationT = Aws::String>
162 template<
typename MsrcSeverityT = Aws::String>
163 void SetMsrcSeverity(MsrcSeverityT&& value) { m_msrcSeverityHasBeenSet =
true; m_msrcSeverity = std::forward<MsrcSeverityT>(value); }
164 template<
typename MsrcSeverityT = Aws::String>
175 template<
typename KbNumberT = Aws::String>
176 void SetKbNumber(KbNumberT&& value) { m_kbNumberHasBeenSet =
true; m_kbNumber = std::forward<KbNumberT>(value); }
177 template<
typename KbNumberT = Aws::String>
189 template<
typename MsrcNumberT = Aws::String>
190 void SetMsrcNumber(MsrcNumberT&& value) { m_msrcNumberHasBeenSet =
true; m_msrcNumber = std::forward<MsrcNumberT>(value); }
191 template<
typename MsrcNumberT = Aws::String>
201 template<
typename LanguageT = Aws::String>
202 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet =
true; m_language = std::forward<LanguageT>(value); }
203 template<
typename LanguageT = Aws::String>
214 template<
typename AdvisoryIdsT = Aws::Vector<Aws::String>>
215 void SetAdvisoryIds(AdvisoryIdsT&& value) { m_advisoryIdsHasBeenSet =
true; m_advisoryIds = std::forward<AdvisoryIdsT>(value); }
216 template<
typename AdvisoryIdsT = Aws::Vector<Aws::String>>
218 template<
typename AdvisoryIdsT = Aws::String>
219 Patch&
AddAdvisoryIds(AdvisoryIdsT&& value) { m_advisoryIdsHasBeenSet =
true; m_advisoryIds.emplace_back(std::forward<AdvisoryIdsT>(value));
return *
this; }
229 template<
typename BugzillaIdsT = Aws::Vector<Aws::String>>
230 void SetBugzillaIds(BugzillaIdsT&& value) { m_bugzillaIdsHasBeenSet =
true; m_bugzillaIds = std::forward<BugzillaIdsT>(value); }
231 template<
typename BugzillaIdsT = Aws::Vector<Aws::String>>
233 template<
typename BugzillaIdsT = Aws::String>
234 Patch&
AddBugzillaIds(BugzillaIdsT&& value) { m_bugzillaIdsHasBeenSet =
true; m_bugzillaIds.emplace_back(std::forward<BugzillaIdsT>(value));
return *
this; }
244 template<
typename CVEIdsT = Aws::Vector<Aws::String>>
245 void SetCVEIds(CVEIdsT&& value) { m_cVEIdsHasBeenSet =
true; m_cVEIds = std::forward<CVEIdsT>(value); }
246 template<
typename CVEIdsT = Aws::Vector<Aws::String>>
248 template<
typename CVEIdsT = Aws::String>
249 Patch&
AddCVEIds(CVEIdsT&& value) { m_cVEIdsHasBeenSet =
true; m_cVEIds.emplace_back(std::forward<CVEIdsT>(value));
return *
this; }
258 template<
typename NameT = Aws::String>
259 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
260 template<
typename NameT = Aws::String>
272 inline void SetEpoch(
int value) { m_epochHasBeenSet =
true; m_epoch = value; }
284 template<
typename VersionT = Aws::String>
285 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
286 template<
typename VersionT = Aws::String>
298 template<
typename ReleaseT = Aws::String>
299 void SetRelease(ReleaseT&& value) { m_releaseHasBeenSet =
true; m_release = std::forward<ReleaseT>(value); }
300 template<
typename ReleaseT = Aws::String>
312 template<
typename ArchT = Aws::String>
313 void SetArch(ArchT&& value) { m_archHasBeenSet =
true; m_arch = std::forward<ArchT>(value); }
314 template<
typename ArchT = Aws::String>
325 template<
typename SeverityT = Aws::String>
326 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
327 template<
typename SeverityT = Aws::String>
340 template<
typename RepositoryT = Aws::String>
341 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet =
true; m_repository = std::forward<RepositoryT>(value); }
342 template<
typename RepositoryT = Aws::String>
348 bool m_idHasBeenSet =
false;
351 bool m_releaseDateHasBeenSet =
false;
354 bool m_titleHasBeenSet =
false;
357 bool m_descriptionHasBeenSet =
false;
360 bool m_contentUrlHasBeenSet =
false;
363 bool m_vendorHasBeenSet =
false;
366 bool m_productFamilyHasBeenSet =
false;
369 bool m_productHasBeenSet =
false;
372 bool m_classificationHasBeenSet =
false;
375 bool m_msrcSeverityHasBeenSet =
false;
378 bool m_kbNumberHasBeenSet =
false;
381 bool m_msrcNumberHasBeenSet =
false;
384 bool m_languageHasBeenSet =
false;
387 bool m_advisoryIdsHasBeenSet =
false;
390 bool m_bugzillaIdsHasBeenSet =
false;
393 bool m_cVEIdsHasBeenSet =
false;
396 bool m_nameHasBeenSet =
false;
399 bool m_epochHasBeenSet =
false;
402 bool m_versionHasBeenSet =
false;
405 bool m_releaseHasBeenSet =
false;
408 bool m_archHasBeenSet =
false;
411 bool m_severityHasBeenSet =
false;
414 bool m_repositoryHasBeenSet =
false;
Patch & WithClassification(ClassificationT &&value)
const Aws::String & GetArch() const
Patch & WithProduct(ProductT &&value)
const Aws::String & GetContentUrl() const
const Aws::String & GetName() const
Patch & WithMsrcNumber(MsrcNumberT &&value)
Patch & WithDescription(DescriptionT &&value)
bool ReleaseHasBeenSet() const
const Aws::Utils::DateTime & GetReleaseDate() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetProductFamily() const
const Aws::String & GetMsrcNumber() const
Patch & WithVersion(VersionT &&value)
bool EpochHasBeenSet() const
bool ContentUrlHasBeenSet() const
bool IdHasBeenSet() const
void SetProductFamily(ProductFamilyT &&value)
bool VersionHasBeenSet() const
Patch & WithCVEIds(CVEIdsT &&value)
bool LanguageHasBeenSet() const
bool RepositoryHasBeenSet() const
void SetDescription(DescriptionT &&value)
Patch & AddCVEIds(CVEIdsT &&value)
Patch & WithId(IdT &&value)
Patch & WithSeverity(SeverityT &&value)
bool ArchHasBeenSet() const
void SetReleaseDate(ReleaseDateT &&value)
const Aws::String & GetRepository() const
void SetArch(ArchT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool ReleaseDateHasBeenSet() const
const Aws::String & GetRelease() const
const Aws::String & GetTitle() const
void SetClassification(ClassificationT &&value)
Patch & WithMsrcSeverity(MsrcSeverityT &&value)
void SetSeverity(SeverityT &&value)
Patch & WithProductFamily(ProductFamilyT &&value)
void SetContentUrl(ContentUrlT &&value)
const Aws::String & GetClassification() const
void SetProduct(ProductT &&value)
const Aws::String & GetSeverity() const
Patch & WithVendor(VendorT &&value)
void SetVersion(VersionT &&value)
void SetAdvisoryIds(AdvisoryIdsT &&value)
bool ProductFamilyHasBeenSet() const
void SetLanguage(LanguageT &&value)
const Aws::String & GetKbNumber() const
AWS_SSM_API Patch()=default
const Aws::String & GetVendor() const
void SetCVEIds(CVEIdsT &&value)
bool TitleHasBeenSet() const
Patch & WithName(NameT &&value)
Patch & WithRepository(RepositoryT &&value)
const Aws::String & GetProduct() const
const Aws::Vector< Aws::String > & GetCVEIds() const
bool MsrcSeverityHasBeenSet() const
Patch & WithKbNumber(KbNumberT &&value)
void SetTitle(TitleT &&value)
Patch & AddAdvisoryIds(AdvisoryIdsT &&value)
Patch & WithAdvisoryIds(AdvisoryIdsT &&value)
const Aws::String & GetDescription() const
void SetBugzillaIds(BugzillaIdsT &&value)
const Aws::String & GetMsrcSeverity() const
bool ClassificationHasBeenSet() const
void SetRepository(RepositoryT &&value)
const Aws::String & GetId() const
Patch & WithArch(ArchT &&value)
Patch & WithReleaseDate(ReleaseDateT &&value)
bool KbNumberHasBeenSet() const
bool MsrcNumberHasBeenSet() const
AWS_SSM_API Patch(Aws::Utils::Json::JsonView jsonValue)
Patch & WithContentUrl(ContentUrlT &&value)
void SetVendor(VendorT &&value)
const Aws::String & GetLanguage() const
AWS_SSM_API Patch & operator=(Aws::Utils::Json::JsonView jsonValue)
Patch & WithRelease(ReleaseT &&value)
bool AdvisoryIdsHasBeenSet() const
Patch & WithLanguage(LanguageT &&value)
bool ProductHasBeenSet() const
const Aws::Vector< Aws::String > & GetBugzillaIds() const
const Aws::Vector< Aws::String > & GetAdvisoryIds() const
bool VendorHasBeenSet() const
Patch & WithEpoch(int value)
Patch & WithBugzillaIds(BugzillaIdsT &&value)
void SetMsrcNumber(MsrcNumberT &&value)
void SetKbNumber(KbNumberT &&value)
bool BugzillaIdsHasBeenSet() const
const Aws::String & GetVersion() const
Patch & WithTitle(TitleT &&value)
bool DescriptionHasBeenSet() const
void SetMsrcSeverity(MsrcSeverityT &&value)
bool CVEIdsHasBeenSet() const
bool SeverityHasBeenSet() const
Patch & AddBugzillaIds(BugzillaIdsT &&value)
void SetRelease(ReleaseT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue