AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NonCompliantSummary.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 NonCompliantSummary();
39
40
42
45 inline int GetNonCompliantCount() const{ return m_nonCompliantCount; }
46 inline bool NonCompliantCountHasBeenSet() const { return m_nonCompliantCountHasBeenSet; }
47 inline void SetNonCompliantCount(int value) { m_nonCompliantCountHasBeenSet = true; m_nonCompliantCount = value; }
48 inline NonCompliantSummary& WithNonCompliantCount(int value) { SetNonCompliantCount(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 NonCompliantSummary& WithSeveritySummary(const SeveritySummary& value) { SetSeveritySummary(value); return *this;}
60 inline NonCompliantSummary& WithSeveritySummary(SeveritySummary&& value) { SetSeveritySummary(std::move(value)); return *this;}
62 private:
63
64 int m_nonCompliantCount;
65 bool m_nonCompliantCountHasBeenSet = false;
66
67 SeveritySummary m_severitySummary;
68 bool m_severitySummaryHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SSM
73} // namespace Aws
void SetSeveritySummary(SeveritySummary &&value)
NonCompliantSummary & WithSeveritySummary(SeveritySummary &&value)
const SeveritySummary & GetSeveritySummary() const
NonCompliantSummary & WithNonCompliantCount(int value)
NonCompliantSummary & WithSeveritySummary(const SeveritySummary &value)
void SetSeveritySummary(const SeveritySummary &value)
AWS_SSM_API NonCompliantSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API NonCompliantSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue