AWS SDK for C++  1.9.106
AWS SDK for C++
BatchUpdateFindingsUnprocessedFinding.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SecurityHub
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const AwsSecurityFindingIdentifier& GetFindingIdentifier() const{ return m_findingIdentifier; }
46 
50  inline bool FindingIdentifierHasBeenSet() const { return m_findingIdentifierHasBeenSet; }
51 
55  inline void SetFindingIdentifier(const AwsSecurityFindingIdentifier& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = value; }
56 
60  inline void SetFindingIdentifier(AwsSecurityFindingIdentifier&& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = std::move(value); }
61 
65  inline BatchUpdateFindingsUnprocessedFinding& WithFindingIdentifier(const AwsSecurityFindingIdentifier& value) { SetFindingIdentifier(value); return *this;}
66 
70  inline BatchUpdateFindingsUnprocessedFinding& WithFindingIdentifier(AwsSecurityFindingIdentifier&& value) { SetFindingIdentifier(std::move(value)); return *this;}
71 
72 
76  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
77 
81  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
82 
86  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
87 
91  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
92 
96  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
97 
101  inline BatchUpdateFindingsUnprocessedFinding& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
102 
106  inline BatchUpdateFindingsUnprocessedFinding& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
107 
111  inline BatchUpdateFindingsUnprocessedFinding& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
112 
113 
117  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
118 
122  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
123 
127  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
128 
132  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
133 
137  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
138 
142  inline BatchUpdateFindingsUnprocessedFinding& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
143 
147  inline BatchUpdateFindingsUnprocessedFinding& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
148 
152  inline BatchUpdateFindingsUnprocessedFinding& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
153 
154  private:
155 
156  AwsSecurityFindingIdentifier m_findingIdentifier;
157  bool m_findingIdentifierHasBeenSet;
158 
159  Aws::String m_errorCode;
160  bool m_errorCodeHasBeenSet;
161 
162  Aws::String m_errorMessage;
163  bool m_errorMessageHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace SecurityHub
168 } // namespace Aws
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: BatchUpdateFindingsUnprocessedFinding.h:122
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::FindingIdentifierHasBeenSet
bool FindingIdentifierHasBeenSet() const
Definition: BatchUpdateFindingsUnprocessedFinding.h:50
AwsSecurityFindingIdentifier.h
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithErrorMessage
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(const Aws::String &value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:142
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetErrorCode
void SetErrorCode(const char *value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:96
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:91
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetFindingIdentifier
void SetFindingIdentifier(AwsSecurityFindingIdentifier &&value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:60
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: BatchUpdateFindingsUnprocessedFinding.h:81
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithFindingIdentifier
BatchUpdateFindingsUnprocessedFinding & WithFindingIdentifier(AwsSecurityFindingIdentifier &&value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:70
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::GetFindingIdentifier
const AwsSecurityFindingIdentifier & GetFindingIdentifier() const
Definition: BatchUpdateFindingsUnprocessedFinding.h:45
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:137
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetFindingIdentifier
void SetFindingIdentifier(const AwsSecurityFindingIdentifier &value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:55
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithErrorCode
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(const Aws::String &value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:101
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: BatchUpdateFindingsUnprocessedFinding.h:76
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding
Definition: BatchUpdateFindingsUnprocessedFinding.h:34
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: BatchUpdateFindingsUnprocessedFinding.h:117
Aws::SecurityHub::Model::AwsSecurityFindingIdentifier
Definition: AwsSecurityFindingIdentifier.h:33
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:86
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithErrorMessage
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(const char *value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:152
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::operator=
BatchUpdateFindingsUnprocessedFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::BatchUpdateFindingsUnprocessedFinding
BatchUpdateFindingsUnprocessedFinding(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::BatchUpdateFindingsUnprocessedFinding
BatchUpdateFindingsUnprocessedFinding()
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:132
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithFindingIdentifier
BatchUpdateFindingsUnprocessedFinding & WithFindingIdentifier(const AwsSecurityFindingIdentifier &value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:65
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithErrorCode
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(Aws::String &&value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:106
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:127
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithErrorCode
BatchUpdateFindingsUnprocessedFinding & WithErrorCode(const char *value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:111
Aws::SecurityHub::Model::BatchUpdateFindingsUnprocessedFinding::WithErrorMessage
BatchUpdateFindingsUnprocessedFinding & WithErrorMessage(Aws::String &&value)
Definition: BatchUpdateFindingsUnprocessedFinding.h:147