/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Usage allocations allow you to split usage into buckets by tags. Each
* UsageAllocation
indicates the usage quantity for a specific set of
* tags.See Also:
AWS
* API Reference
The total quantity allocated to this bucket of usage.
*/ inline int GetAllocatedUsageQuantity() const{ return m_allocatedUsageQuantity; } /** *The total quantity allocated to this bucket of usage.
*/ inline bool AllocatedUsageQuantityHasBeenSet() const { return m_allocatedUsageQuantityHasBeenSet; } /** *The total quantity allocated to this bucket of usage.
*/ inline void SetAllocatedUsageQuantity(int value) { m_allocatedUsageQuantityHasBeenSet = true; m_allocatedUsageQuantity = value; } /** *The total quantity allocated to this bucket of usage.
*/ inline UsageAllocation& WithAllocatedUsageQuantity(int value) { SetAllocatedUsageQuantity(value); return *this;} /** *The set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline const Aws::VectorThe set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline void SetTags(const Aws::VectorThe set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline void SetTags(Aws::VectorThe set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline UsageAllocation& WithTags(const Aws::VectorThe set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline UsageAllocation& WithTags(Aws::VectorThe set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline UsageAllocation& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The set of tags that define the bucket of usage. For the bucket of items with * no tags, this parameter can be left out.
*/ inline UsageAllocation& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: int m_allocatedUsageQuantity; bool m_allocatedUsageQuantityHasBeenSet = false; Aws::Vector