AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComplianceSummaryItem.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/model/CompliantSummary.h>
10#include <aws/ssm/model/NonCompliantSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SSM_API ComplianceSummaryItem();
41
42
44
48 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
49 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
50 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
51 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
52 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
53 inline ComplianceSummaryItem& WithComplianceType(const Aws::String& value) { SetComplianceType(value); return *this;}
54 inline ComplianceSummaryItem& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
55 inline ComplianceSummaryItem& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
57
59
62 inline const CompliantSummary& GetCompliantSummary() const{ return m_compliantSummary; }
63 inline bool CompliantSummaryHasBeenSet() const { return m_compliantSummaryHasBeenSet; }
64 inline void SetCompliantSummary(const CompliantSummary& value) { m_compliantSummaryHasBeenSet = true; m_compliantSummary = value; }
65 inline void SetCompliantSummary(CompliantSummary&& value) { m_compliantSummaryHasBeenSet = true; m_compliantSummary = std::move(value); }
67 inline ComplianceSummaryItem& WithCompliantSummary(CompliantSummary&& value) { SetCompliantSummary(std::move(value)); return *this;}
69
71
74 inline const NonCompliantSummary& GetNonCompliantSummary() const{ return m_nonCompliantSummary; }
75 inline bool NonCompliantSummaryHasBeenSet() const { return m_nonCompliantSummaryHasBeenSet; }
76 inline void SetNonCompliantSummary(const NonCompliantSummary& value) { m_nonCompliantSummaryHasBeenSet = true; m_nonCompliantSummary = value; }
77 inline void SetNonCompliantSummary(NonCompliantSummary&& value) { m_nonCompliantSummaryHasBeenSet = true; m_nonCompliantSummary = std::move(value); }
81 private:
82
83 Aws::String m_complianceType;
84 bool m_complianceTypeHasBeenSet = false;
85
86 CompliantSummary m_compliantSummary;
87 bool m_compliantSummaryHasBeenSet = false;
88
89 NonCompliantSummary m_nonCompliantSummary;
90 bool m_nonCompliantSummaryHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SSM
95} // namespace Aws
void SetNonCompliantSummary(const NonCompliantSummary &value)
AWS_SSM_API ComplianceSummaryItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetComplianceType() const
ComplianceSummaryItem & WithNonCompliantSummary(const NonCompliantSummary &value)
ComplianceSummaryItem & WithComplianceType(const Aws::String &value)
ComplianceSummaryItem & WithCompliantSummary(CompliantSummary &&value)
ComplianceSummaryItem & WithComplianceType(const char *value)
ComplianceSummaryItem & WithComplianceType(Aws::String &&value)
void SetCompliantSummary(CompliantSummary &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetNonCompliantSummary(NonCompliantSummary &&value)
void SetCompliantSummary(const CompliantSummary &value)
const CompliantSummary & GetCompliantSummary() const
AWS_SSM_API ComplianceSummaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ComplianceSummaryItem & WithCompliantSummary(const CompliantSummary &value)
const NonCompliantSummary & GetNonCompliantSummary() const
void SetComplianceType(const Aws::String &value)
ComplianceSummaryItem & WithNonCompliantSummary(NonCompliantSummary &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue