AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompliantSummary.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/SeveritySummary.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSM
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSM_API CompliantSummary();
39
40
42
45 inline int GetCompliantCount() const{ return m_compliantCount; }
46 inline bool CompliantCountHasBeenSet() const { return m_compliantCountHasBeenSet; }
47 inline void SetCompliantCount(int value) { m_compliantCountHasBeenSet = true; m_compliantCount = value; }
48 inline CompliantSummary& WithCompliantCount(int value) { SetCompliantCount(value); return *this;}
50
52
55 inline const SeveritySummary& GetSeveritySummary() const{ return m_severitySummary; }
56 inline bool SeveritySummaryHasBeenSet() const { return m_severitySummaryHasBeenSet; }
57 inline void SetSeveritySummary(const SeveritySummary& value) { m_severitySummaryHasBeenSet = true; m_severitySummary = value; }
58 inline void SetSeveritySummary(SeveritySummary&& value) { m_severitySummaryHasBeenSet = true; m_severitySummary = std::move(value); }
59 inline CompliantSummary& WithSeveritySummary(const SeveritySummary& value) { SetSeveritySummary(value); return *this;}
60 inline CompliantSummary& WithSeveritySummary(SeveritySummary&& value) { SetSeveritySummary(std::move(value)); return *this;}
62 private:
63
64 int m_compliantCount;
65 bool m_compliantCountHasBeenSet = false;
66
67 SeveritySummary m_severitySummary;
68 bool m_severitySummaryHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SSM
73} // namespace Aws
CompliantSummary & WithCompliantCount(int value)
CompliantSummary & WithSeveritySummary(SeveritySummary &&value)
const SeveritySummary & GetSeveritySummary() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API CompliantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSeveritySummary(const SeveritySummary &value)
CompliantSummary & WithSeveritySummary(const SeveritySummary &value)
void SetSeveritySummary(SeveritySummary &&value)
AWS_SSM_API CompliantSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue