AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
BatchUpdateFindingsUnprocessedFinding.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsSecurityFindingIdentifier.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API BatchUpdateFindingsUnprocessedFinding() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AwsSecurityFindingIdentifier& GetFindingIdentifier() const { return m_findingIdentifier; }
41 inline bool FindingIdentifierHasBeenSet() const { return m_findingIdentifierHasBeenSet; }
42 template <typename FindingIdentifierT = AwsSecurityFindingIdentifier>
43 void SetFindingIdentifier(FindingIdentifierT&& value) {
44 m_findingIdentifierHasBeenSet = true;
45 m_findingIdentifier = std::forward<FindingIdentifierT>(value);
46 }
47 template <typename FindingIdentifierT = AwsSecurityFindingIdentifier>
49 SetFindingIdentifier(std::forward<FindingIdentifierT>(value));
50 return *this;
51 }
53
55
76 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
77 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
78 template <typename ErrorCodeT = Aws::String>
79 void SetErrorCode(ErrorCodeT&& value) {
80 m_errorCodeHasBeenSet = true;
81 m_errorCode = std::forward<ErrorCodeT>(value);
82 }
83 template <typename ErrorCodeT = Aws::String>
85 SetErrorCode(std::forward<ErrorCodeT>(value));
86 return *this;
87 }
89
91
99 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
100 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
101 template <typename ErrorMessageT = Aws::String>
102 void SetErrorMessage(ErrorMessageT&& value) {
103 m_errorMessageHasBeenSet = true;
104 m_errorMessage = std::forward<ErrorMessageT>(value);
105 }
106 template <typename ErrorMessageT = Aws::String>
108 SetErrorMessage(std::forward<ErrorMessageT>(value));
109 return *this;
110 }
112 private:
113 AwsSecurityFindingIdentifier m_findingIdentifier;
114
115 Aws::String m_errorCode;
116
117 Aws::String m_errorMessage;
118 bool m_findingIdentifierHasBeenSet = false;
119 bool m_errorCodeHasBeenSet = false;
120 bool m_errorMessageHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SecurityHub
125} // namespace Aws
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(ErrorCodeT &&value)
BatchUpdateFindingsUnprocessedFinding & WithFindingIdentifier(FindingIdentifierT &&value)
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(ErrorMessageT &&value)
AWS_SECURITYHUB_API BatchUpdateFindingsUnprocessedFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API BatchUpdateFindingsUnprocessedFinding(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue