/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details on recommended instance.See Also:
AWS
* API Reference
Expected cost to operate this instance type on a monthly basis.
*/ inline const Aws::String& GetEstimatedMonthlyCost() const{ return m_estimatedMonthlyCost; } /** *Expected cost to operate this instance type on a monthly basis.
*/ inline bool EstimatedMonthlyCostHasBeenSet() const { return m_estimatedMonthlyCostHasBeenSet; } /** *Expected cost to operate this instance type on a monthly basis.
*/ inline void SetEstimatedMonthlyCost(const Aws::String& value) { m_estimatedMonthlyCostHasBeenSet = true; m_estimatedMonthlyCost = value; } /** *Expected cost to operate this instance type on a monthly basis.
*/ inline void SetEstimatedMonthlyCost(Aws::String&& value) { m_estimatedMonthlyCostHasBeenSet = true; m_estimatedMonthlyCost = std::move(value); } /** *Expected cost to operate this instance type on a monthly basis.
*/ inline void SetEstimatedMonthlyCost(const char* value) { m_estimatedMonthlyCostHasBeenSet = true; m_estimatedMonthlyCost.assign(value); } /** *Expected cost to operate this instance type on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlyCost(const Aws::String& value) { SetEstimatedMonthlyCost(value); return *this;} /** *Expected cost to operate this instance type on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlyCost(Aws::String&& value) { SetEstimatedMonthlyCost(std::move(value)); return *this;} /** *Expected cost to operate this instance type on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlyCost(const char* value) { SetEstimatedMonthlyCost(value); return *this;} /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline const Aws::String& GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; } /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; } /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline void SetEstimatedMonthlySavings(const Aws::String& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; } /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline void SetEstimatedMonthlySavings(Aws::String&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::move(value); } /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline void SetEstimatedMonthlySavings(const char* value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings.assign(value); } /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlySavings(const Aws::String& value) { SetEstimatedMonthlySavings(value); return *this;} /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlySavings(Aws::String&& value) { SetEstimatedMonthlySavings(std::move(value)); return *this;} /** *Estimated savings resulting from modification, on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlySavings(const char* value) { SetEstimatedMonthlySavings(value); return *this;} /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); } /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline TargetInstance& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;} /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline TargetInstance& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;} /** *The currency code that Amazon Web Services used to calculate the costs for * this instance.
*/ inline TargetInstance& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;} /** *Indicates whether or not this recommendation is the defaulted Amazon Web * Services recommendation.
*/ inline bool GetDefaultTargetInstance() const{ return m_defaultTargetInstance; } /** *Indicates whether or not this recommendation is the defaulted Amazon Web * Services recommendation.
*/ inline bool DefaultTargetInstanceHasBeenSet() const { return m_defaultTargetInstanceHasBeenSet; } /** *Indicates whether or not this recommendation is the defaulted Amazon Web * Services recommendation.
*/ inline void SetDefaultTargetInstance(bool value) { m_defaultTargetInstanceHasBeenSet = true; m_defaultTargetInstance = value; } /** *Indicates whether or not this recommendation is the defaulted Amazon Web * Services recommendation.
*/ inline TargetInstance& WithDefaultTargetInstance(bool value) { SetDefaultTargetInstance(value); return *this;} /** *Details on the target instance type.
*/ inline const ResourceDetails& GetResourceDetails() const{ return m_resourceDetails; } /** *Details on the target instance type.
*/ inline bool ResourceDetailsHasBeenSet() const { return m_resourceDetailsHasBeenSet; } /** *Details on the target instance type.
*/ inline void SetResourceDetails(const ResourceDetails& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = value; } /** *Details on the target instance type.
*/ inline void SetResourceDetails(ResourceDetails&& value) { m_resourceDetailsHasBeenSet = true; m_resourceDetails = std::move(value); } /** *Details on the target instance type.
*/ inline TargetInstance& WithResourceDetails(const ResourceDetails& value) { SetResourceDetails(value); return *this;} /** *Details on the target instance type.
*/ inline TargetInstance& WithResourceDetails(ResourceDetails&& value) { SetResourceDetails(std::move(value)); return *this;} /** *Expected utilization metrics for target instance type.
*/ inline const ResourceUtilization& GetExpectedResourceUtilization() const{ return m_expectedResourceUtilization; } /** *Expected utilization metrics for target instance type.
*/ inline bool ExpectedResourceUtilizationHasBeenSet() const { return m_expectedResourceUtilizationHasBeenSet; } /** *Expected utilization metrics for target instance type.
*/ inline void SetExpectedResourceUtilization(const ResourceUtilization& value) { m_expectedResourceUtilizationHasBeenSet = true; m_expectedResourceUtilization = value; } /** *Expected utilization metrics for target instance type.
*/ inline void SetExpectedResourceUtilization(ResourceUtilization&& value) { m_expectedResourceUtilizationHasBeenSet = true; m_expectedResourceUtilization = std::move(value); } /** *Expected utilization metrics for target instance type.
*/ inline TargetInstance& WithExpectedResourceUtilization(const ResourceUtilization& value) { SetExpectedResourceUtilization(value); return *this;} /** *Expected utilization metrics for target instance type.
*/ inline TargetInstance& WithExpectedResourceUtilization(ResourceUtilization&& value) { SetExpectedResourceUtilization(std::move(value)); return *this;} private: Aws::String m_estimatedMonthlyCost; bool m_estimatedMonthlyCostHasBeenSet; Aws::String m_estimatedMonthlySavings; bool m_estimatedMonthlySavingsHasBeenSet; Aws::String m_currencyCode; bool m_currencyCodeHasBeenSet; bool m_defaultTargetInstance; bool m_defaultTargetInstanceHasBeenSet; ResourceDetails m_resourceDetails; bool m_resourceDetailsHasBeenSet; ResourceUtilization m_expectedResourceUtilization; bool m_expectedResourceUtilizationHasBeenSet; }; } // namespace Model } // namespace CostExplorer } // namespace Aws