/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

Summary includes the name and status of the conformance pack.

See * Also:

AWS * API Reference

*/ class ConformancePackComplianceSummary { public: AWS_CONFIGSERVICE_API ConformancePackComplianceSummary(); AWS_CONFIGSERVICE_API ConformancePackComplianceSummary(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API ConformancePackComplianceSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the conformance pack name.

*/ inline const Aws::String& GetConformancePackName() const{ return m_conformancePackName; } /** *

The name of the conformance pack name.

*/ inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; } /** *

The name of the conformance pack name.

*/ inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; } /** *

The name of the conformance pack name.

*/ inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); } /** *

The name of the conformance pack name.

*/ inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); } /** *

The name of the conformance pack name.

*/ inline ConformancePackComplianceSummary& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;} /** *

The name of the conformance pack name.

*/ inline ConformancePackComplianceSummary& WithConformancePackName(Aws::String&& value) { SetConformancePackName(std::move(value)); return *this;} /** *

The name of the conformance pack name.

*/ inline ConformancePackComplianceSummary& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;} /** *

The status of the conformance pack.

*/ inline const ConformancePackComplianceType& GetConformancePackComplianceStatus() const{ return m_conformancePackComplianceStatus; } /** *

The status of the conformance pack.

*/ inline bool ConformancePackComplianceStatusHasBeenSet() const { return m_conformancePackComplianceStatusHasBeenSet; } /** *

The status of the conformance pack.

*/ inline void SetConformancePackComplianceStatus(const ConformancePackComplianceType& value) { m_conformancePackComplianceStatusHasBeenSet = true; m_conformancePackComplianceStatus = value; } /** *

The status of the conformance pack.

*/ inline void SetConformancePackComplianceStatus(ConformancePackComplianceType&& value) { m_conformancePackComplianceStatusHasBeenSet = true; m_conformancePackComplianceStatus = std::move(value); } /** *

The status of the conformance pack.

*/ inline ConformancePackComplianceSummary& WithConformancePackComplianceStatus(const ConformancePackComplianceType& value) { SetConformancePackComplianceStatus(value); return *this;} /** *

The status of the conformance pack.

*/ inline ConformancePackComplianceSummary& WithConformancePackComplianceStatus(ConformancePackComplianceType&& value) { SetConformancePackComplianceStatus(std::move(value)); return *this;} private: Aws::String m_conformancePackName; bool m_conformancePackNameHasBeenSet = false; ConformancePackComplianceType m_conformancePackComplianceStatus; bool m_conformancePackComplianceStatusHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws