7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/CodeSnippetErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
64 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
78 inline void SetFindingArn(
const char* value) { m_findingArnHasBeenSet =
true; m_findingArn.assign(value); }
86 bool m_errorCodeHasBeenSet =
false;
89 bool m_errorMessageHasBeenSet =
false;
92 bool m_findingArnHasBeenSet =
false;
CodeSnippetError & WithFindingArn(Aws::String &&value)
AWS_INSPECTOR2_API CodeSnippetError(Aws::Utils::Json::JsonView jsonValue)
CodeSnippetError & WithErrorCode(const CodeSnippetErrorCode &value)
void SetFindingArn(const Aws::String &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(const CodeSnippetErrorCode &value)
bool FindingArnHasBeenSet() const
bool ErrorCodeHasBeenSet() const
AWS_INSPECTOR2_API CodeSnippetError()
CodeSnippetError & WithErrorMessage(const Aws::String &value)
const CodeSnippetErrorCode & GetErrorCode() const
void SetErrorMessage(Aws::String &&value)
CodeSnippetError & WithFindingArn(const char *value)
void SetFindingArn(const char *value)
const Aws::String & GetFindingArn() const
CodeSnippetError & WithErrorCode(CodeSnippetErrorCode &&value)
void SetErrorMessage(const Aws::String &value)
void SetErrorMessage(const char *value)
bool ErrorMessageHasBeenSet() const
void SetErrorCode(CodeSnippetErrorCode &&value)
CodeSnippetError & WithErrorMessage(const char *value)
void SetFindingArn(Aws::String &&value)
CodeSnippetError & WithErrorMessage(Aws::String &&value)
CodeSnippetError & WithFindingArn(const Aws::String &value)
AWS_INSPECTOR2_API CodeSnippetError & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue