AWS SDK for C++

AWS SDK for C++ Version 1.11.819

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
83 inline PaymentFrequency GetFrequency() const { return m_frequency; }
84 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
85 inline void SetFrequency(PaymentFrequency value) {
86 m_frequencyHasBeenSet = true;
87 m_frequency = value;
88 }
90 SetFrequency(value);
91 return *this;
92 }
94
96
103 inline const Aws::String& GetTargetCompany() const { return m_targetCompany; }
104 inline bool TargetCompanyHasBeenSet() const { return m_targetCompanyHasBeenSet; }
105 template <typename TargetCompanyT = Aws::String>
106 void SetTargetCompany(TargetCompanyT&& value) {
107 m_targetCompanyHasBeenSet = true;
108 m_targetCompany = std::forward<TargetCompanyT>(value);
109 }
110 template <typename TargetCompanyT = Aws::String>
111 ExpectedCustomerSpend& WithTargetCompany(TargetCompanyT&& value) {
112 SetTargetCompany(std::forward<TargetCompanyT>(value));
113 return *this;
114 }
116
118
122 inline const Aws::String& GetEstimationUrl() const { return m_estimationUrl; }
123 inline bool EstimationUrlHasBeenSet() const { return m_estimationUrlHasBeenSet; }
124 template <typename EstimationUrlT = Aws::String>
125 void SetEstimationUrl(EstimationUrlT&& value) {
126 m_estimationUrlHasBeenSet = true;
127 m_estimationUrl = std::forward<EstimationUrlT>(value);
128 }
129 template <typename EstimationUrlT = Aws::String>
130 ExpectedCustomerSpend& WithEstimationUrl(EstimationUrlT&& value) {
131 SetEstimationUrl(std::forward<EstimationUrlT>(value));
132 return *this;
133 }
135 private:
136 Aws::String m_amount;
137
138 CurrencyCode m_currencyCode{CurrencyCode::NOT_SET};
139
141
142 Aws::String m_targetCompany;
143
144 Aws::String m_estimationUrl;
145 bool m_amountHasBeenSet = false;
146 bool m_currencyCodeHasBeenSet = false;
147 bool m_frequencyHasBeenSet = false;
148 bool m_targetCompanyHasBeenSet = false;
149 bool m_estimationUrlHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace PartnerCentralSelling
154} // 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