AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SbomValidationResultSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/SbomValidationResult.h>
10#include <aws/iot/model/SbomValidationErrorCode.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 IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API SbomValidationResultSummary() = default;
41
42
44
47 inline const Aws::String& GetFileName() const { return m_fileName; }
48 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
49 template<typename FileNameT = Aws::String>
50 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
51 template<typename FileNameT = Aws::String>
52 SbomValidationResultSummary& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
54
56
59 inline SbomValidationResult GetValidationResult() const { return m_validationResult; }
60 inline bool ValidationResultHasBeenSet() const { return m_validationResultHasBeenSet; }
61 inline void SetValidationResult(SbomValidationResult value) { m_validationResultHasBeenSet = true; m_validationResult = value; }
64
66
70 inline SbomValidationErrorCode GetErrorCode() const { return m_errorCode; }
71 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
72 inline void SetErrorCode(SbomValidationErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
75
77
81 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
82 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
83 template<typename ErrorMessageT = Aws::String>
84 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
85 template<typename ErrorMessageT = Aws::String>
86 SbomValidationResultSummary& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
88 private:
89
90 Aws::String m_fileName;
91 bool m_fileNameHasBeenSet = false;
92
94 bool m_validationResultHasBeenSet = false;
95
97 bool m_errorCodeHasBeenSet = false;
98
99 Aws::String m_errorMessage;
100 bool m_errorMessageHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
AWS_IOT_API SbomValidationResultSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SbomValidationResultSummary & WithErrorMessage(ErrorMessageT &&value)
AWS_IOT_API SbomValidationResultSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API SbomValidationResultSummary()=default
SbomValidationResultSummary & WithFileName(FileNameT &&value)
SbomValidationResultSummary & WithValidationResult(SbomValidationResult value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
SbomValidationResultSummary & WithErrorCode(SbomValidationErrorCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue