AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Compliance.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ComplianceType.h>
9#include <aws/config/model/ComplianceContributorCount.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CONFIGSERVICE_API Compliance();
38 AWS_CONFIGSERVICE_API Compliance(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Compliance& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline const ComplianceType& GetComplianceType() const{ return m_complianceType; }
59 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
60 inline void SetComplianceType(const ComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
61 inline void SetComplianceType(ComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
62 inline Compliance& WithComplianceType(const ComplianceType& value) { SetComplianceType(value); return *this;}
63 inline Compliance& WithComplianceType(ComplianceType&& value) { SetComplianceType(std::move(value)); return *this;}
65
67
71 inline const ComplianceContributorCount& GetComplianceContributorCount() const{ return m_complianceContributorCount; }
72 inline bool ComplianceContributorCountHasBeenSet() const { return m_complianceContributorCountHasBeenSet; }
73 inline void SetComplianceContributorCount(const ComplianceContributorCount& value) { m_complianceContributorCountHasBeenSet = true; m_complianceContributorCount = value; }
74 inline void SetComplianceContributorCount(ComplianceContributorCount&& value) { m_complianceContributorCountHasBeenSet = true; m_complianceContributorCount = std::move(value); }
78 private:
79
80 ComplianceType m_complianceType;
81 bool m_complianceTypeHasBeenSet = false;
82
83 ComplianceContributorCount m_complianceContributorCount;
84 bool m_complianceContributorCountHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ConfigService
89} // namespace Aws
void SetComplianceContributorCount(ComplianceContributorCount &&value)
Definition Compliance.h:74
const ComplianceType & GetComplianceType() const
Definition Compliance.h:58
Compliance & WithComplianceContributorCount(ComplianceContributorCount &&value)
Definition Compliance.h:76
AWS_CONFIGSERVICE_API Compliance()
bool ComplianceContributorCountHasBeenSet() const
Definition Compliance.h:72
void SetComplianceType(ComplianceType &&value)
Definition Compliance.h:61
void SetComplianceContributorCount(const ComplianceContributorCount &value)
Definition Compliance.h:73
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API Compliance(Aws::Utils::Json::JsonView jsonValue)
Compliance & WithComplianceType(ComplianceType &&value)
Definition Compliance.h:63
const ComplianceContributorCount & GetComplianceContributorCount() const
Definition Compliance.h:71
Compliance & WithComplianceContributorCount(const ComplianceContributorCount &value)
Definition Compliance.h:75
Compliance & WithComplianceType(const ComplianceType &value)
Definition Compliance.h:62
AWS_CONFIGSERVICE_API Compliance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComplianceType(const ComplianceType &value)
Definition Compliance.h:60
Aws::Utils::Json::JsonValue JsonValue