AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
ExpectedCustomerSpend.h
1
6#pragma once
7#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-selling/model/ExpectedCustomerSpendCurrencyCodeEnum.h>
10#include <aws/partnercentral-selling/model/PaymentFrequency.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace PartnerCentralSelling
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend() = default;
39 AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PARTNERCENTRALSELLING_API ExpectedCustomerSpend& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetAmount() const { return m_amount; }
50 inline bool AmountHasBeenSet() const { return m_amountHasBeenSet; }
51 template<typename AmountT = Aws::String>
52 void SetAmount(AmountT&& value) { m_amountHasBeenSet = true; m_amount = std::forward<AmountT>(value); }
53 template<typename AmountT = Aws::String>
54 ExpectedCustomerSpend& WithAmount(AmountT&& value) { SetAmount(std::forward<AmountT>(value)); return *this;}
56
58
62 inline ExpectedCustomerSpendCurrencyCodeEnum GetCurrencyCode() const { return m_currencyCode; }
63 inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
64 inline void SetCurrencyCode(ExpectedCustomerSpendCurrencyCodeEnum value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
67
69
74 inline PaymentFrequency GetFrequency() const { return m_frequency; }
75 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
76 inline void SetFrequency(PaymentFrequency value) { m_frequencyHasBeenSet = true; m_frequency = value; }
77 inline ExpectedCustomerSpend& WithFrequency(PaymentFrequency value) { SetFrequency(value); return *this;}
79
81
88 inline const Aws::String& GetTargetCompany() const { return m_targetCompany; }
89 inline bool TargetCompanyHasBeenSet() const { return m_targetCompanyHasBeenSet; }
90 template<typename TargetCompanyT = Aws::String>
91 void SetTargetCompany(TargetCompanyT&& value) { m_targetCompanyHasBeenSet = true; m_targetCompany = std::forward<TargetCompanyT>(value); }
92 template<typename TargetCompanyT = Aws::String>
93 ExpectedCustomerSpend& WithTargetCompany(TargetCompanyT&& value) { SetTargetCompany(std::forward<TargetCompanyT>(value)); return *this;}
95
97
101 inline const Aws::String& GetEstimationUrl() const { return m_estimationUrl; }
102 inline bool EstimationUrlHasBeenSet() const { return m_estimationUrlHasBeenSet; }
103 template<typename EstimationUrlT = Aws::String>
104 void SetEstimationUrl(EstimationUrlT&& value) { m_estimationUrlHasBeenSet = true; m_estimationUrl = std::forward<EstimationUrlT>(value); }
105 template<typename EstimationUrlT = Aws::String>
106 ExpectedCustomerSpend& WithEstimationUrl(EstimationUrlT&& value) { SetEstimationUrl(std::forward<EstimationUrlT>(value)); return *this;}
108 private:
109
110 Aws::String m_amount;
111 bool m_amountHasBeenSet = false;
112
114 bool m_currencyCodeHasBeenSet = false;
115
117 bool m_frequencyHasBeenSet = false;
118
119 Aws::String m_targetCompany;
120 bool m_targetCompanyHasBeenSet = false;
121
122 Aws::String m_estimationUrl;
123 bool m_estimationUrlHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace PartnerCentralSelling
128} // 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