/**
* 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
The expected cost to operate this instance type on a monthly basis.
*/ inline const Aws::String& GetEstimatedMonthlyCost() const{ return m_estimatedMonthlyCost; } /** *The expected cost to operate this instance type on a monthly basis.
*/ inline bool EstimatedMonthlyCostHasBeenSet() const { return m_estimatedMonthlyCostHasBeenSet; } /** *The expected cost to operate this instance type on a monthly basis.
*/ inline void SetEstimatedMonthlyCost(const Aws::String& value) { m_estimatedMonthlyCostHasBeenSet = true; m_estimatedMonthlyCost = value; } /** *The 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); } /** *The expected cost to operate this instance type on a monthly basis.
*/ inline void SetEstimatedMonthlyCost(const char* value) { m_estimatedMonthlyCostHasBeenSet = true; m_estimatedMonthlyCost.assign(value); } /** *The expected cost to operate this instance type on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlyCost(const Aws::String& value) { SetEstimatedMonthlyCost(value); return *this;} /** *The expected cost to operate this instance type on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlyCost(Aws::String&& value) { SetEstimatedMonthlyCost(std::move(value)); return *this;} /** *The expected cost to operate this instance type on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlyCost(const char* value) { SetEstimatedMonthlyCost(value); return *this;} /** *The estimated savings that result from modification, on a monthly basis.
*/ inline const Aws::String& GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; } /** *The estimated savings that result from modification, on a monthly basis.
*/ inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; } /** *The estimated savings that result from modification, on a monthly basis.
*/ inline void SetEstimatedMonthlySavings(const Aws::String& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; } /** *The estimated savings that result from modification, on a monthly basis.
*/ inline void SetEstimatedMonthlySavings(Aws::String&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::move(value); } /** *The estimated savings that result from modification, on a monthly basis.
*/ inline void SetEstimatedMonthlySavings(const char* value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings.assign(value); } /** *The estimated savings that result from modification, on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlySavings(const Aws::String& value) { SetEstimatedMonthlySavings(value); return *this;} /** *The estimated savings that result from modification, on a monthly basis.
*/ inline TargetInstance& WithEstimatedMonthlySavings(Aws::String&& value) { SetEstimatedMonthlySavings(std::move(value)); return *this;} /** *The estimated savings that result 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;} /** *Determines whether this recommendation is the defaulted Amazon Web Services * recommendation.
*/ inline bool GetDefaultTargetInstance() const{ return m_defaultTargetInstance; } /** *Determines whether this recommendation is the defaulted Amazon Web Services * recommendation.
*/ inline bool DefaultTargetInstanceHasBeenSet() const { return m_defaultTargetInstanceHasBeenSet; } /** *Determines whether this recommendation is the defaulted Amazon Web Services * recommendation.
*/ inline void SetDefaultTargetInstance(bool value) { m_defaultTargetInstanceHasBeenSet = true; m_defaultTargetInstance = value; } /** *Determines whether 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;} /** *The expected utilization metrics for target instance type.
*/ inline const ResourceUtilization& GetExpectedResourceUtilization() const{ return m_expectedResourceUtilization; } /** *The expected utilization metrics for target instance type.
*/ inline bool ExpectedResourceUtilizationHasBeenSet() const { return m_expectedResourceUtilizationHasBeenSet; } /** *The expected utilization metrics for target instance type.
*/ inline void SetExpectedResourceUtilization(const ResourceUtilization& value) { m_expectedResourceUtilizationHasBeenSet = true; m_expectedResourceUtilization = value; } /** *The expected utilization metrics for target instance type.
*/ inline void SetExpectedResourceUtilization(ResourceUtilization&& value) { m_expectedResourceUtilizationHasBeenSet = true; m_expectedResourceUtilization = std::move(value); } /** *The expected utilization metrics for target instance type.
*/ inline TargetInstance& WithExpectedResourceUtilization(const ResourceUtilization& value) { SetExpectedResourceUtilization(value); return *this;} /** *The expected utilization metrics for target instance type.
*/ inline TargetInstance& WithExpectedResourceUtilization(ResourceUtilization&& value) { SetExpectedResourceUtilization(std::move(value)); return *this;} /** *Explains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline const Aws::VectorExplains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline bool PlatformDifferencesHasBeenSet() const { return m_platformDifferencesHasBeenSet; } /** *Explains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline void SetPlatformDifferences(const Aws::VectorExplains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline void SetPlatformDifferences(Aws::VectorExplains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline TargetInstance& WithPlatformDifferences(const Aws::VectorExplains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline TargetInstance& WithPlatformDifferences(Aws::VectorExplains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline TargetInstance& AddPlatformDifferences(const PlatformDifference& value) { m_platformDifferencesHasBeenSet = true; m_platformDifferences.push_back(value); return *this; } /** *Explains the actions that you might need to take to successfully migrate your * workloads from the current instance type to the recommended instance type.
*/ inline TargetInstance& AddPlatformDifferences(PlatformDifference&& value) { m_platformDifferencesHasBeenSet = true; m_platformDifferences.push_back(std::move(value)); return *this; } private: Aws::String m_estimatedMonthlyCost; bool m_estimatedMonthlyCostHasBeenSet = false; Aws::String m_estimatedMonthlySavings; bool m_estimatedMonthlySavingsHasBeenSet = false; Aws::String m_currencyCode; bool m_currencyCodeHasBeenSet = false; bool m_defaultTargetInstance; bool m_defaultTargetInstanceHasBeenSet = false; ResourceDetails m_resourceDetails; bool m_resourceDetailsHasBeenSet = false; ResourceUtilization m_expectedResourceUtilization; bool m_expectedResourceUtilizationHasBeenSet = false; Aws::Vector