AWS SDK for C++  1.9.132
AWS SDK for C++
AuditCheckDetails.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
46  inline const AuditCheckRunStatus& GetCheckRunStatus() const{ return m_checkRunStatus; }
47 
53  inline bool CheckRunStatusHasBeenSet() const { return m_checkRunStatusHasBeenSet; }
54 
60  inline void SetCheckRunStatus(const AuditCheckRunStatus& value) { m_checkRunStatusHasBeenSet = true; m_checkRunStatus = value; }
61 
67  inline void SetCheckRunStatus(AuditCheckRunStatus&& value) { m_checkRunStatusHasBeenSet = true; m_checkRunStatus = std::move(value); }
68 
74  inline AuditCheckDetails& WithCheckRunStatus(const AuditCheckRunStatus& value) { SetCheckRunStatus(value); return *this;}
75 
81  inline AuditCheckDetails& WithCheckRunStatus(AuditCheckRunStatus&& value) { SetCheckRunStatus(std::move(value)); return *this;}
82 
83 
87  inline bool GetCheckCompliant() const{ return m_checkCompliant; }
88 
92  inline bool CheckCompliantHasBeenSet() const { return m_checkCompliantHasBeenSet; }
93 
97  inline void SetCheckCompliant(bool value) { m_checkCompliantHasBeenSet = true; m_checkCompliant = value; }
98 
102  inline AuditCheckDetails& WithCheckCompliant(bool value) { SetCheckCompliant(value); return *this;}
103 
104 
108  inline long long GetTotalResourcesCount() const{ return m_totalResourcesCount; }
109 
113  inline bool TotalResourcesCountHasBeenSet() const { return m_totalResourcesCountHasBeenSet; }
114 
118  inline void SetTotalResourcesCount(long long value) { m_totalResourcesCountHasBeenSet = true; m_totalResourcesCount = value; }
119 
123  inline AuditCheckDetails& WithTotalResourcesCount(long long value) { SetTotalResourcesCount(value); return *this;}
124 
125 
129  inline long long GetNonCompliantResourcesCount() const{ return m_nonCompliantResourcesCount; }
130 
134  inline bool NonCompliantResourcesCountHasBeenSet() const { return m_nonCompliantResourcesCountHasBeenSet; }
135 
139  inline void SetNonCompliantResourcesCount(long long value) { m_nonCompliantResourcesCountHasBeenSet = true; m_nonCompliantResourcesCount = value; }
140 
144  inline AuditCheckDetails& WithNonCompliantResourcesCount(long long value) { SetNonCompliantResourcesCount(value); return *this;}
145 
146 
151  inline long long GetSuppressedNonCompliantResourcesCount() const{ return m_suppressedNonCompliantResourcesCount; }
152 
157  inline bool SuppressedNonCompliantResourcesCountHasBeenSet() const { return m_suppressedNonCompliantResourcesCountHasBeenSet; }
158 
163  inline void SetSuppressedNonCompliantResourcesCount(long long value) { m_suppressedNonCompliantResourcesCountHasBeenSet = true; m_suppressedNonCompliantResourcesCount = value; }
164 
169  inline AuditCheckDetails& WithSuppressedNonCompliantResourcesCount(long long value) { SetSuppressedNonCompliantResourcesCount(value); return *this;}
170 
171 
176  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
177 
182  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
183 
188  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
189 
194  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
195 
200  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
201 
206  inline AuditCheckDetails& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
207 
212  inline AuditCheckDetails& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
213 
218  inline AuditCheckDetails& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
219 
220 
225  inline const Aws::String& GetMessage() const{ return m_message; }
226 
231  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
232 
237  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
238 
243  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
244 
249  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
250 
255  inline AuditCheckDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
256 
261  inline AuditCheckDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
262 
267  inline AuditCheckDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
268 
269  private:
270 
271  AuditCheckRunStatus m_checkRunStatus;
272  bool m_checkRunStatusHasBeenSet;
273 
274  bool m_checkCompliant;
275  bool m_checkCompliantHasBeenSet;
276 
277  long long m_totalResourcesCount;
278  bool m_totalResourcesCountHasBeenSet;
279 
280  long long m_nonCompliantResourcesCount;
281  bool m_nonCompliantResourcesCountHasBeenSet;
282 
283  long long m_suppressedNonCompliantResourcesCount;
284  bool m_suppressedNonCompliantResourcesCountHasBeenSet;
285 
286  Aws::String m_errorCode;
287  bool m_errorCodeHasBeenSet;
288 
289  Aws::String m_message;
290  bool m_messageHasBeenSet;
291  };
292 
293 } // namespace Model
294 } // namespace IoT
295 } // namespace Aws
Aws::IoT::Model::AuditCheckDetails::WithTotalResourcesCount
AuditCheckDetails & WithTotalResourcesCount(long long value)
Definition: AuditCheckDetails.h:123
Aws::IoT::Model::AuditCheckDetails::TotalResourcesCountHasBeenSet
bool TotalResourcesCountHasBeenSet() const
Definition: AuditCheckDetails.h:113
Aws::IoT::Model::AuditCheckDetails::SuppressedNonCompliantResourcesCountHasBeenSet
bool SuppressedNonCompliantResourcesCountHasBeenSet() const
Definition: AuditCheckDetails.h:157
Aws::IoT::Model::AuditCheckDetails::GetNonCompliantResourcesCount
long long GetNonCompliantResourcesCount() const
Definition: AuditCheckDetails.h:129
Aws::IoT::Model::AuditCheckDetails::GetCheckRunStatus
const AuditCheckRunStatus & GetCheckRunStatus() const
Definition: AuditCheckDetails.h:46
Aws::IoT::Model::AuditCheckDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AuditCheckDetails::SetSuppressedNonCompliantResourcesCount
void SetSuppressedNonCompliantResourcesCount(long long value)
Definition: AuditCheckDetails.h:163
Aws::IoT::Model::AuditCheckDetails::SetErrorCode
void SetErrorCode(const char *value)
Definition: AuditCheckDetails.h:200
Aws::IoT::Model::AuditCheckDetails::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: AuditCheckDetails.h:231
Aws::IoT::Model::AuditCheckDetails::SetTotalResourcesCount
void SetTotalResourcesCount(long long value)
Definition: AuditCheckDetails.h:118
Aws::IoT::Model::AuditCheckDetails::WithErrorCode
AuditCheckDetails & WithErrorCode(const Aws::String &value)
Definition: AuditCheckDetails.h:206
Aws::IoT::Model::AuditCheckDetails::WithSuppressedNonCompliantResourcesCount
AuditCheckDetails & WithSuppressedNonCompliantResourcesCount(long long value)
Definition: AuditCheckDetails.h:169
Aws::IoT::Model::AuditCheckRunStatus
AuditCheckRunStatus
Definition: AuditCheckRunStatus.h:17
Aws::IoT::Model::AuditCheckDetails::GetSuppressedNonCompliantResourcesCount
long long GetSuppressedNonCompliantResourcesCount() const
Definition: AuditCheckDetails.h:151
Aws::IoT::Model::AuditCheckDetails::WithMessage
AuditCheckDetails & WithMessage(const char *value)
Definition: AuditCheckDetails.h:267
Aws::IoT::Model::AuditCheckDetails::CheckCompliantHasBeenSet
bool CheckCompliantHasBeenSet() const
Definition: AuditCheckDetails.h:92
Aws::IoT::Model::AuditCheckDetails::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: AuditCheckDetails.h:182
Aws::IoT::Model::AuditCheckDetails::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: AuditCheckDetails.h:194
Aws::IoT::Model::AuditCheckDetails::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: AuditCheckDetails.h:176
Aws::IoT::Model::AuditCheckDetails::WithErrorCode
AuditCheckDetails & WithErrorCode(const char *value)
Definition: AuditCheckDetails.h:218
Aws::IoT::Model::AuditCheckDetails
Definition: AuditCheckDetails.h:33
AuditCheckRunStatus.h
Aws::IoT::Model::AuditCheckDetails::AuditCheckDetails
AuditCheckDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::AuditCheckDetails::SetMessage
void SetMessage(const char *value)
Definition: AuditCheckDetails.h:249
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AuditCheckDetails::operator=
AuditCheckDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AuditCheckDetails::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: AuditCheckDetails.h:188
Aws::IoT::Model::AuditCheckDetails::SetMessage
void SetMessage(Aws::String &&value)
Definition: AuditCheckDetails.h:243
Aws::IoT::Model::AuditCheckDetails::GetTotalResourcesCount
long long GetTotalResourcesCount() const
Definition: AuditCheckDetails.h:108
Aws::IoT::Model::AuditCheckDetails::WithCheckRunStatus
AuditCheckDetails & WithCheckRunStatus(AuditCheckRunStatus &&value)
Definition: AuditCheckDetails.h:81
Aws::IoT::Model::AuditCheckDetails::GetCheckCompliant
bool GetCheckCompliant() const
Definition: AuditCheckDetails.h:87
Aws::IoT::Model::AuditCheckDetails::WithCheckCompliant
AuditCheckDetails & WithCheckCompliant(bool value)
Definition: AuditCheckDetails.h:102
Aws::IoT::Model::AuditCheckDetails::WithMessage
AuditCheckDetails & WithMessage(Aws::String &&value)
Definition: AuditCheckDetails.h:261
Aws::IoT::Model::AuditCheckDetails::GetMessage
const Aws::String & GetMessage() const
Definition: AuditCheckDetails.h:225
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AuditCheckDetails::SetCheckCompliant
void SetCheckCompliant(bool value)
Definition: AuditCheckDetails.h:97
Aws::IoT::Model::AuditCheckDetails::SetCheckRunStatus
void SetCheckRunStatus(const AuditCheckRunStatus &value)
Definition: AuditCheckDetails.h:60
Aws::IoT::Model::AuditCheckDetails::AuditCheckDetails
AuditCheckDetails()
Aws::IoT::Model::AuditCheckDetails::SetNonCompliantResourcesCount
void SetNonCompliantResourcesCount(long long value)
Definition: AuditCheckDetails.h:139
Aws::IoT::Model::AuditCheckDetails::WithErrorCode
AuditCheckDetails & WithErrorCode(Aws::String &&value)
Definition: AuditCheckDetails.h:212
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::AuditCheckDetails::SetCheckRunStatus
void SetCheckRunStatus(AuditCheckRunStatus &&value)
Definition: AuditCheckDetails.h:67
Aws::IoT::Model::AuditCheckDetails::SetMessage
void SetMessage(const Aws::String &value)
Definition: AuditCheckDetails.h:237
Aws::IoT::Model::AuditCheckDetails::WithMessage
AuditCheckDetails & WithMessage(const Aws::String &value)
Definition: AuditCheckDetails.h:255
Aws::IoT::Model::AuditCheckDetails::WithCheckRunStatus
AuditCheckDetails & WithCheckRunStatus(const AuditCheckRunStatus &value)
Definition: AuditCheckDetails.h:74
IoT_EXPORTS.h
Aws::IoT::Model::AuditCheckDetails::CheckRunStatusHasBeenSet
bool CheckRunStatusHasBeenSet() const
Definition: AuditCheckDetails.h:53
Aws::IoT::Model::AuditCheckDetails::WithNonCompliantResourcesCount
AuditCheckDetails & WithNonCompliantResourcesCount(long long value)
Definition: AuditCheckDetails.h:144
Aws::IoT::Model::AuditCheckDetails::NonCompliantResourcesCountHasBeenSet
bool NonCompliantResourcesCountHasBeenSet() const
Definition: AuditCheckDetails.h:134