7#include <aws/meteringmarketplace/MarketplaceMetering_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/meteringmarketplace/model/Tag.h>
22namespace MarketplaceMetering
60 template<
typename TagsT = Aws::Vector<Tag>>
61 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
62 template<
typename TagsT = Aws::Vector<Tag>>
64 template<
typename TagsT = Tag>
65 UsageAllocation&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
69 int m_allocatedUsageQuantity{0};
70 bool m_allocatedUsageQuantityHasBeenSet =
false;
73 bool m_tagsHasBeenSet =
false;
bool TagsHasBeenSet() const
UsageAllocation & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_MARKETPLACEMETERING_API UsageAllocation(Aws::Utils::Json::JsonView jsonValue)
int GetAllocatedUsageQuantity() const
void SetTags(TagsT &&value)
AWS_MARKETPLACEMETERING_API UsageAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAllocatedUsageQuantity(int value)
bool AllocatedUsageQuantityHasBeenSet() const
AWS_MARKETPLACEMETERING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MARKETPLACEMETERING_API UsageAllocation()=default
UsageAllocation & WithAllocatedUsageQuantity(int value)
UsageAllocation & WithTags(TagsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue