7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetRuleArn(
const char* value) { m_ruleArnHasBeenSet =
true; m_ruleArn.assign(value); }
62 inline void SetErrorCode(
int value) { m_errorCodeHasBeenSet =
true; m_errorCode = value; }
75 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
83 bool m_ruleArnHasBeenSet =
false;
86 bool m_errorCodeHasBeenSet =
false;
89 bool m_errorMessageHasBeenSet =
false;
bool ErrorCodeHasBeenSet() const
AWS_SECURITYHUB_API UnprocessedAutomationRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuleArn(const Aws::String &value)
void SetErrorCode(int value)
void SetRuleArn(const char *value)
UnprocessedAutomationRule & WithRuleArn(const char *value)
bool RuleArnHasBeenSet() const
UnprocessedAutomationRule & WithRuleArn(const Aws::String &value)
void SetErrorMessage(const char *value)
UnprocessedAutomationRule & WithErrorMessage(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
const Aws::String & GetRuleArn() const
void SetRuleArn(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
UnprocessedAutomationRule & WithErrorMessage(const char *value)
void SetErrorMessage(const Aws::String &value)
UnprocessedAutomationRule & WithRuleArn(Aws::String &&value)
AWS_SECURITYHUB_API UnprocessedAutomationRule()
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API UnprocessedAutomationRule(Aws::Utils::Json::JsonView jsonValue)
UnprocessedAutomationRule & WithErrorCode(int value)
UnprocessedAutomationRule & WithErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue