AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/ExpectedCustomerSpendCurrencyCodeEnum.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
62 inline ExpectedCustomerSpendCurrencyCodeEnum GetCurrencyCode() const { return m_currencyCode; }
63 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
65 m_currencyCodeHasBeenSet = true;
66 m_currencyCode = value;
67 }
69 SetCurrencyCode(value);
70 return *this;
71 }
73
75
80 inline PaymentFrequency GetFrequency() const { return m_frequency; }
81 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
82 inline void SetFrequency(PaymentFrequency value) {
83 m_frequencyHasBeenSet = true;
84 m_frequency = value;
85 }
87 SetFrequency(value);
88 return *this;
89 }
91
93
100 inline const Aws::String& GetTargetCompany() const { return m_targetCompany; }
101 inline bool TargetCompanyHasBeenSet() const { return m_targetCompanyHasBeenSet; }
102 template <typename TargetCompanyT = Aws::String>
103 void SetTargetCompany(TargetCompanyT&& value) {
104 m_targetCompanyHasBeenSet = true;
105 m_targetCompany = std::forward<TargetCompanyT>(value);
106 }
107 template <typename TargetCompanyT = Aws::String>
108 ExpectedCustomerSpend& WithTargetCompany(TargetCompanyT&& value) {
109 SetTargetCompany(std::forward<TargetCompanyT>(value));
110 return *this;
111 }
113
115
119 inline const Aws::String& GetEstimationUrl() const { return m_estimationUrl; }
120 inline bool EstimationUrlHasBeenSet() const { return m_estimationUrlHasBeenSet; }
121 template <typename EstimationUrlT = Aws::String>
122 void SetEstimationUrl(EstimationUrlT&& value) {
123 m_estimationUrlHasBeenSet = true;
124 m_estimationUrl = std::forward<EstimationUrlT>(value);
125 }
126 template <typename EstimationUrlT = Aws::String>
127 ExpectedCustomerSpend& WithEstimationUrl(EstimationUrlT&& value) {
128 SetEstimationUrl(std::forward<EstimationUrlT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_amount;
134
136
138
139 Aws::String m_targetCompany;
140
141 Aws::String m_estimationUrl;
142 bool m_amountHasBeenSet = false;
143 bool m_currencyCodeHasBeenSet = false;
144 bool m_frequencyHasBeenSet = false;
145 bool m_targetCompanyHasBeenSet = false;
146 bool m_estimationUrlHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace PartnerCentralSelling
151} // namespace Aws
ExpectedCustomerSpend & WithTargetCompany(TargetCompanyT &&value)
AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCurrencyCode(ExpectedCustomerSpendCurrencyCodeEnum value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
ExpectedCustomerSpendCurrencyCodeEnum GetCurrencyCode() const
AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend()=default
ExpectedCustomerSpend & WithFrequency(PaymentFrequency value)
AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend(Aws::Utils::Json::JsonView jsonValue)
ExpectedCustomerSpend & WithCurrencyCode(ExpectedCustomerSpendCurrencyCodeEnum value)
ExpectedCustomerSpend & WithEstimationUrl(EstimationUrlT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue