AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
28 public:
29 AWS_COSTEXPLORER_API TerminateRecommendationDetail() = default;
32 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetEstimatedMonthlySavings() const { return m_estimatedMonthlySavings; }
39 inline bool EstimatedMonthlySavingsHasBeenSet() const { return m_estimatedMonthlySavingsHasBeenSet; }
40 template <typename EstimatedMonthlySavingsT = Aws::String>
41 void SetEstimatedMonthlySavings(EstimatedMonthlySavingsT&& value) {
42 m_estimatedMonthlySavingsHasBeenSet = true;
43 m_estimatedMonthlySavings = std::forward<EstimatedMonthlySavingsT>(value);
44 }
45 template <typename EstimatedMonthlySavingsT = Aws::String>
47 SetEstimatedMonthlySavings(std::forward<EstimatedMonthlySavingsT>(value));
48 return *this;
49 }
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) {
61 m_currencyCodeHasBeenSet = true;
62 m_currencyCode = std::forward<CurrencyCodeT>(value);
63 }
64 template <typename CurrencyCodeT = Aws::String>
66 SetCurrencyCode(std::forward<CurrencyCodeT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_estimatedMonthlySavings;
72
73 Aws::String m_currencyCode;
74 bool m_estimatedMonthlySavingsHasBeenSet = false;
75 bool m_currencyCodeHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CostExplorer
80} // 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