AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
47 inline const Aws::String& GetFileName() const{ return m_fileName; }
48 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
49 inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
50 inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
51 inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
52 inline SbomValidationResultSummary& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
53 inline SbomValidationResultSummary& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
54 inline SbomValidationResultSummary& WithFileName(const char* value) { SetFileName(value); return *this;}
56
58
61 inline const SbomValidationResult& GetValidationResult() const{ return m_validationResult; }
62 inline bool ValidationResultHasBeenSet() const { return m_validationResultHasBeenSet; }
63 inline void SetValidationResult(const SbomValidationResult& value) { m_validationResultHasBeenSet = true; m_validationResult = value; }
64 inline void SetValidationResult(SbomValidationResult&& value) { m_validationResultHasBeenSet = true; m_validationResult = std::move(value); }
68
70
74 inline const SbomValidationErrorCode& GetErrorCode() const{ return m_errorCode; }
75 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
76 inline void SetErrorCode(const SbomValidationErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
77 inline void SetErrorCode(SbomValidationErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
79 inline SbomValidationResultSummary& WithErrorCode(SbomValidationErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
88 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
89 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
90 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
91 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
92 inline SbomValidationResultSummary& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
93 inline SbomValidationResultSummary& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
94 inline SbomValidationResultSummary& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
96 private:
97
98 Aws::String m_fileName;
99 bool m_fileNameHasBeenSet = false;
100
101 SbomValidationResult m_validationResult;
102 bool m_validationResultHasBeenSet = false;
103
104 SbomValidationErrorCode m_errorCode;
105 bool m_errorCodeHasBeenSet = false;
106
107 Aws::String m_errorMessage;
108 bool m_errorMessageHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace IoT
113} // namespace Aws
AWS_IOT_API SbomValidationResultSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const SbomValidationResult & GetValidationResult() const
void SetErrorCode(SbomValidationErrorCode &&value)
const SbomValidationErrorCode & GetErrorCode() const
SbomValidationResultSummary & WithValidationResult(const SbomValidationResult &value)
SbomValidationResultSummary & WithErrorMessage(const Aws::String &value)
AWS_IOT_API SbomValidationResultSummary(Aws::Utils::Json::JsonView jsonValue)
SbomValidationResultSummary & WithErrorMessage(const char *value)
SbomValidationResultSummary & WithErrorCode(SbomValidationErrorCode &&value)
SbomValidationResultSummary & WithFileName(const Aws::String &value)
SbomValidationResultSummary & WithErrorMessage(Aws::String &&value)
SbomValidationResultSummary & WithFileName(const char *value)
void SetValidationResult(const SbomValidationResult &value)
SbomValidationResultSummary & WithValidationResult(SbomValidationResult &&value)
void SetValidationResult(SbomValidationResult &&value)
SbomValidationResultSummary & WithFileName(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
SbomValidationResultSummary & WithErrorCode(const SbomValidationErrorCode &value)
void SetErrorCode(const SbomValidationErrorCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue