AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
InvestmentDistribution.h
1
6#pragma once
7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/billing/model/Amount.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Billing {
21namespace Model {
22
31 public:
32 AWS_BILLING_API InvestmentDistribution() = default;
35 AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetAccountId() const { return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 template <typename AccountIdT = Aws::String>
46 void SetAccountId(AccountIdT&& value) {
47 m_accountIdHasBeenSet = true;
48 m_accountId = std::forward<AccountIdT>(value);
49 }
50 template <typename AccountIdT = Aws::String>
52 SetAccountId(std::forward<AccountIdT>(value));
53 return *this;
54 }
56
58
61 inline const Amount& GetInvestmentAmount() const { return m_investmentAmount; }
62 inline bool InvestmentAmountHasBeenSet() const { return m_investmentAmountHasBeenSet; }
63 template <typename InvestmentAmountT = Amount>
64 void SetInvestmentAmount(InvestmentAmountT&& value) {
65 m_investmentAmountHasBeenSet = true;
66 m_investmentAmount = std::forward<InvestmentAmountT>(value);
67 }
68 template <typename InvestmentAmountT = Amount>
69 InvestmentDistribution& WithInvestmentAmount(InvestmentAmountT&& value) {
70 SetInvestmentAmount(std::forward<InvestmentAmountT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_accountId;
76
77 Amount m_investmentAmount;
78 bool m_accountIdHasBeenSet = false;
79 bool m_investmentAmountHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Billing
84} // namespace Aws
AWS_BILLING_API InvestmentDistribution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInvestmentAmount(InvestmentAmountT &&value)
InvestmentDistribution & WithAccountId(AccountIdT &&value)
InvestmentDistribution & WithInvestmentAmount(InvestmentAmountT &&value)
AWS_BILLING_API InvestmentDistribution(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLING_API InvestmentDistribution()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue