141 lines
4.9 KiB
C
141 lines
4.9 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 <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace CostExplorer
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Details on termination recommendation. </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TerminateRecommendationDetail">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_COSTEXPLORER_API TerminateRecommendationDetail
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
TerminateRecommendationDetail();
|
|||
|
|
TerminateRecommendationDetail(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
TerminateRecommendationDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetEstimatedMonthlySavings() const{ return m_estimatedMonthlySavings; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEstimatedMonthlySavings(const Aws::String& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEstimatedMonthlySavings(Aws::String&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetEstimatedMonthlySavings(const char* value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminateRecommendationDetail& WithEstimatedMonthlySavings(const Aws::String& value) { SetEstimatedMonthlySavings(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminateRecommendationDetail& WithEstimatedMonthlySavings(Aws::String&& value) { SetEstimatedMonthlySavings(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p> Estimated savings resulting from modification, on a monthly basis.</p>
|
|||
|
|
*/
|
|||
|
|
inline TerminateRecommendationDetail& WithEstimatedMonthlySavings(const char* value) { SetEstimatedMonthlySavings(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 TerminateRecommendationDetail& 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 TerminateRecommendationDetail& 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 TerminateRecommendationDetail& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_estimatedMonthlySavings;
|
|||
|
|
bool m_estimatedMonthlySavingsHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_currencyCode;
|
|||
|
|
bool m_currencyCodeHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace CostExplorer
|
|||
|
|
} // namespace Aws
|