AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TerminateRecommendationDetail.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CostExplorer
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_COSTEXPLORER_API TerminateRecommendationDetail() = default;
37 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetEstimatedMonthlySavings() const { return m_estimatedMonthlySavings; }
45 inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
46 template<typename EstimatedMonthlySavingsT = Aws::String>
47 void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value); }
48 template<typename EstimatedMonthlySavingsT = Aws::String>
49 TerminateRecommendationDetail& WithEstimatedMonthlySavings(EstimatedMonthlySavingsT&& value) { SetEstimatedMonthlySavings(std::forward<EstimatedMonthlySavingsT>(value)); return *this;}
51
53
57 inline const Aws::String& GetCurrencyCode() const { return m_currencyCode; }
58 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
59 template<typename CurrencyCodeT = Aws::String>
60 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
61 template<typename CurrencyCodeT = Aws::String>
62 TerminateRecommendationDetail& WithCurrencyCode(CurrencyCodeT&& value) { SetCurrencyCode(std::forward<CurrencyCodeT>(value)); return *this;}
64 private:
65
66 Aws::String m_estimatedMonthlySavings;
67 bool m_estimatedMonthlySavingsHasBeenSet = false;
68
69 Aws::String m_currencyCode;
70 bool m_currencyCodeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CostExplorer
75} // namespace Aws
TerminateRecommendationDetail & WithEstimatedMonthlySavings(EstimatedMonthlySavingsT &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
TerminateRecommendationDetail & WithCurrencyCode(CurrencyCodeT &&value)
AWS_COSTEXPLORER_API TerminateRecommendationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API TerminateRecommendationDetail()=default
AWS_COSTEXPLORER_API TerminateRecommendationDetail(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue