AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetFindingsError.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/codeguru-security/model/ErrorCode.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 CodeGuruSecurity
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEGURUSECURITY_API BatchGetFindingsError();
37 AWS_CODEGURUSECURITY_API BatchGetFindingsError(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEGURUSECURITY_API BatchGetFindingsError& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ErrorCode& GetErrorCode() const{ return m_errorCode; }
47 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
48 inline void SetErrorCode(const ErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
49 inline void SetErrorCode(ErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
50 inline BatchGetFindingsError& WithErrorCode(const ErrorCode& value) { SetErrorCode(value); return *this;}
51 inline BatchGetFindingsError& WithErrorCode(ErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetFindingId() const{ return m_findingId; }
59 inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
60 inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; }
61 inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); }
62 inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); }
63 inline BatchGetFindingsError& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;}
64 inline BatchGetFindingsError& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;}
65 inline BatchGetFindingsError& WithFindingId(const char* value) { SetFindingId(value); return *this;}
67
69
72 inline const Aws::String& GetMessage() const{ return m_message; }
73 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
74 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
75 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
76 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
77 inline BatchGetFindingsError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
78 inline BatchGetFindingsError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
79 inline BatchGetFindingsError& WithMessage(const char* value) { SetMessage(value); return *this;}
81
83
86 inline const Aws::String& GetScanName() const{ return m_scanName; }
87 inline bool ScanNameHasBeenSet() const { return m_scanNameHasBeenSet; }
88 inline void SetScanName(const Aws::String& value) { m_scanNameHasBeenSet = true; m_scanName = value; }
89 inline void SetScanName(Aws::String&& value) { m_scanNameHasBeenSet = true; m_scanName = std::move(value); }
90 inline void SetScanName(const char* value) { m_scanNameHasBeenSet = true; m_scanName.assign(value); }
91 inline BatchGetFindingsError& WithScanName(const Aws::String& value) { SetScanName(value); return *this;}
92 inline BatchGetFindingsError& WithScanName(Aws::String&& value) { SetScanName(std::move(value)); return *this;}
93 inline BatchGetFindingsError& WithScanName(const char* value) { SetScanName(value); return *this;}
95 private:
96
97 ErrorCode m_errorCode;
98 bool m_errorCodeHasBeenSet = false;
99
100 Aws::String m_findingId;
101 bool m_findingIdHasBeenSet = false;
102
103 Aws::String m_message;
104 bool m_messageHasBeenSet = false;
105
106 Aws::String m_scanName;
107 bool m_scanNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CodeGuruSecurity
112} // namespace Aws
BatchGetFindingsError & WithMessage(const Aws::String &value)
BatchGetFindingsError & WithErrorCode(ErrorCode &&value)
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
BatchGetFindingsError & WithScanName(Aws::String &&value)
BatchGetFindingsError & WithScanName(const char *value)
AWS_CODEGURUSECURITY_API BatchGetFindingsError(Aws::Utils::Json::JsonView jsonValue)
BatchGetFindingsError & WithFindingId(const Aws::String &value)
AWS_CODEGURUSECURITY_API BatchGetFindingsError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchGetFindingsError & WithFindingId(const char *value)
BatchGetFindingsError & WithScanName(const Aws::String &value)
BatchGetFindingsError & WithMessage(const char *value)
BatchGetFindingsError & WithErrorCode(const ErrorCode &value)
BatchGetFindingsError & WithMessage(Aws::String &&value)
BatchGetFindingsError & WithFindingId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue