7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/DateInterval.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/Coverage.h>
11#include <aws/ce/model/ReservationCoverageGroup.h>
76 inline void SetTotal(
const Coverage& value) { m_totalHasBeenSet =
true; m_total = value; }
77 inline void SetTotal(
Coverage&& value) { m_totalHasBeenSet =
true; m_total = std::move(value); }
84 bool m_timePeriodHasBeenSet =
false;
87 bool m_groupsHasBeenSet =
false;
90 bool m_totalHasBeenSet =
false;
const Aws::Vector< ReservationCoverageGroup > & GetGroups() const
CoverageByTime & WithTimePeriod(const DateInterval &value)
const DateInterval & GetTimePeriod() const
CoverageByTime & AddGroups(const ReservationCoverageGroup &value)
AWS_COSTEXPLORER_API CoverageByTime & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(const Aws::Vector< ReservationCoverageGroup > &value)
void SetTimePeriod(const DateInterval &value)
CoverageByTime & WithGroups(const Aws::Vector< ReservationCoverageGroup > &value)
AWS_COSTEXPLORER_API CoverageByTime()
const Coverage & GetTotal() const
AWS_COSTEXPLORER_API CoverageByTime(Aws::Utils::Json::JsonView jsonValue)
void SetGroups(Aws::Vector< ReservationCoverageGroup > &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimePeriod(DateInterval &&value)
CoverageByTime & WithGroups(Aws::Vector< ReservationCoverageGroup > &&value)
CoverageByTime & WithTimePeriod(DateInterval &&value)
void SetTotal(const Coverage &value)
CoverageByTime & WithTotal(Coverage &&value)
CoverageByTime & WithTotal(const Coverage &value)
void SetTotal(Coverage &&value)
CoverageByTime & AddGroups(ReservationCoverageGroup &&value)
bool GroupsHasBeenSet() const
bool TimePeriodHasBeenSet() const
bool TotalHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue