AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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#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
33 {
34 public:
35 AWS_COSTEXPLORER_API SavingsPlansAmortizedCommitment() = default;
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetAmortizedRecurringCommitment() const { return m_amortizedRecurringCommitment; }
47 inline bool AmortizedRecurringCommitmentHasBeenSet() const { return m_amortizedRecurringCommitmentHasBeenSet; }
48 template<typename AmortizedRecurringCommitmentT = Aws::String>
49 void SetAmortizedRecurringCommitment(AmortizedRecurringCommitmentT&& value) { m_amortizedRecurringCommitmentHasBeenSet = true; m_amortizedRecurringCommitment = std::forward<AmortizedRecurringCommitmentT>(value); }
50 template<typename AmortizedRecurringCommitmentT = Aws::String>
51 SavingsPlansAmortizedCommitment& WithAmortizedRecurringCommitment(AmortizedRecurringCommitmentT&& value) { SetAmortizedRecurringCommitment(std::forward<AmortizedRecurringCommitmentT>(value)); return *this;}
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) { m_amortizedUpfrontCommitmentHasBeenSet = true; m_amortizedUpfrontCommitment = std::forward<AmortizedUpfrontCommitmentT>(value); }
63 template<typename AmortizedUpfrontCommitmentT = Aws::String>
64 SavingsPlansAmortizedCommitment& WithAmortizedUpfrontCommitment(AmortizedUpfrontCommitmentT&& value) { SetAmortizedUpfrontCommitment(std::forward<AmortizedUpfrontCommitmentT>(value)); return *this;}
66
68
72 inline const Aws::String& GetTotalAmortizedCommitment() const { return m_totalAmortizedCommitment; }
73 inline bool TotalAmortizedCommitmentHasBeenSet() const { return m_totalAmortizedCommitmentHasBeenSet; }
74 template<typename TotalAmortizedCommitmentT = Aws::String>
75 void SetTotalAmortizedCommitment(TotalAmortizedCommitmentT&& value) { m_totalAmortizedCommitmentHasBeenSet = true; m_totalAmortizedCommitment = std::forward<TotalAmortizedCommitmentT>(value); }
76 template<typename TotalAmortizedCommitmentT = Aws::String>
77 SavingsPlansAmortizedCommitment& WithTotalAmortizedCommitment(TotalAmortizedCommitmentT&& value) { SetTotalAmortizedCommitment(std::forward<TotalAmortizedCommitmentT>(value)); return *this;}
79 private:
80
81 Aws::String m_amortizedRecurringCommitment;
82 bool m_amortizedRecurringCommitmentHasBeenSet = false;
83
84 Aws::String m_amortizedUpfrontCommitment;
85 bool m_amortizedUpfrontCommitmentHasBeenSet = false;
86
87 Aws::String m_totalAmortizedCommitment;
88 bool m_totalAmortizedCommitmentHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace CostExplorer
93} // 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