AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FeesBreakdownAmount.h
1
6#pragma once
7#include <aws/invoicing/Invoicing_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 Invoicing
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_INVOICING_API FeesBreakdownAmount() = default;
35 AWS_INVOICING_API FeesBreakdownAmount(Aws::Utils::Json::JsonView jsonValue);
37 AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetDescription() const { return m_description; }
45 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
46 template<typename DescriptionT = Aws::String>
47 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
48 template<typename DescriptionT = Aws::String>
49 FeesBreakdownAmount& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAmount() const { return m_amount; }
57 inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; }
58 template<typename AmountT = Aws::String>
59 void SetAmount(AmountT&& value) { m_amountHasBeenSet = true; m_amount = std::forward<AmountT>(value); }
60 template<typename AmountT = Aws::String>
61 FeesBreakdownAmount& WithAmount(AmountT&& value) { SetAmount(std::forward<AmountT>(value)); return *this;}
63
65
68 inline const Aws::String& GetRate() const { return m_rate; }
69 inline bool RateHasBeenSet() const { return m_rateHasBeenSet; }
70 template<typename RateT = Aws::String>
71 void SetRate(RateT&& value) { m_rateHasBeenSet = true; m_rate = std::forward<RateT>(value); }
72 template<typename RateT = Aws::String>
73 FeesBreakdownAmount& WithRate(RateT&& value) { SetRate(std::forward<RateT>(value)); return *this;}
75 private:
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 Aws::String m_amount;
81 bool m_amountHasBeenSet = false;
82
83 Aws::String m_rate;
84 bool m_rateHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Invoicing
89} // namespace Aws
AWS_INVOICING_API FeesBreakdownAmount(Aws::Utils::Json::JsonView jsonValue)
AWS_INVOICING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INVOICING_API FeesBreakdownAmount()=default
FeesBreakdownAmount & WithRate(RateT &&value)
FeesBreakdownAmount & WithAmount(AmountT &&value)
FeesBreakdownAmount & WithDescription(DescriptionT &&value)
AWS_INVOICING_API FeesBreakdownAmount & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue