/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A group of reservations that share a set of attributes.See
* Also:
AWS
* API Reference
The attributes for this group of reservations.
*/ inline const Aws::MapThe attributes for this group of reservations.
*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *The attributes for this group of reservations.
*/ inline void SetAttributes(const Aws::MapThe attributes for this group of reservations.
*/ inline void SetAttributes(Aws::MapThe attributes for this group of reservations.
*/ inline ReservationCoverageGroup& WithAttributes(const Aws::MapThe attributes for this group of reservations.
*/ inline ReservationCoverageGroup& WithAttributes(Aws::MapThe attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *The attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *The attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *The attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *The attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } /** *The attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } /** *The attributes for this group of reservations.
*/ inline ReservationCoverageGroup& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } /** *How much instance usage this group of reservations covered.
*/ inline const Coverage& GetCoverage() const{ return m_coverage; } /** *How much instance usage this group of reservations covered.
*/ inline bool CoverageHasBeenSet() const { return m_coverageHasBeenSet; } /** *How much instance usage this group of reservations covered.
*/ inline void SetCoverage(const Coverage& value) { m_coverageHasBeenSet = true; m_coverage = value; } /** *How much instance usage this group of reservations covered.
*/ inline void SetCoverage(Coverage&& value) { m_coverageHasBeenSet = true; m_coverage = std::move(value); } /** *How much instance usage this group of reservations covered.
*/ inline ReservationCoverageGroup& WithCoverage(const Coverage& value) { SetCoverage(value); return *this;} /** *How much instance usage this group of reservations covered.
*/ inline ReservationCoverageGroup& WithCoverage(Coverage&& value) { SetCoverage(std::move(value)); return *this;} private: Aws::Map