535 lines
21 KiB
C++
535 lines
21 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/ce/CostExplorer_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/ce/model/ResourceDetails.h>
|
|
#include <aws/ce/model/ResourceUtilization.h>
|
|
#include <aws/ce/model/TagValues.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace CostExplorer
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Context about the current instance.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CurrentInstance">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_COSTEXPLORER_API CurrentInstance
|
|
{
|
|
public:
|
|
CurrentInstance();
|
|
CurrentInstance(Aws::Utils::Json::JsonView jsonValue);
|
|
CurrentInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline const Aws::String& GetResourceId() const{ return m_resourceId; }
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Resource ID of the current instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceId(const char* value) { SetResourceId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline const Aws::String& GetInstanceName() const{ return m_instanceName; }
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline bool InstanceNameHasBeenSet() const { return m_instanceNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline void SetInstanceName(const Aws::String& value) { m_instanceNameHasBeenSet = true; m_instanceName = value; }
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline void SetInstanceName(Aws::String&& value) { m_instanceNameHasBeenSet = true; m_instanceName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline void SetInstanceName(const char* value) { m_instanceNameHasBeenSet = true; m_instanceName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline CurrentInstance& WithInstanceName(const Aws::String& value) { SetInstanceName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline CurrentInstance& WithInstanceName(Aws::String&& value) { SetInstanceName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name you've given an instance. This field will show as blank if you
|
|
* haven't given the instance a name.</p>
|
|
*/
|
|
inline CurrentInstance& WithInstanceName(const char* value) { SetInstanceName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline const Aws::Vector<TagValues>& GetTags() const{ return m_tags; }
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline void SetTags(const Aws::Vector<TagValues>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline void SetTags(Aws::Vector<TagValues>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithTags(const Aws::Vector<TagValues>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithTags(Aws::Vector<TagValues>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline CurrentInstance& AddTags(const TagValues& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>Cost allocation resource tags applied to the instance.</p>
|
|
*/
|
|
inline CurrentInstance& AddTags(TagValues&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p> Details about the resource and utilization.</p>
|
|
*/
|
|
inline const ResourceDetails& GetResourceDetails() const{ return m_resourceDetails; }
|
|
|
|
/**
|
|
* <p> Details about the resource and utilization.</p>
|
|
*/
|
|
inline bool ResourceDetailsHasBeenSet() const { return m_resourceDetailsHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Details about the resource and utilization.</p>
|
|
*/
|
|
inline void SetResourceDetails(const ResourceDetails& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = value; }
|
|
|
|
/**
|
|
* <p> Details about the resource and utilization.</p>
|
|
*/
|
|
inline void SetResourceDetails(ResourceDetails&& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = std::move(value); }
|
|
|
|
/**
|
|
* <p> Details about the resource and utilization.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceDetails(const ResourceDetails& value) { SetResourceDetails(value); return *this;}
|
|
|
|
/**
|
|
* <p> Details about the resource and utilization.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceDetails(ResourceDetails&& value) { SetResourceDetails(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> Utilization information of the current instance during the lookback
|
|
* period.</p>
|
|
*/
|
|
inline const ResourceUtilization& GetResourceUtilization() const{ return m_resourceUtilization; }
|
|
|
|
/**
|
|
* <p> Utilization information of the current instance during the lookback
|
|
* period.</p>
|
|
*/
|
|
inline bool ResourceUtilizationHasBeenSet() const { return m_resourceUtilizationHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Utilization information of the current instance during the lookback
|
|
* period.</p>
|
|
*/
|
|
inline void SetResourceUtilization(const ResourceUtilization& value) { m_resourceUtilizationHasBeenSet = true; m_resourceUtilization = value; }
|
|
|
|
/**
|
|
* <p> Utilization information of the current instance during the lookback
|
|
* period.</p>
|
|
*/
|
|
inline void SetResourceUtilization(ResourceUtilization&& value) { m_resourceUtilizationHasBeenSet = true; m_resourceUtilization = std::move(value); }
|
|
|
|
/**
|
|
* <p> Utilization information of the current instance during the lookback
|
|
* period.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceUtilization(const ResourceUtilization& value) { SetResourceUtilization(value); return *this;}
|
|
|
|
/**
|
|
* <p> Utilization information of the current instance during the lookback
|
|
* period.</p>
|
|
*/
|
|
inline CurrentInstance& WithResourceUtilization(ResourceUtilization&& value) { SetResourceUtilization(std::move(value)); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline const Aws::String& GetReservationCoveredHoursInLookbackPeriod() const{ return m_reservationCoveredHoursInLookbackPeriod; }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline bool ReservationCoveredHoursInLookbackPeriodHasBeenSet() const { return m_reservationCoveredHoursInLookbackPeriodHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline void SetReservationCoveredHoursInLookbackPeriod(const Aws::String& value) { m_reservationCoveredHoursInLookbackPeriodHasBeenSet = true; m_reservationCoveredHoursInLookbackPeriod = value; }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline void SetReservationCoveredHoursInLookbackPeriod(Aws::String&& value) { m_reservationCoveredHoursInLookbackPeriodHasBeenSet = true; m_reservationCoveredHoursInLookbackPeriod = std::move(value); }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline void SetReservationCoveredHoursInLookbackPeriod(const char* value) { m_reservationCoveredHoursInLookbackPeriodHasBeenSet = true; m_reservationCoveredHoursInLookbackPeriod.assign(value); }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline CurrentInstance& WithReservationCoveredHoursInLookbackPeriod(const Aws::String& value) { SetReservationCoveredHoursInLookbackPeriod(value); return *this;}
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline CurrentInstance& WithReservationCoveredHoursInLookbackPeriod(Aws::String&& value) { SetReservationCoveredHoursInLookbackPeriod(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period covered by reservations.</p>
|
|
*/
|
|
inline CurrentInstance& WithReservationCoveredHoursInLookbackPeriod(const char* value) { SetReservationCoveredHoursInLookbackPeriod(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline const Aws::String& GetSavingsPlansCoveredHoursInLookbackPeriod() const{ return m_savingsPlansCoveredHoursInLookbackPeriod; }
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline bool SavingsPlansCoveredHoursInLookbackPeriodHasBeenSet() const { return m_savingsPlansCoveredHoursInLookbackPeriodHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline void SetSavingsPlansCoveredHoursInLookbackPeriod(const Aws::String& value) { m_savingsPlansCoveredHoursInLookbackPeriodHasBeenSet = true; m_savingsPlansCoveredHoursInLookbackPeriod = value; }
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline void SetSavingsPlansCoveredHoursInLookbackPeriod(Aws::String&& value) { m_savingsPlansCoveredHoursInLookbackPeriodHasBeenSet = true; m_savingsPlansCoveredHoursInLookbackPeriod = std::move(value); }
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline void SetSavingsPlansCoveredHoursInLookbackPeriod(const char* value) { m_savingsPlansCoveredHoursInLookbackPeriodHasBeenSet = true; m_savingsPlansCoveredHoursInLookbackPeriod.assign(value); }
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline CurrentInstance& WithSavingsPlansCoveredHoursInLookbackPeriod(const Aws::String& value) { SetSavingsPlansCoveredHoursInLookbackPeriod(value); return *this;}
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline CurrentInstance& WithSavingsPlansCoveredHoursInLookbackPeriod(Aws::String&& value) { SetSavingsPlansCoveredHoursInLookbackPeriod(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Number of hours during the lookback period covered by Savings Plans.</p>
|
|
*/
|
|
inline CurrentInstance& WithSavingsPlansCoveredHoursInLookbackPeriod(const char* value) { SetSavingsPlansCoveredHoursInLookbackPeriod(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline const Aws::String& GetOnDemandHoursInLookbackPeriod() const{ return m_onDemandHoursInLookbackPeriod; }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline bool OnDemandHoursInLookbackPeriodHasBeenSet() const { return m_onDemandHoursInLookbackPeriodHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline void SetOnDemandHoursInLookbackPeriod(const Aws::String& value) { m_onDemandHoursInLookbackPeriodHasBeenSet = true; m_onDemandHoursInLookbackPeriod = value; }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline void SetOnDemandHoursInLookbackPeriod(Aws::String&& value) { m_onDemandHoursInLookbackPeriodHasBeenSet = true; m_onDemandHoursInLookbackPeriod = std::move(value); }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline void SetOnDemandHoursInLookbackPeriod(const char* value) { m_onDemandHoursInLookbackPeriodHasBeenSet = true; m_onDemandHoursInLookbackPeriod.assign(value); }
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline CurrentInstance& WithOnDemandHoursInLookbackPeriod(const Aws::String& value) { SetOnDemandHoursInLookbackPeriod(value); return *this;}
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline CurrentInstance& WithOnDemandHoursInLookbackPeriod(Aws::String&& value) { SetOnDemandHoursInLookbackPeriod(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> Number of hours during the lookback period billed at On Demand rates.</p>
|
|
*/
|
|
inline CurrentInstance& WithOnDemandHoursInLookbackPeriod(const char* value) { SetOnDemandHoursInLookbackPeriod(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline const Aws::String& GetTotalRunningHoursInLookbackPeriod() const{ return m_totalRunningHoursInLookbackPeriod; }
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline bool TotalRunningHoursInLookbackPeriodHasBeenSet() const { return m_totalRunningHoursInLookbackPeriodHasBeenSet; }
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline void SetTotalRunningHoursInLookbackPeriod(const Aws::String& value) { m_totalRunningHoursInLookbackPeriodHasBeenSet = true; m_totalRunningHoursInLookbackPeriod = value; }
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline void SetTotalRunningHoursInLookbackPeriod(Aws::String&& value) { m_totalRunningHoursInLookbackPeriodHasBeenSet = true; m_totalRunningHoursInLookbackPeriod = std::move(value); }
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline void SetTotalRunningHoursInLookbackPeriod(const char* value) { m_totalRunningHoursInLookbackPeriodHasBeenSet = true; m_totalRunningHoursInLookbackPeriod.assign(value); }
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline CurrentInstance& WithTotalRunningHoursInLookbackPeriod(const Aws::String& value) { SetTotalRunningHoursInLookbackPeriod(value); return *this;}
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline CurrentInstance& WithTotalRunningHoursInLookbackPeriod(Aws::String&& value) { SetTotalRunningHoursInLookbackPeriod(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> The total number of hours the instance ran during the lookback period.</p>
|
|
*/
|
|
inline CurrentInstance& WithTotalRunningHoursInLookbackPeriod(const char* value) { SetTotalRunningHoursInLookbackPeriod(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline const Aws::String& GetMonthlyCost() const{ return m_monthlyCost; }
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline bool MonthlyCostHasBeenSet() const { return m_monthlyCostHasBeenSet; }
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline void SetMonthlyCost(const Aws::String& value) { m_monthlyCostHasBeenSet = true; m_monthlyCost = value; }
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline void SetMonthlyCost(Aws::String&& value) { m_monthlyCostHasBeenSet = true; m_monthlyCost = std::move(value); }
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline void SetMonthlyCost(const char* value) { m_monthlyCostHasBeenSet = true; m_monthlyCost.assign(value); }
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline CurrentInstance& WithMonthlyCost(const Aws::String& value) { SetMonthlyCost(value); return *this;}
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline CurrentInstance& WithMonthlyCost(Aws::String&& value) { SetMonthlyCost(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> Current On Demand cost of operating this instance on a monthly basis.</p>
|
|
*/
|
|
inline CurrentInstance& WithMonthlyCost(const char* value) { SetMonthlyCost(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p> The currency code that Amazon Web Services used to calculate the costs for
|
|
* this instance.</p>
|
|
*/
|
|
inline CurrentInstance& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_resourceId;
|
|
bool m_resourceIdHasBeenSet;
|
|
|
|
Aws::String m_instanceName;
|
|
bool m_instanceNameHasBeenSet;
|
|
|
|
Aws::Vector<TagValues> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
|
|
ResourceDetails m_resourceDetails;
|
|
bool m_resourceDetailsHasBeenSet;
|
|
|
|
ResourceUtilization m_resourceUtilization;
|
|
bool m_resourceUtilizationHasBeenSet;
|
|
|
|
Aws::String m_reservationCoveredHoursInLookbackPeriod;
|
|
bool m_reservationCoveredHoursInLookbackPeriodHasBeenSet;
|
|
|
|
Aws::String m_savingsPlansCoveredHoursInLookbackPeriod;
|
|
bool m_savingsPlansCoveredHoursInLookbackPeriodHasBeenSet;
|
|
|
|
Aws::String m_onDemandHoursInLookbackPeriod;
|
|
bool m_onDemandHoursInLookbackPeriodHasBeenSet;
|
|
|
|
Aws::String m_totalRunningHoursInLookbackPeriod;
|
|
bool m_totalRunningHoursInLookbackPeriodHasBeenSet;
|
|
|
|
Aws::String m_monthlyCost;
|
|
bool m_monthlyCostHasBeenSet;
|
|
|
|
Aws::String m_currencyCode;
|
|
bool m_currencyCodeHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CostExplorer
|
|
} // namespace Aws
|