7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/DateInterval.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ce/model/MetricValue.h>
13#include <aws/ce/model/Group.h>
95 inline void SetEstimated(
bool value) { m_estimatedHasBeenSet =
true; m_estimated = value; }
101 bool m_timePeriodHasBeenSet =
false;
104 bool m_totalHasBeenSet =
false;
107 bool m_groupsHasBeenSet =
false;
110 bool m_estimatedHasBeenSet =
false;
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
ResultByTime & AddTotal(const char *key, MetricValue &&value)
bool EstimatedHasBeenSet() const
ResultByTime & AddTotal(const Aws::String &key, const MetricValue &value)
ResultByTime & AddTotal(Aws::String &&key, MetricValue &&value)
void SetTotal(const Aws::Map< Aws::String, MetricValue > &value)
ResultByTime & WithTimePeriod(DateInterval &&value)
bool TimePeriodHasBeenSet() const
AWS_COSTEXPLORER_API ResultByTime()
ResultByTime & AddTotal(Aws::String &&key, const MetricValue &value)
bool GetEstimated() const
AWS_COSTEXPLORER_API ResultByTime(Aws::Utils::Json::JsonView jsonValue)
bool TotalHasBeenSet() const
ResultByTime & AddTotal(const Aws::String &key, MetricValue &&value)
ResultByTime & AddGroups(const Group &value)
ResultByTime & AddGroups(Group &&value)
void SetTotal(Aws::Map< Aws::String, MetricValue > &&value)
void SetGroups(Aws::Vector< Group > &&value)
ResultByTime & WithGroups(const Aws::Vector< Group > &value)
ResultByTime & WithGroups(Aws::Vector< Group > &&value)
ResultByTime & WithTotal(Aws::Map< Aws::String, MetricValue > &&value)
ResultByTime & WithTimePeriod(const DateInterval &value)
void SetGroups(const Aws::Vector< Group > &value)
void SetEstimated(bool value)
void SetTimePeriod(DateInterval &&value)
const DateInterval & GetTimePeriod() const
const Aws::Map< Aws::String, MetricValue > & GetTotal() const
ResultByTime & AddTotal(const char *key, const MetricValue &value)
void SetTimePeriod(const DateInterval &value)
const Aws::Vector< Group > & GetGroups() const
ResultByTime & WithTotal(const Aws::Map< Aws::String, MetricValue > &value)
ResultByTime & WithEstimated(bool value)
AWS_COSTEXPLORER_API ResultByTime & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GroupsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue