7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/ProductCodeListItem.h>
21namespace LicenseManager {
47 template <
typename UsageOperationT = Aws::String>
49 m_usageOperationHasBeenSet =
true;
50 m_usageOperation = std::forward<UsageOperationT>(value);
52 template <
typename UsageOperationT = Aws::String>
65 template <
typename ProductCodesT = Aws::Vector<ProductCodeListItem>>
67 m_productCodesHasBeenSet =
true;
68 m_productCodes = std::forward<ProductCodesT>(value);
70 template <
typename ProductCodesT = Aws::Vector<ProductCodeListItem>>
75 template <
typename ProductCodesT = ProductCodeListItem>
77 m_productCodesHasBeenSet =
true;
78 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
86 bool m_usageOperationHasBeenSet =
false;
87 bool m_productCodesHasBeenSet =
false;
AWS_LICENSEMANAGER_API LicenseConversionContext(Aws::Utils::Json::JsonView jsonValue)
LicenseConversionContext & AddProductCodes(ProductCodesT &&value)
bool ProductCodesHasBeenSet() const
void SetUsageOperation(UsageOperationT &&value)
AWS_LICENSEMANAGER_API LicenseConversionContext()=default
AWS_LICENSEMANAGER_API LicenseConversionContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool UsageOperationHasBeenSet() const
void SetProductCodes(ProductCodesT &&value)
const Aws::Vector< ProductCodeListItem > & GetProductCodes() const
LicenseConversionContext & WithProductCodes(ProductCodesT &&value)
LicenseConversionContext & WithUsageOperation(UsageOperationT &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUsageOperation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue