AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditCheckDetails.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AuditCheckRunStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 IoT
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOT_API AuditCheckDetails();
39
40
42
47 inline const AuditCheckRunStatus& GetCheckRunStatus() const{ return m_checkRunStatus; }
48 inline bool CheckRunStatusHasBeenSet() const { return m_checkRunStatusHasBeenSet; }
49 inline void SetCheckRunStatus(const AuditCheckRunStatus& value) { m_checkRunStatusHasBeenSet = true; m_checkRunStatus = value; }
50 inline void SetCheckRunStatus(AuditCheckRunStatus&& value) { m_checkRunStatusHasBeenSet = true; m_checkRunStatus = std::move(value); }
51 inline AuditCheckDetails& WithCheckRunStatus(const AuditCheckRunStatus& value) { SetCheckRunStatus(value); return *this;}
52 inline AuditCheckDetails& WithCheckRunStatus(AuditCheckRunStatus&& value) { SetCheckRunStatus(std::move(value)); return *this;}
54
56
59 inline bool GetCheckCompliant() const{ return m_checkCompliant; }
60 inline bool CheckCompliantHasBeenSet() const { return m_checkCompliantHasBeenSet; }
61 inline void SetCheckCompliant(bool value) { m_checkCompliantHasBeenSet = true; m_checkCompliant = value; }
62 inline AuditCheckDetails& WithCheckCompliant(bool value) { SetCheckCompliant(value); return *this;}
64
66
69 inline long long GetTotalResourcesCount() const{ return m_totalResourcesCount; }
70 inline bool TotalResourcesCountHasBeenSet() const { return m_totalResourcesCountHasBeenSet; }
71 inline void SetTotalResourcesCount(long long value) { m_totalResourcesCountHasBeenSet = true; m_totalResourcesCount = value; }
72 inline AuditCheckDetails& WithTotalResourcesCount(long long value) { SetTotalResourcesCount(value); return *this;}
74
76
79 inline long long GetNonCompliantResourcesCount() const{ return m_nonCompliantResourcesCount; }
80 inline bool NonCompliantResourcesCountHasBeenSet() const { return m_nonCompliantResourcesCountHasBeenSet; }
81 inline void SetNonCompliantResourcesCount(long long value) { m_nonCompliantResourcesCountHasBeenSet = true; m_nonCompliantResourcesCount = value; }
82 inline AuditCheckDetails& WithNonCompliantResourcesCount(long long value) { SetNonCompliantResourcesCount(value); return *this;}
84
86
90 inline long long GetSuppressedNonCompliantResourcesCount() const{ return m_suppressedNonCompliantResourcesCount; }
91 inline bool SuppressedNonCompliantResourcesCountHasBeenSet() const { return m_suppressedNonCompliantResourcesCountHasBeenSet; }
92 inline void SetSuppressedNonCompliantResourcesCount(long long value) { m_suppressedNonCompliantResourcesCountHasBeenSet = true; m_suppressedNonCompliantResourcesCount = value; }
95
97
101 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
102 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
103 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
104 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
105 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
106 inline AuditCheckDetails& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
107 inline AuditCheckDetails& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
108 inline AuditCheckDetails& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
110
112
116 inline const Aws::String& GetMessage() const{ return m_message; }
117 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
118 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
119 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
120 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
121 inline AuditCheckDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
122 inline AuditCheckDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
123 inline AuditCheckDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
125 private:
126
127 AuditCheckRunStatus m_checkRunStatus;
128 bool m_checkRunStatusHasBeenSet = false;
129
130 bool m_checkCompliant;
131 bool m_checkCompliantHasBeenSet = false;
132
133 long long m_totalResourcesCount;
134 bool m_totalResourcesCountHasBeenSet = false;
135
136 long long m_nonCompliantResourcesCount;
137 bool m_nonCompliantResourcesCountHasBeenSet = false;
138
139 long long m_suppressedNonCompliantResourcesCount;
140 bool m_suppressedNonCompliantResourcesCountHasBeenSet = false;
141
142 Aws::String m_errorCode;
143 bool m_errorCodeHasBeenSet = false;
144
145 Aws::String m_message;
146 bool m_messageHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace IoT
151} // namespace Aws
const AuditCheckRunStatus & GetCheckRunStatus() const
void SetTotalResourcesCount(long long value)
void SetSuppressedNonCompliantResourcesCount(long long value)
void SetMessage(const Aws::String &value)
AuditCheckDetails & WithCheckRunStatus(AuditCheckRunStatus &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCheckRunStatus(const AuditCheckRunStatus &value)
void SetErrorCode(Aws::String &&value)
AuditCheckDetails & WithMessage(Aws::String &&value)
AuditCheckDetails & WithCheckCompliant(bool value)
void SetNonCompliantResourcesCount(long long value)
AuditCheckDetails & WithErrorCode(const Aws::String &value)
AuditCheckDetails & WithErrorCode(Aws::String &&value)
AuditCheckDetails & WithTotalResourcesCount(long long value)
const Aws::String & GetErrorCode() const
AuditCheckDetails & WithMessage(const char *value)
AuditCheckDetails & WithCheckRunStatus(const AuditCheckRunStatus &value)
const Aws::String & GetMessage() const
AuditCheckDetails & WithNonCompliantResourcesCount(long long value)
AWS_IOT_API AuditCheckDetails(Aws::Utils::Json::JsonView jsonValue)
long long GetSuppressedNonCompliantResourcesCount() const
AuditCheckDetails & WithSuppressedNonCompliantResourcesCount(long long value)
void SetCheckRunStatus(AuditCheckRunStatus &&value)
AWS_IOT_API AuditCheckDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SuppressedNonCompliantResourcesCountHasBeenSet() const
AuditCheckDetails & WithMessage(const Aws::String &value)
AuditCheckDetails & WithErrorCode(const char *value)
long long GetNonCompliantResourcesCount() const
void SetErrorCode(const Aws::String &value)
void SetMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue