AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssessmentReportEvidenceError.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 AuditManager
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_AUDITMANAGER_API AssessmentReportEvidenceError();
39 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetEvidenceId() const{ return m_evidenceId; }
47 inline bool EvidenceIdHasBeenSet() const { return m_evidenceIdHasBeenSet; }
48 inline void SetEvidenceId(const Aws::String& value) { m_evidenceIdHasBeenSet = true; m_evidenceId = value; }
49 inline void SetEvidenceId(Aws::String&& value) { m_evidenceIdHasBeenSet = true; m_evidenceId = std::move(value); }
50 inline void SetEvidenceId(const char* value) { m_evidenceIdHasBeenSet = true; m_evidenceId.assign(value); }
51 inline AssessmentReportEvidenceError& WithEvidenceId(const Aws::String& value) { SetEvidenceId(value); return *this;}
52 inline AssessmentReportEvidenceError& WithEvidenceId(Aws::String&& value) { SetEvidenceId(std::move(value)); return *this;}
53 inline AssessmentReportEvidenceError& WithEvidenceId(const char* value) { SetEvidenceId(value); return *this;}
55
57
60 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
61 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
62 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
63 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
64 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
65 inline AssessmentReportEvidenceError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
66 inline AssessmentReportEvidenceError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
67 inline AssessmentReportEvidenceError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
69
71
74 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
75 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
76 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
77 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
78 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
79 inline AssessmentReportEvidenceError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
80 inline AssessmentReportEvidenceError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
81 inline AssessmentReportEvidenceError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
83 private:
84
85 Aws::String m_evidenceId;
86 bool m_evidenceIdHasBeenSet = false;
87
88 Aws::String m_errorCode;
89 bool m_errorCodeHasBeenSet = false;
90
91 Aws::String m_errorMessage;
92 bool m_errorMessageHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace AuditManager
97} // namespace Aws
AssessmentReportEvidenceError & WithErrorCode(const char *value)
AssessmentReportEvidenceError & WithErrorMessage(const Aws::String &value)
AssessmentReportEvidenceError & WithErrorMessage(Aws::String &&value)
AWS_AUDITMANAGER_API AssessmentReportEvidenceError(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportEvidenceError & WithEvidenceId(const char *value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AssessmentReportEvidenceError & WithEvidenceId(Aws::String &&value)
AssessmentReportEvidenceError & WithErrorCode(const Aws::String &value)
AssessmentReportEvidenceError & WithEvidenceId(const Aws::String &value)
AWS_AUDITMANAGER_API AssessmentReportEvidenceError & operator=(Aws::Utils::Json::JsonView jsonValue)
AssessmentReportEvidenceError & WithErrorMessage(const char *value)
AssessmentReportEvidenceError & WithErrorCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue