7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ce/model/ResourceDetails.h>
11#include <aws/ce/model/ResourceUtilization.h>
12#include <aws/ce/model/TagValues.h>
52 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
67 inline void SetInstanceName(
const char* value) { m_instanceNameHasBeenSet =
true; m_instanceName.assign(value); }
180 inline void SetMonthlyCost(
const char* value) { m_monthlyCostHasBeenSet =
true; m_monthlyCost.assign(value); }
195 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
203 bool m_resourceIdHasBeenSet =
false;
206 bool m_instanceNameHasBeenSet =
false;
209 bool m_tagsHasBeenSet =
false;
212 bool m_resourceDetailsHasBeenSet =
false;
215 bool m_resourceUtilizationHasBeenSet =
false;
217 Aws::String m_reservationCoveredHoursInLookbackPeriod;
218 bool m_reservationCoveredHoursInLookbackPeriodHasBeenSet =
false;
220 Aws::String m_savingsPlansCoveredHoursInLookbackPeriod;
221 bool m_savingsPlansCoveredHoursInLookbackPeriodHasBeenSet =
false;
224 bool m_onDemandHoursInLookbackPeriodHasBeenSet =
false;
227 bool m_totalRunningHoursInLookbackPeriodHasBeenSet =
false;
230 bool m_monthlyCostHasBeenSet =
false;
233 bool m_currencyCodeHasBeenSet =
false;
CurrentInstance & WithResourceUtilization(const ResourceUtilization &value)
void SetTags(Aws::Vector< TagValues > &&value)
void SetResourceUtilization(const ResourceUtilization &value)
const Aws::Vector< TagValues > & GetTags() const
void SetMonthlyCost(Aws::String &&value)
CurrentInstance & WithInstanceName(Aws::String &&value)
CurrentInstance & WithMonthlyCost(const char *value)
bool ResourceIdHasBeenSet() const
CurrentInstance & WithCurrencyCode(const Aws::String &value)
CurrentInstance & WithTotalRunningHoursInLookbackPeriod(Aws::String &&value)
const ResourceDetails & GetResourceDetails() const
CurrentInstance & WithReservationCoveredHoursInLookbackPeriod(Aws::String &&value)
bool ReservationCoveredHoursInLookbackPeriodHasBeenSet() const
CurrentInstance & WithTotalRunningHoursInLookbackPeriod(const Aws::String &value)
void SetMonthlyCost(const char *value)
bool InstanceNameHasBeenSet() const
bool ResourceUtilizationHasBeenSet() const
AWS_COSTEXPLORER_API CurrentInstance(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInstanceName() const
void SetOnDemandHoursInLookbackPeriod(Aws::String &&value)
bool TagsHasBeenSet() const
void SetInstanceName(Aws::String &&value)
bool MonthlyCostHasBeenSet() const
CurrentInstance & WithSavingsPlansCoveredHoursInLookbackPeriod(const char *value)
void SetReservationCoveredHoursInLookbackPeriod(const char *value)
CurrentInstance & WithOnDemandHoursInLookbackPeriod(const char *value)
CurrentInstance & WithTotalRunningHoursInLookbackPeriod(const char *value)
CurrentInstance & WithResourceId(const char *value)
CurrentInstance & WithSavingsPlansCoveredHoursInLookbackPeriod(Aws::String &&value)
void SetSavingsPlansCoveredHoursInLookbackPeriod(const char *value)
bool TotalRunningHoursInLookbackPeriodHasBeenSet() const
const ResourceUtilization & GetResourceUtilization() const
CurrentInstance & WithCurrencyCode(const char *value)
void SetResourceId(const char *value)
CurrentInstance & WithResourceUtilization(ResourceUtilization &&value)
bool SavingsPlansCoveredHoursInLookbackPeriodHasBeenSet() const
CurrentInstance & AddTags(TagValues &&value)
void SetReservationCoveredHoursInLookbackPeriod(const Aws::String &value)
void SetMonthlyCost(const Aws::String &value)
CurrentInstance & WithMonthlyCost(Aws::String &&value)
void SetCurrencyCode(const Aws::String &value)
bool OnDemandHoursInLookbackPeriodHasBeenSet() const
CurrentInstance & WithSavingsPlansCoveredHoursInLookbackPeriod(const Aws::String &value)
CurrentInstance & WithResourceId(const Aws::String &value)
CurrentInstance & WithResourceId(Aws::String &&value)
void SetInstanceName(const Aws::String &value)
CurrentInstance & WithInstanceName(const Aws::String &value)
AWS_COSTEXPLORER_API CurrentInstance()
CurrentInstance & WithResourceDetails(const ResourceDetails &value)
void SetResourceDetails(ResourceDetails &&value)
const Aws::String & GetSavingsPlansCoveredHoursInLookbackPeriod() const
const Aws::String & GetCurrencyCode() const
const Aws::String & GetMonthlyCost() const
CurrentInstance & AddTags(const TagValues &value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
CurrentInstance & WithResourceDetails(ResourceDetails &&value)
void SetResourceUtilization(ResourceUtilization &&value)
CurrentInstance & WithTags(const Aws::Vector< TagValues > &value)
void SetSavingsPlansCoveredHoursInLookbackPeriod(Aws::String &&value)
const Aws::String & GetResourceId() const
void SetTotalRunningHoursInLookbackPeriod(const Aws::String &value)
CurrentInstance & WithInstanceName(const char *value)
void SetResourceDetails(const ResourceDetails &value)
CurrentInstance & WithOnDemandHoursInLookbackPeriod(Aws::String &&value)
void SetCurrencyCode(const char *value)
void SetOnDemandHoursInLookbackPeriod(const Aws::String &value)
const Aws::String & GetReservationCoveredHoursInLookbackPeriod() const
void SetTotalRunningHoursInLookbackPeriod(const char *value)
void SetSavingsPlansCoveredHoursInLookbackPeriod(const Aws::String &value)
void SetOnDemandHoursInLookbackPeriod(const char *value)
AWS_COSTEXPLORER_API CurrentInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Vector< TagValues > &value)
CurrentInstance & WithOnDemandHoursInLookbackPeriod(const Aws::String &value)
const Aws::String & GetTotalRunningHoursInLookbackPeriod() const
void SetCurrencyCode(Aws::String &&value)
const Aws::String & GetOnDemandHoursInLookbackPeriod() const
bool ResourceDetailsHasBeenSet() const
CurrentInstance & WithReservationCoveredHoursInLookbackPeriod(const char *value)
void SetResourceId(Aws::String &&value)
void SetReservationCoveredHoursInLookbackPeriod(Aws::String &&value)
void SetResourceId(const Aws::String &value)
void SetTotalRunningHoursInLookbackPeriod(Aws::String &&value)
CurrentInstance & WithCurrencyCode(Aws::String &&value)
void SetInstanceName(const char *value)
CurrentInstance & WithTags(Aws::Vector< TagValues > &&value)
CurrentInstance & WithMonthlyCost(const Aws::String &value)
bool CurrencyCodeHasBeenSet() const
CurrentInstance & WithReservationCoveredHoursInLookbackPeriod(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue