AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SavingsPlansAmortizedCommitment.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
29 public:
30 AWS_COSTEXPLORER_API SavingsPlansAmortizedCommitment() = default;
33 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetAmortizedRecurringCommitment() const { return m_amortizedRecurringCommitment; }
41 inline bool AmortizedRecurringCommitmentHasBeenSet() const { return m_amortizedRecurringCommitmentHasBeenSet; }
42 template <typename AmortizedRecurringCommitmentT = Aws::String>
43 void SetAmortizedRecurringCommitment(AmortizedRecurringCommitmentT&& value) {
44 m_amortizedRecurringCommitmentHasBeenSet = true;
45 m_amortizedRecurringCommitment = std::forward<AmortizedRecurringCommitmentT>(value);
46 }
47 template <typename AmortizedRecurringCommitmentT = Aws::String>
48 SavingsPlansAmortizedCommitment& WithAmortizedRecurringCommitment(AmortizedRecurringCommitmentT&& value) {
49 SetAmortizedRecurringCommitment(std::forward<AmortizedRecurringCommitmentT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetAmortizedUpfrontCommitment() const { return m_amortizedUpfrontCommitment; }
60 inline bool AmortizedUpfrontCommitmentHasBeenSet() const { return m_amortizedUpfrontCommitmentHasBeenSet; }
61 template <typename AmortizedUpfrontCommitmentT = Aws::String>
62 void SetAmortizedUpfrontCommitment(AmortizedUpfrontCommitmentT&& value) {
63 m_amortizedUpfrontCommitmentHasBeenSet = true;
64 m_amortizedUpfrontCommitment = std::forward<AmortizedUpfrontCommitmentT>(value);
65 }
66 template <typename AmortizedUpfrontCommitmentT = Aws::String>
68 SetAmortizedUpfrontCommitment(std::forward<AmortizedUpfrontCommitmentT>(value));
69 return *this;
70 }
72
74
78 inline const Aws::String& GetTotalAmortizedCommitment() const { return m_totalAmortizedCommitment; }
79 inline bool TotalAmortizedCommitmentHasBeenSet() const { return m_totalAmortizedCommitmentHasBeenSet; }
80 template <typename TotalAmortizedCommitmentT = Aws::String>
81 void SetTotalAmortizedCommitment(TotalAmortizedCommitmentT&& value) {
82 m_totalAmortizedCommitmentHasBeenSet = true;
83 m_totalAmortizedCommitment = std::forward<TotalAmortizedCommitmentT>(value);
84 }
85 template <typename TotalAmortizedCommitmentT = Aws::String>
87 SetTotalAmortizedCommitment(std::forward<TotalAmortizedCommitmentT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_amortizedRecurringCommitment;
93
94 Aws::String m_amortizedUpfrontCommitment;
95
96 Aws::String m_totalAmortizedCommitment;
97 bool m_amortizedRecurringCommitmentHasBeenSet = false;
98 bool m_amortizedUpfrontCommitmentHasBeenSet = false;
99 bool m_totalAmortizedCommitmentHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace CostExplorer
104} // namespace Aws
SavingsPlansAmortizedCommitment & WithAmortizedUpfrontCommitment(AmortizedUpfrontCommitmentT &&value)
SavingsPlansAmortizedCommitment & WithAmortizedRecurringCommitment(AmortizedRecurringCommitmentT &&value)
void SetAmortizedRecurringCommitment(AmortizedRecurringCommitmentT &&value)
SavingsPlansAmortizedCommitment & WithTotalAmortizedCommitment(TotalAmortizedCommitmentT &&value)
AWS_COSTEXPLORER_API SavingsPlansAmortizedCommitment()=default
AWS_COSTEXPLORER_API SavingsPlansAmortizedCommitment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API SavingsPlansAmortizedCommitment(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue