AWS SDK for C++

AWS SDK for C++ Version 1.11.830

Loading...
Searching...
No Matches
ExpectedCustomerSpend.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
9#include <aws/partnercentral-selling/model/CurrencyCode.h>
10#include <aws/partnercentral-selling/model/PaymentFrequency.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace PartnerCentralSelling {
22namespace Model {
23
32 public:
33 AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend() = default;
34 AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend(Aws::Utils::Json::JsonView jsonValue);
35 AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetAmount() const { return m_amount; }
44 inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; }
45 template <typename AmountT = Aws::String>
46 void SetAmount(AmountT&& value) {
47 m_amountHasBeenSet = true;
48 m_amount = std::forward<AmountT>(value);
49 }
50 template <typename AmountT = Aws::String>
52 SetAmount(std::forward<AmountT>(value));
53 return *this;
54 }
56
58
65 inline CurrencyCode GetCurrencyCode() const { return m_currencyCode; }
66 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
67 inline void SetCurrencyCode(CurrencyCode value) {
68 m_currencyCodeHasBeenSet = true;
69 m_currencyCode = value;
70 }
72 SetCurrencyCode(value);
73 return *this;
74 }
76
78
85 inline PaymentFrequency GetFrequency() const { return m_frequency; }
86 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
87 inline void SetFrequency(PaymentFrequency value) {
88 m_frequencyHasBeenSet = true;
89 m_frequency = value;
90 }
92 SetFrequency(value);
93 return *this;
94 }
96
98
108 inline const Aws::String& GetTargetCompany() const { return m_targetCompany; }
109 inline bool TargetCompanyHasBeenSet() const { return m_targetCompanyHasBeenSet; }
110 template <typename TargetCompanyT = Aws::String>
111 void SetTargetCompany(TargetCompanyT&& value) {
112 m_targetCompanyHasBeenSet = true;
113 m_targetCompany = std::forward<TargetCompanyT>(value);
114 }
115 template <typename TargetCompanyT = Aws::String>
116 ExpectedCustomerSpend& WithTargetCompany(TargetCompanyT&& value) {
117 SetTargetCompany(std::forward<TargetCompanyT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::String& GetEstimationUrl() const { return m_estimationUrl; }
128 inline bool EstimationUrlHasBeenSet() const { return m_estimationUrlHasBeenSet; }
129 template <typename EstimationUrlT = Aws::String>
130 void SetEstimationUrl(EstimationUrlT&& value) {
131 m_estimationUrlHasBeenSet = true;
132 m_estimationUrl = std::forward<EstimationUrlT>(value);
133 }
134 template <typename EstimationUrlT = Aws::String>
135 ExpectedCustomerSpend& WithEstimationUrl(EstimationUrlT&& value) {
136 SetEstimationUrl(std::forward<EstimationUrlT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_amount;
142
143 CurrencyCode m_currencyCode{CurrencyCode::NOT_SET};
144
146
147 Aws::String m_targetCompany;
148
149 Aws::String m_estimationUrl;
150 bool m_amountHasBeenSet = false;
151 bool m_currencyCodeHasBeenSet = false;
152 bool m_frequencyHasBeenSet = false;
153 bool m_targetCompanyHasBeenSet = false;
154 bool m_estimationUrlHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace PartnerCentralSelling
159} // namespace Aws
ExpectedCustomerSpend & WithTargetCompany(TargetCompanyT &&value)
ExpectedCustomerSpend & WithCurrencyCode(CurrencyCode value)
AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend()=default
ExpectedCustomerSpend & WithFrequency(PaymentFrequency value)
AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend(Aws::Utils::Json::JsonView jsonValue)
ExpectedCustomerSpend & WithEstimationUrl(EstimationUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue