/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a product code.See Also:
AWS API
* Reference
The product code.
*/ inline const Aws::String& GetProductCodeId() const{ return m_productCodeId; } /** *The product code.
*/ inline bool ProductCodeIdHasBeenSet() const { return m_productCodeIdHasBeenSet; } /** *The product code.
*/ inline void SetProductCodeId(const Aws::String& value) { m_productCodeIdHasBeenSet = true; m_productCodeId = value; } /** *The product code.
*/ inline void SetProductCodeId(Aws::String&& value) { m_productCodeIdHasBeenSet = true; m_productCodeId = std::move(value); } /** *The product code.
*/ inline void SetProductCodeId(const char* value) { m_productCodeIdHasBeenSet = true; m_productCodeId.assign(value); } /** *The product code.
*/ inline ProductCode& WithProductCodeId(const Aws::String& value) { SetProductCodeId(value); return *this;} /** *The product code.
*/ inline ProductCode& WithProductCodeId(Aws::String&& value) { SetProductCodeId(std::move(value)); return *this;} /** *The product code.
*/ inline ProductCode& WithProductCodeId(const char* value) { SetProductCodeId(value); return *this;} /** *The type of product code.
*/ inline const ProductCodeValues& GetProductCodeType() const{ return m_productCodeType; } /** *The type of product code.
*/ inline bool ProductCodeTypeHasBeenSet() const { return m_productCodeTypeHasBeenSet; } /** *The type of product code.
*/ inline void SetProductCodeType(const ProductCodeValues& value) { m_productCodeTypeHasBeenSet = true; m_productCodeType = value; } /** *The type of product code.
*/ inline void SetProductCodeType(ProductCodeValues&& value) { m_productCodeTypeHasBeenSet = true; m_productCodeType = std::move(value); } /** *The type of product code.
*/ inline ProductCode& WithProductCodeType(const ProductCodeValues& value) { SetProductCodeType(value); return *this;} /** *The type of product code.
*/ inline ProductCode& WithProductCodeType(ProductCodeValues&& value) { SetProductCodeType(std::move(value)); return *this;} private: Aws::String m_productCodeId; bool m_productCodeIdHasBeenSet = false; ProductCodeValues m_productCodeType; bool m_productCodeTypeHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws