/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about license consumption.See Also:
AWS
* API Reference
Resource type of the resource consuming a license.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *Resource type of the resource consuming a license.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *Resource type of the resource consuming a license.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *Resource type of the resource consuming a license.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *Resource type of the resource consuming a license.
*/ inline ConsumedLicenseSummary& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *Resource type of the resource consuming a license.
*/ inline ConsumedLicenseSummary& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *Number of licenses consumed by the resource.
*/ inline long long GetConsumedLicenses() const{ return m_consumedLicenses; } /** *Number of licenses consumed by the resource.
*/ inline bool ConsumedLicensesHasBeenSet() const { return m_consumedLicensesHasBeenSet; } /** *Number of licenses consumed by the resource.
*/ inline void SetConsumedLicenses(long long value) { m_consumedLicensesHasBeenSet = true; m_consumedLicenses = value; } /** *Number of licenses consumed by the resource.
*/ inline ConsumedLicenseSummary& WithConsumedLicenses(long long value) { SetConsumedLicenses(value); return *this;} private: ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; long long m_consumedLicenses; bool m_consumedLicensesHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws