7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ProductCodeValues.h>
51 inline void SetProductCodeId(
const char* value) { m_productCodeIdHasBeenSet =
true; m_productCodeId.assign(value); }
71 bool m_productCodeIdHasBeenSet =
false;
74 bool m_productCodeTypeHasBeenSet =
false;
ProductCode & WithProductCodeType(ProductCodeValues &&value)
AWS_EC2_API ProductCode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ProductCode & WithProductCodeId(const Aws::String &value)
bool ProductCodeIdHasBeenSet() const
void SetProductCodeId(Aws::String &&value)
ProductCode & WithProductCodeType(const ProductCodeValues &value)
void SetProductCodeId(const char *value)
void SetProductCodeId(const Aws::String &value)
const ProductCodeValues & GetProductCodeType() const
void SetProductCodeType(ProductCodeValues &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ProductCode & WithProductCodeId(Aws::String &&value)
void SetProductCodeType(const ProductCodeValues &value)
AWS_EC2_API ProductCode()
bool ProductCodeTypeHasBeenSet() const
AWS_EC2_API ProductCode(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetProductCodeId() const
ProductCode & WithProductCodeId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream