This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-ssm/include/aws/ssm/model/CompliantSummary.h

104 lines
3.0 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/ssm/model/SeveritySummary.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SSM
{
namespace Model
{
/**
* <p>A summary of resources that are compliant. The summary is organized according
* to the resource count for each compliance type.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CompliantSummary">AWS
* API Reference</a></p>
*/
class AWS_SSM_API CompliantSummary
{
public:
CompliantSummary();
CompliantSummary(Aws::Utils::Json::JsonView jsonValue);
CompliantSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The total number of resources that are compliant.</p>
*/
inline int GetCompliantCount() const{ return m_compliantCount; }
/**
* <p>The total number of resources that are compliant.</p>
*/
inline bool CompliantCountHasBeenSet() const { return m_compliantCountHasBeenSet; }
/**
* <p>The total number of resources that are compliant.</p>
*/
inline void SetCompliantCount(int value) { m_compliantCountHasBeenSet = true; m_compliantCount = value; }
/**
* <p>The total number of resources that are compliant.</p>
*/
inline CompliantSummary& WithCompliantCount(int value) { SetCompliantCount(value); return *this;}
/**
* <p>A summary of the compliance severity by compliance type.</p>
*/
inline const SeveritySummary& GetSeveritySummary() const{ return m_severitySummary; }
/**
* <p>A summary of the compliance severity by compliance type.</p>
*/
inline bool SeveritySummaryHasBeenSet() const { return m_severitySummaryHasBeenSet; }
/**
* <p>A summary of the compliance severity by compliance type.</p>
*/
inline void SetSeveritySummary(const SeveritySummary& value) { m_severitySummaryHasBeenSet = true; m_severitySummary = value; }
/**
* <p>A summary of the compliance severity by compliance type.</p>
*/
inline void SetSeveritySummary(SeveritySummary&& value) { m_severitySummaryHasBeenSet = true; m_severitySummary = std::move(value); }
/**
* <p>A summary of the compliance severity by compliance type.</p>
*/
inline CompliantSummary& WithSeveritySummary(const SeveritySummary& value) { SetSeveritySummary(value); return *this;}
/**
* <p>A summary of the compliance severity by compliance type.</p>
*/
inline CompliantSummary& WithSeveritySummary(SeveritySummary&& value) { SetSeveritySummary(std::move(value)); return *this;}
private:
int m_compliantCount;
bool m_compliantCountHasBeenSet;
SeveritySummary m_severitySummary;
bool m_severitySummaryHasBeenSet;
};
} // namespace Model
} // namespace SSM
} // namespace Aws