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); }
63 inline void SetProductType(
const char* value) { m_productTypeHasBeenSet =
true; m_productType.assign(value); }
71 bool m_codeHasBeenSet =
false;
74 bool m_productTypeHasBeenSet =
false;
AWS_GUARDDUTY_API ProductCode & operator=(Aws::Utils::Json::JsonView jsonValue)
ProductCode & WithProductType(const char *value)
ProductCode & WithCode(Aws::String &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProductType(Aws::String &&value)
void SetCode(Aws::String &&value)
bool ProductTypeHasBeenSet() const
void SetProductType(const Aws::String &value)
void SetCode(const Aws::String &value)
AWS_GUARDDUTY_API ProductCode()
void SetProductType(const char *value)
const Aws::String & GetCode() const
ProductCode & WithProductType(const Aws::String &value)
AWS_GUARDDUTY_API ProductCode(Aws::Utils::Json::JsonView jsonValue)
void SetCode(const char *value)
ProductCode & WithCode(const char *value)
ProductCode & WithCode(const Aws::String &value)
ProductCode & WithProductType(Aws::String &&value)
bool CodeHasBeenSet() const
const Aws::String & GetProductType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue