7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
67 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
75 bool m_codeHasBeenSet =
false;
78 bool m_messageHasBeenSet =
false;
void SetCode(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCode() const
MalwareProtectionPlanStatusReason & WithCode(const char *value)
AWS_GUARDDUTY_API MalwareProtectionPlanStatusReason(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API MalwareProtectionPlanStatusReason()
AWS_GUARDDUTY_API MalwareProtectionPlanStatusReason & operator=(Aws::Utils::Json::JsonView jsonValue)
MalwareProtectionPlanStatusReason & WithMessage(Aws::String &&value)
void SetCode(const Aws::String &value)
bool CodeHasBeenSet() const
void SetMessage(const Aws::String &value)
MalwareProtectionPlanStatusReason & WithMessage(const Aws::String &value)
void SetMessage(const char *value)
bool MessageHasBeenSet() const
MalwareProtectionPlanStatusReason & WithMessage(const char *value)
void SetMessage(Aws::String &&value)
MalwareProtectionPlanStatusReason & WithCode(Aws::String &&value)
MalwareProtectionPlanStatusReason & WithCode(const Aws::String &value)
const Aws::String & GetMessage() const
void SetCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue