AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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
73 inline const Aws::String& GetEstimationUrl() const { return m_estimationUrl; }
74 inline bool EstimationUrlHasBeenSet() const { return m_estimationUrlHasBeenSet; }
75 template<typename EstimationUrlT = Aws::String>
76 void SetEstimationUrl(EstimationUrlT&& value) { m_estimationUrlHasBeenSet = true; m_estimationUrl = std::forward<EstimationUrlT>(value); }
77 template<typename EstimationUrlT = Aws::String>
78 ExpectedCustomerSpend& WithEstimationUrl(EstimationUrlT&& value) { SetEstimationUrl(std::forward<EstimationUrlT>(value)); return *this;}
80
82
88 inline PaymentFrequency GetFrequency() const { return m_frequency; }
89 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
90 inline void SetFrequency(PaymentFrequency value) { m_frequencyHasBeenSet = true; m_frequency = value; }
91 inline ExpectedCustomerSpend& WithFrequency(PaymentFrequency value) { SetFrequency(value); return *this;}
93
95
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) { m_targetCompanyHasBeenSet = true; m_targetCompany = std::forward<TargetCompanyT>(value); }
104 template<typename TargetCompanyT = Aws::String>
105 ExpectedCustomerSpend& WithTargetCompany(TargetCompanyT&& value) { SetTargetCompany(std::forward<TargetCompanyT>(value)); return *this;}
107 private:
108
109 Aws::String m_amount;
110 bool m_amountHasBeenSet = false;
111
113 bool m_currencyCodeHasBeenSet = false;
114
115 Aws::String m_estimationUrl;
116 bool m_estimationUrlHasBeenSet = false;
117
119 bool m_frequencyHasBeenSet = false;
120
121 Aws::String m_targetCompany;
122 bool m_targetCompanyHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace PartnerCentralSelling
127} // 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