/** * 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 { /** *

Provides a summary of compliance based on either account ID or region. *

See Also:

AWS * API Reference

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

Returns an AggregateConformancePackComplianceCount object.

*/ inline const AggregateConformancePackComplianceCount& GetComplianceSummary() const{ return m_complianceSummary; } /** *

Returns an AggregateConformancePackComplianceCount object.

*/ inline bool ComplianceSummaryHasBeenSet() const { return m_complianceSummaryHasBeenSet; } /** *

Returns an AggregateConformancePackComplianceCount object.

*/ inline void SetComplianceSummary(const AggregateConformancePackComplianceCount& value) { m_complianceSummaryHasBeenSet = true; m_complianceSummary = value; } /** *

Returns an AggregateConformancePackComplianceCount object.

*/ inline void SetComplianceSummary(AggregateConformancePackComplianceCount&& value) { m_complianceSummaryHasBeenSet = true; m_complianceSummary = std::move(value); } /** *

Returns an AggregateConformancePackComplianceCount object.

*/ inline AggregateConformancePackComplianceSummary& WithComplianceSummary(const AggregateConformancePackComplianceCount& value) { SetComplianceSummary(value); return *this;} /** *

Returns an AggregateConformancePackComplianceCount object.

*/ inline AggregateConformancePackComplianceSummary& WithComplianceSummary(AggregateConformancePackComplianceCount&& value) { SetComplianceSummary(std::move(value)); return *this;} /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline AggregateConformancePackComplianceSummary& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline AggregateConformancePackComplianceSummary& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

Groups the result based on Amazon Web Services account ID or Amazon Web * Services Region.

*/ inline AggregateConformancePackComplianceSummary& WithGroupName(const char* value) { SetGroupName(value); return *this;} private: AggregateConformancePackComplianceCount m_complianceSummary; bool m_complianceSummaryHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws