AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdateFindingsUnprocessedFinding.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsSecurityFindingIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AwsSecurityFindingIdentifier& GetFindingIdentifier() const{ return m_findingIdentifier; }
47 inline bool FindingIdentifierHasBeenSet() const { return m_findingIdentifierHasBeenSet; }
48 inline void SetFindingIdentifier(const AwsSecurityFindingIdentifier& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = value; }
49 inline void SetFindingIdentifier(AwsSecurityFindingIdentifier&& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = std::move(value); }
53
55
76 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
77 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
78 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
79 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
80 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
81 inline BatchUpdateFindingsUnprocessedFinding& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
82 inline BatchUpdateFindingsUnprocessedFinding& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
83 inline BatchUpdateFindingsUnprocessedFinding& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
85
87
95 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
96 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
97 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
98 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
99 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
101 inline BatchUpdateFindingsUnprocessedFinding& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
102 inline BatchUpdateFindingsUnprocessedFinding& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
104 private:
105
106 AwsSecurityFindingIdentifier m_findingIdentifier;
107 bool m_findingIdentifierHasBeenSet = false;
108
109 Aws::String m_errorCode;
110 bool m_errorCodeHasBeenSet = false;
111
112 Aws::String m_errorMessage;
113 bool m_errorMessageHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SecurityHub
118} // namespace Aws
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(const Aws::String &value)
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(Aws::String &&value)
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(const char *value)
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(const Aws::String &value)
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(Aws::String &&value)
AWS_SECURITYHUB_API BatchUpdateFindingsUnprocessedFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(const char *value)
BatchUpdateFindingsUnprocessedFinding & WithFindingIdentifier(const AwsSecurityFindingIdentifier &value)
BatchUpdateFindingsUnprocessedFinding & WithFindingIdentifier(AwsSecurityFindingIdentifier &&value)
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