7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
63 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
71 bool m_errorCodeHasBeenSet =
false;
74 bool m_messageHasBeenSet =
false;
AWS_SECURITYHUB_API AwsLambdaFunctionEnvironmentError()
AwsLambdaFunctionEnvironmentError & WithErrorCode(Aws::String &&value)
AwsLambdaFunctionEnvironmentError & WithMessage(const char *value)
void SetErrorCode(Aws::String &&value)
void SetMessage(const char *value)
AwsLambdaFunctionEnvironmentError & WithMessage(Aws::String &&value)
AwsLambdaFunctionEnvironmentError & WithErrorCode(const char *value)
void SetErrorCode(const char *value)
void SetMessage(Aws::String &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionEnvironmentError & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
void SetMessage(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
void SetErrorCode(const Aws::String &value)
AwsLambdaFunctionEnvironmentError & WithMessage(const Aws::String &value)
AWS_SECURITYHUB_API AwsLambdaFunctionEnvironmentError(Aws::Utils::Json::JsonView jsonValue)
AwsLambdaFunctionEnvironmentError & WithErrorCode(const Aws::String &value)
const Aws::String & GetErrorCode() const
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue