/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a compliance item.See Also:
AWS
* API Reference
The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline ComplianceItemEntry& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline ComplianceItemEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The compliance item ID. For example, if the compliance item is a Windows * patch, the ID could be the number of the KB article.
*/ inline ComplianceItemEntry& WithId(const char* value) { SetId(value); return *this;} /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline const Aws::String& GetTitle() const{ return m_title; } /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; } /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); } /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline ComplianceItemEntry& WithTitle(const Aws::String& value) { SetTitle(value); return *this;} /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline ComplianceItemEntry& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;} /** *The title of the compliance item. For example, if the compliance item is a * Windows patch, the title could be the title of the KB article for the patch; for * example: Security Update for Active Directory Federation Services.
*/ inline ComplianceItemEntry& WithTitle(const char* value) { SetTitle(value); return *this;} /** *The severity of the compliance status. Severity can be one of the following: * Critical, High, Medium, Low, Informational, Unspecified.
*/ inline const ComplianceSeverity& GetSeverity() const{ return m_severity; } /** *The severity of the compliance status. Severity can be one of the following: * Critical, High, Medium, Low, Informational, Unspecified.
*/ inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; } /** *The severity of the compliance status. Severity can be one of the following: * Critical, High, Medium, Low, Informational, Unspecified.
*/ inline void SetSeverity(const ComplianceSeverity& value) { m_severityHasBeenSet = true; m_severity = value; } /** *The severity of the compliance status. Severity can be one of the following: * Critical, High, Medium, Low, Informational, Unspecified.
*/ inline void SetSeverity(ComplianceSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); } /** *The severity of the compliance status. Severity can be one of the following: * Critical, High, Medium, Low, Informational, Unspecified.
*/ inline ComplianceItemEntry& WithSeverity(const ComplianceSeverity& value) { SetSeverity(value); return *this;} /** *The severity of the compliance status. Severity can be one of the following: * Critical, High, Medium, Low, Informational, Unspecified.
*/ inline ComplianceItemEntry& WithSeverity(ComplianceSeverity&& value) { SetSeverity(std::move(value)); return *this;} /** *The status of the compliance item. An item is either COMPLIANT or * NON_COMPLIANT.
*/ inline const ComplianceStatus& GetStatus() const{ return m_status; } /** *The status of the compliance item. An item is either COMPLIANT or * NON_COMPLIANT.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the compliance item. An item is either COMPLIANT or * NON_COMPLIANT.
*/ inline void SetStatus(const ComplianceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the compliance item. An item is either COMPLIANT or * NON_COMPLIANT.
*/ inline void SetStatus(ComplianceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the compliance item. An item is either COMPLIANT or * NON_COMPLIANT.
*/ inline ComplianceItemEntry& WithStatus(const ComplianceStatus& value) { SetStatus(value); return *this;} /** *The status of the compliance item. An item is either COMPLIANT or * NON_COMPLIANT.
*/ inline ComplianceItemEntry& WithStatus(ComplianceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A "Key": "Value" tag combination for the compliance item.
*/ inline const Aws::MapA "Key": "Value" tag combination for the compliance item.
*/ inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline void SetDetails(const Aws::MapA "Key": "Value" tag combination for the compliance item.
*/ inline void SetDetails(Aws::MapA "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& WithDetails(const Aws::MapA "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& WithDetails(Aws::MapA "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(const Aws::String& key, const Aws::String& value) { m_detailsHasBeenSet = true; m_details.emplace(key, value); return *this; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(Aws::String&& key, const Aws::String& value) { m_detailsHasBeenSet = true; m_details.emplace(std::move(key), value); return *this; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(const Aws::String& key, Aws::String&& value) { m_detailsHasBeenSet = true; m_details.emplace(key, std::move(value)); return *this; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(Aws::String&& key, Aws::String&& value) { m_detailsHasBeenSet = true; m_details.emplace(std::move(key), std::move(value)); return *this; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(const char* key, Aws::String&& value) { m_detailsHasBeenSet = true; m_details.emplace(key, std::move(value)); return *this; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(Aws::String&& key, const char* value) { m_detailsHasBeenSet = true; m_details.emplace(std::move(key), value); return *this; } /** *A "Key": "Value" tag combination for the compliance item.
*/ inline ComplianceItemEntry& AddDetails(const char* key, const char* value) { m_detailsHasBeenSet = true; m_details.emplace(key, value); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_title; bool m_titleHasBeenSet = false; ComplianceSeverity m_severity; bool m_severityHasBeenSet = false; ComplianceStatus m_status; bool m_statusHasBeenSet = false; Aws::Map