/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents metadata about a patch.See Also:
AWS API
* Reference
The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline Patch& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline Patch& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the patch (this is different than the Microsoft Knowledge Base * ID).
*/ inline Patch& WithId(const char* value) { SetId(value); return *this;} /** *The date the patch was released.
*/ inline const Aws::Utils::DateTime& GetReleaseDate() const{ return m_releaseDate; } /** *The date the patch was released.
*/ inline bool ReleaseDateHasBeenSet() const { return m_releaseDateHasBeenSet; } /** *The date the patch was released.
*/ inline void SetReleaseDate(const Aws::Utils::DateTime& value) { m_releaseDateHasBeenSet = true; m_releaseDate = value; } /** *The date the patch was released.
*/ inline void SetReleaseDate(Aws::Utils::DateTime&& value) { m_releaseDateHasBeenSet = true; m_releaseDate = std::move(value); } /** *The date the patch was released.
*/ inline Patch& WithReleaseDate(const Aws::Utils::DateTime& value) { SetReleaseDate(value); return *this;} /** *The date the patch was released.
*/ inline Patch& WithReleaseDate(Aws::Utils::DateTime&& value) { SetReleaseDate(std::move(value)); return *this;} /** *The title of the patch.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the patch.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the patch.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the patch.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the patch.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the patch.
*/ inline Patch& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the patch.
*/ inline Patch& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the patch.
*/ inline Patch& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The description of the patch.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the patch.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the patch.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the patch.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the patch.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the patch.
*/ inline Patch& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the patch.
*/ inline Patch& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the patch.
*/ inline Patch& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The URL where more information can be obtained about the patch.
*/ inline const Aws::String& GetContentUrl() const{ return m_contentUrl; } /** *The URL where more information can be obtained about the patch.
*/ inline bool ContentUrlHasBeenSet() const { return m_contentUrlHasBeenSet; } /** *The URL where more information can be obtained about the patch.
*/ inline void SetContentUrl(const Aws::String& value) { m_contentUrlHasBeenSet = true; m_contentUrl = value; } /** *The URL where more information can be obtained about the patch.
*/ inline void SetContentUrl(Aws::String&& value) { m_contentUrlHasBeenSet = true; m_contentUrl = std::move(value); } /** *The URL where more information can be obtained about the patch.
*/ inline void SetContentUrl(const char* value) { m_contentUrlHasBeenSet = true; m_contentUrl.assign(value); } /** *The URL where more information can be obtained about the patch.
*/ inline Patch& WithContentUrl(const Aws::String& value) { SetContentUrl(value); return *this;} /** *The URL where more information can be obtained about the patch.
*/ inline Patch& WithContentUrl(Aws::String&& value) { SetContentUrl(std::move(value)); return *this;} /** *The URL where more information can be obtained about the patch.
*/ inline Patch& WithContentUrl(const char* value) { SetContentUrl(value); return *this;} /** *The name of the vendor providing the patch.
*/ inline const Aws::String& GetVendor() const{ return m_vendor; } /** *The name of the vendor providing the patch.
*/ inline bool VendorHasBeenSet() const { return m_vendorHasBeenSet; } /** *The name of the vendor providing the patch.
*/ inline void SetVendor(const Aws::String& value) { m_vendorHasBeenSet = true; m_vendor = value; } /** *The name of the vendor providing the patch.
*/ inline void SetVendor(Aws::String&& value) { m_vendorHasBeenSet = true; m_vendor = std::move(value); } /** *The name of the vendor providing the patch.
*/ inline void SetVendor(const char* value) { m_vendorHasBeenSet = true; m_vendor.assign(value); } /** *The name of the vendor providing the patch.
*/ inline Patch& WithVendor(const Aws::String& value) { SetVendor(value); return *this;} /** *The name of the vendor providing the patch.
*/ inline Patch& WithVendor(Aws::String&& value) { SetVendor(std::move(value)); return *this;} /** *The name of the vendor providing the patch.
*/ inline Patch& WithVendor(const char* value) { SetVendor(value); return *this;} /** *The product family the patch is applicable for (for example, Windows).
*/ inline const Aws::String& GetProductFamily() const{ return m_productFamily; } /** *The product family the patch is applicable for (for example, Windows).
*/ inline bool ProductFamilyHasBeenSet() const { return m_productFamilyHasBeenSet; } /** *The product family the patch is applicable for (for example, Windows).
*/ inline void SetProductFamily(const Aws::String& value) { m_productFamilyHasBeenSet = true; m_productFamily = value; } /** *The product family the patch is applicable for (for example, Windows).
*/ inline void SetProductFamily(Aws::String&& value) { m_productFamilyHasBeenSet = true; m_productFamily = std::move(value); } /** *The product family the patch is applicable for (for example, Windows).
*/ inline void SetProductFamily(const char* value) { m_productFamilyHasBeenSet = true; m_productFamily.assign(value); } /** *The product family the patch is applicable for (for example, Windows).
*/ inline Patch& WithProductFamily(const Aws::String& value) { SetProductFamily(value); return *this;} /** *The product family the patch is applicable for (for example, Windows).
*/ inline Patch& WithProductFamily(Aws::String&& value) { SetProductFamily(std::move(value)); return *this;} /** *The product family the patch is applicable for (for example, Windows).
*/ inline Patch& WithProductFamily(const char* value) { SetProductFamily(value); return *this;} /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline const Aws::String& GetProduct() const{ return m_product; } /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline bool ProductHasBeenSet() const { return m_productHasBeenSet; } /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline void SetProduct(const Aws::String& value) { m_productHasBeenSet = true; m_product = value; } /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline void SetProduct(Aws::String&& value) { m_productHasBeenSet = true; m_product = std::move(value); } /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline void SetProduct(const char* value) { m_productHasBeenSet = true; m_product.assign(value); } /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline Patch& WithProduct(const Aws::String& value) { SetProduct(value); return *this;} /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline Patch& WithProduct(Aws::String&& value) { SetProduct(std::move(value)); return *this;} /** *The specific product the patch is applicable for (for example, * WindowsServer2016).
*/ inline Patch& WithProduct(const char* value) { SetProduct(value); return *this;} /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline const Aws::String& GetClassification() const{ return m_classification; } /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline bool ClassificationHasBeenSet() const { return m_classificationHasBeenSet; } /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline void SetClassification(const Aws::String& value) { m_classificationHasBeenSet = true; m_classification = value; } /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline void SetClassification(Aws::String&& value) { m_classificationHasBeenSet = true; m_classification = std::move(value); } /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline void SetClassification(const char* value) { m_classificationHasBeenSet = true; m_classification.assign(value); } /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline Patch& WithClassification(const Aws::String& value) { SetClassification(value); return *this;} /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline Patch& WithClassification(Aws::String&& value) { SetClassification(std::move(value)); return *this;} /** *The classification of the patch (for example, SecurityUpdates, Updates, * CriticalUpdates).
*/ inline Patch& WithClassification(const char* value) { SetClassification(value); return *this;} /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline const Aws::String& GetMsrcSeverity() const{ return m_msrcSeverity; } /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline bool MsrcSeverityHasBeenSet() const { return m_msrcSeverityHasBeenSet; } /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline void SetMsrcSeverity(const Aws::String& value) { m_msrcSeverityHasBeenSet = true; m_msrcSeverity = value; } /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline void SetMsrcSeverity(Aws::String&& value) { m_msrcSeverityHasBeenSet = true; m_msrcSeverity = std::move(value); } /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline void SetMsrcSeverity(const char* value) { m_msrcSeverityHasBeenSet = true; m_msrcSeverity.assign(value); } /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline Patch& WithMsrcSeverity(const Aws::String& value) { SetMsrcSeverity(value); return *this;} /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline Patch& WithMsrcSeverity(Aws::String&& value) { SetMsrcSeverity(std::move(value)); return *this;} /** *The severity of the patch (for example Critical, Important, Moderate).
*/ inline Patch& WithMsrcSeverity(const char* value) { SetMsrcSeverity(value); return *this;} /** *The Microsoft Knowledge Base ID of the patch.
*/ inline const Aws::String& GetKbNumber() const{ return m_kbNumber; } /** *The Microsoft Knowledge Base ID of the patch.
*/ inline bool KbNumberHasBeenSet() const { return m_kbNumberHasBeenSet; } /** *The Microsoft Knowledge Base ID of the patch.
*/ inline void SetKbNumber(const Aws::String& value) { m_kbNumberHasBeenSet = true; m_kbNumber = value; } /** *The Microsoft Knowledge Base ID of the patch.
*/ inline void SetKbNumber(Aws::String&& value) { m_kbNumberHasBeenSet = true; m_kbNumber = std::move(value); } /** *The Microsoft Knowledge Base ID of the patch.
*/ inline void SetKbNumber(const char* value) { m_kbNumberHasBeenSet = true; m_kbNumber.assign(value); } /** *The Microsoft Knowledge Base ID of the patch.
*/ inline Patch& WithKbNumber(const Aws::String& value) { SetKbNumber(value); return *this;} /** *The Microsoft Knowledge Base ID of the patch.
*/ inline Patch& WithKbNumber(Aws::String&& value) { SetKbNumber(std::move(value)); return *this;} /** *The Microsoft Knowledge Base ID of the patch.
*/ inline Patch& WithKbNumber(const char* value) { SetKbNumber(value); return *this;} /** *The ID of the MSRC bulletin the patch is related to.
*/ inline const Aws::String& GetMsrcNumber() const{ return m_msrcNumber; } /** *The ID of the MSRC bulletin the patch is related to.
*/ inline bool MsrcNumberHasBeenSet() const { return m_msrcNumberHasBeenSet; } /** *The ID of the MSRC bulletin the patch is related to.
*/ inline void SetMsrcNumber(const Aws::String& value) { m_msrcNumberHasBeenSet = true; m_msrcNumber = value; } /** *The ID of the MSRC bulletin the patch is related to.
*/ inline void SetMsrcNumber(Aws::String&& value) { m_msrcNumberHasBeenSet = true; m_msrcNumber = std::move(value); } /** *The ID of the MSRC bulletin the patch is related to.
*/ inline void SetMsrcNumber(const char* value) { m_msrcNumberHasBeenSet = true; m_msrcNumber.assign(value); } /** *The ID of the MSRC bulletin the patch is related to.
*/ inline Patch& WithMsrcNumber(const Aws::String& value) { SetMsrcNumber(value); return *this;} /** *The ID of the MSRC bulletin the patch is related to.
*/ inline Patch& WithMsrcNumber(Aws::String&& value) { SetMsrcNumber(std::move(value)); return *this;} /** *The ID of the MSRC bulletin the patch is related to.
*/ inline Patch& WithMsrcNumber(const char* value) { SetMsrcNumber(value); return *this;} /** *The language of the patch if it's language-specific.
*/ inline const Aws::String& GetLanguage() const{ return m_language; } /** *The language of the patch if it's language-specific.
*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *The language of the patch if it's language-specific.
*/ inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; } /** *The language of the patch if it's language-specific.
*/ inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *The language of the patch if it's language-specific.
*/ inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); } /** *The language of the patch if it's language-specific.
*/ inline Patch& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;} /** *The language of the patch if it's language-specific.
*/ inline Patch& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;} /** *The language of the patch if it's language-specific.
*/ inline Patch& WithLanguage(const char* value) { SetLanguage(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet; Aws::Utils::DateTime m_releaseDate; bool m_releaseDateHasBeenSet; Aws::String m_title; bool m_titleHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; Aws::String m_contentUrl; bool m_contentUrlHasBeenSet; Aws::String m_vendor; bool m_vendorHasBeenSet; Aws::String m_productFamily; bool m_productFamilyHasBeenSet; Aws::String m_product; bool m_productHasBeenSet; Aws::String m_classification; bool m_classificationHasBeenSet; Aws::String m_msrcSeverity; bool m_msrcSeverityHasBeenSet; Aws::String m_kbNumber; bool m_kbNumberHasBeenSet; Aws::String m_msrcNumber; bool m_msrcNumberHasBeenSet; Aws::String m_language; bool m_languageHasBeenSet; }; } // namespace Model } // namespace SSM } // namespace Aws