/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the estimated cost or usage that a budget tracks.See
* Also:
AWS
* API Reference
The resource name.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The resource name.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The resource name.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The resource name.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The resource name.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The resource name.
*/ inline ResourceBudgetEstimate& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The resource name.
*/ inline ResourceBudgetEstimate& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The resource name.
*/ inline ResourceBudgetEstimate& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *The type of resource the budget will track.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *The type of resource the budget will track.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of resource the budget will track.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of resource the budget will track.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of resource the budget will track.
*/ inline ResourceBudgetEstimate& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *The type of resource the budget will track.
*/ inline ResourceBudgetEstimate& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *The cost estimate for the specified budget.
*/ inline const Aws::VectorThe cost estimate for the specified budget.
*/ inline bool CostEstimatesHasBeenSet() const { return m_costEstimatesHasBeenSet; } /** *The cost estimate for the specified budget.
*/ inline void SetCostEstimates(const Aws::VectorThe cost estimate for the specified budget.
*/ inline void SetCostEstimates(Aws::VectorThe cost estimate for the specified budget.
*/ inline ResourceBudgetEstimate& WithCostEstimates(const Aws::VectorThe cost estimate for the specified budget.
*/ inline ResourceBudgetEstimate& WithCostEstimates(Aws::VectorThe cost estimate for the specified budget.
*/ inline ResourceBudgetEstimate& AddCostEstimates(const CostEstimate& value) { m_costEstimatesHasBeenSet = true; m_costEstimates.push_back(value); return *this; } /** *The cost estimate for the specified budget.
*/ inline ResourceBudgetEstimate& AddCostEstimates(CostEstimate&& value) { m_costEstimatesHasBeenSet = true; m_costEstimates.push_back(std::move(value)); return *this; } /** *The estimate start time.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The estimate start time.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The estimate start time.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The estimate start time.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The estimate start time.
*/ inline ResourceBudgetEstimate& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The estimate start time.
*/ inline ResourceBudgetEstimate& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *The estimate end time.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *The estimate end time.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The estimate end time.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The estimate end time.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The estimate end time.
*/ inline ResourceBudgetEstimate& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *The estimate end time.
*/ inline ResourceBudgetEstimate& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} private: Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; Aws::Vector