AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEstimatedMonthlySavings(const Aws::String& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = value; }
47 inline void SetEstimatedMonthlySavings(Aws::String&& value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings = std::move(value); }
48 inline void SetEstimatedMonthlySavings(const char* value) { m_estimatedMonthlySavingsHasBeenSet = true; m_estimatedMonthlySavings.assign(value); }
53
55
59 inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
60 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
61 inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
62 inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
63 inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
64 inline TerminateRecommendationDetail& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
65 inline TerminateRecommendationDetail& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
66 inline TerminateRecommendationDetail& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
68 private:
69
70 Aws::String m_estimatedMonthlySavings;
71 bool m_estimatedMonthlySavingsHasBeenSet = false;
72
73 Aws::String m_currencyCode;
74 bool m_currencyCodeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CostExplorer
79} // namespace Aws
TerminateRecommendationDetail & WithEstimatedMonthlySavings(const Aws::String &value)
TerminateRecommendationDetail & WithCurrencyCode(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
TerminateRecommendationDetail & WithEstimatedMonthlySavings(const char *value)
TerminateRecommendationDetail & WithEstimatedMonthlySavings(Aws::String &&value)
TerminateRecommendationDetail & WithCurrencyCode(const char *value)
AWS_COSTEXPLORER_API TerminateRecommendationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
TerminateRecommendationDetail & WithCurrencyCode(const Aws::String &value)
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