7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
11#include <aws/partnercentral-selling/model/AwsProductDetails.h>
12#include <aws/partnercentral-selling/model/AwsProductInsightsCurrencyCodeEnum.h>
13#include <aws/partnercentral-selling/model/PaymentFrequency.h>
24namespace PartnerCentralSelling {
49 m_currencyCodeHasBeenSet =
true;
50 m_currencyCode = value;
66 m_frequencyHasBeenSet =
true;
81 template <
typename TotalAmountT = Aws::String>
83 m_totalAmountHasBeenSet =
true;
84 m_totalAmount = std::forward<TotalAmountT>(value);
86 template <
typename TotalAmountT = Aws::String>
99 template <
typename TotalOptimizedAmountT = Aws::String>
101 m_totalOptimizedAmountHasBeenSet =
true;
102 m_totalOptimizedAmount = std::forward<TotalOptimizedAmountT>(value);
104 template <
typename TotalOptimizedAmountT = Aws::String>
117 template <
typename TotalPotentialSavingsAmountT = Aws::String>
119 m_totalPotentialSavingsAmountHasBeenSet =
true;
120 m_totalPotentialSavingsAmount = std::forward<TotalPotentialSavingsAmountT>(value);
122 template <
typename TotalPotentialSavingsAmountT = Aws::String>
135 template <
typename TotalAmountByCategoryT = Aws::Map<Aws::String, Aws::String>>
137 m_totalAmountByCategoryHasBeenSet =
true;
138 m_totalAmountByCategory = std::forward<TotalAmountByCategoryT>(value);
140 template <
typename TotalAmountByCategoryT = Aws::Map<Aws::String, Aws::String>>
145 template <
typename TotalAmountByCategoryKeyT = Aws::String,
typename TotalAmountByCategoryValueT = Aws::String>
147 m_totalAmountByCategoryHasBeenSet =
true;
148 m_totalAmountByCategory.emplace(std::forward<TotalAmountByCategoryKeyT>(key), std::forward<TotalAmountByCategoryValueT>(value));
159 template <
typename AwsProductsT = Aws::Vector<AwsProductDetails>>
161 m_awsProductsHasBeenSet =
true;
162 m_awsProducts = std::forward<AwsProductsT>(value);
164 template <
typename AwsProductsT = Aws::Vector<AwsProductDetails>>
169 template <
typename AwsProductsT = AwsProductDetails>
171 m_awsProductsHasBeenSet =
true;
172 m_awsProducts.emplace_back(std::forward<AwsProductsT>(value));
190 bool m_currencyCodeHasBeenSet =
false;
191 bool m_frequencyHasBeenSet =
false;
192 bool m_totalAmountHasBeenSet =
false;
193 bool m_totalOptimizedAmountHasBeenSet =
false;
194 bool m_totalPotentialSavingsAmountHasBeenSet =
false;
195 bool m_totalAmountByCategoryHasBeenSet =
false;
196 bool m_awsProductsHasBeenSet =
false;
void SetTotalAmount(TotalAmountT &&value)
void SetTotalAmountByCategory(TotalAmountByCategoryT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
AwsProductInsightsCurrencyCodeEnum GetCurrencyCode() const
AwsProductInsights & WithTotalAmountByCategory(TotalAmountByCategoryT &&value)
AwsProductInsights & WithTotalOptimizedAmount(TotalOptimizedAmountT &&value)
AwsProductInsights & WithTotalPotentialSavingsAmount(TotalPotentialSavingsAmountT &&value)
void SetFrequency(PaymentFrequency value)
void SetAwsProducts(AwsProductsT &&value)
const Aws::Vector< AwsProductDetails > & GetAwsProducts() const
const Aws::String & GetTotalAmount() const
AwsProductInsights & WithFrequency(PaymentFrequency value)
AWS_PARTNERCENTRALSELLING_API AwsProductInsights()=default
AWS_PARTNERCENTRALSELLING_API AwsProductInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTotalPotentialSavingsAmount() const
AwsProductInsights & AddAwsProducts(AwsProductsT &&value)
bool CurrencyCodeHasBeenSet() const
AwsProductInsights & AddTotalAmountByCategory(TotalAmountByCategoryKeyT &&key, TotalAmountByCategoryValueT &&value)
bool FrequencyHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTotalAmountByCategory() const
AwsProductInsights & WithTotalAmount(TotalAmountT &&value)
bool TotalAmountHasBeenSet() const
void SetTotalOptimizedAmount(TotalOptimizedAmountT &&value)
AWS_PARTNERCENTRALSELLING_API AwsProductInsights(Aws::Utils::Json::JsonView jsonValue)
bool TotalOptimizedAmountHasBeenSet() const
const Aws::String & GetTotalOptimizedAmount() const
AwsProductInsights & WithCurrencyCode(AwsProductInsightsCurrencyCodeEnum value)
void SetCurrencyCode(AwsProductInsightsCurrencyCodeEnum value)
void SetTotalPotentialSavingsAmount(TotalPotentialSavingsAmountT &&value)
bool TotalPotentialSavingsAmountHasBeenSet() const
AwsProductInsights & WithAwsProducts(AwsProductsT &&value)
PaymentFrequency GetFrequency() const
bool AwsProductsHasBeenSet() const
bool TotalAmountByCategoryHasBeenSet() const
AwsProductInsightsCurrencyCodeEnum
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue