7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename CodeT = Aws::String>
48 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
49 template<
typename CodeT = Aws::String>
59 template<
typename ProductTypeT = Aws::String>
60 void SetProductType(ProductTypeT&& value) { m_productTypeHasBeenSet =
true; m_productType = std::forward<ProductTypeT>(value); }
61 template<
typename ProductTypeT = Aws::String>
67 bool m_codeHasBeenSet =
false;
70 bool m_productTypeHasBeenSet =
false;
AWS_GUARDDUTY_API ProductCode & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ProductTypeHasBeenSet() const
ProductCode & WithCode(CodeT &&value)
const Aws::String & GetCode() const
void SetProductType(ProductTypeT &&value)
ProductCode & WithProductType(ProductTypeT &&value)
AWS_GUARDDUTY_API ProductCode(Aws::Utils::Json::JsonView jsonValue)
bool CodeHasBeenSet() const
AWS_GUARDDUTY_API ProductCode()=default
const Aws::String & GetProductType() const
void SetCode(CodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue