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 {
48 m_currencyCodeHasBeenSet =
true;
49 m_currencyCode = value;
64 m_frequencyHasBeenSet =
true;
79 template <
typename TotalAmountT = Aws::String>
81 m_totalAmountHasBeenSet =
true;
82 m_totalAmount = std::forward<TotalAmountT>(value);
84 template <
typename TotalAmountT = Aws::String>
97 template <
typename TotalOptimizedAmountT = Aws::String>
99 m_totalOptimizedAmountHasBeenSet =
true;
100 m_totalOptimizedAmount = std::forward<TotalOptimizedAmountT>(value);
102 template <
typename TotalOptimizedAmountT = Aws::String>
115 template <
typename TotalPotentialSavingsAmountT = Aws::String>
117 m_totalPotentialSavingsAmountHasBeenSet =
true;
118 m_totalPotentialSavingsAmount = std::forward<TotalPotentialSavingsAmountT>(value);
120 template <
typename TotalPotentialSavingsAmountT = Aws::String>
133 template <
typename TotalAmountByCategoryT = Aws::Map<Aws::String, Aws::String>>
135 m_totalAmountByCategoryHasBeenSet =
true;
136 m_totalAmountByCategory = std::forward<TotalAmountByCategoryT>(value);
138 template <
typename TotalAmountByCategoryT = Aws::Map<Aws::String, Aws::String>>
143 template <
typename TotalAmountByCategoryKeyT = Aws::String,
typename TotalAmountByCategoryValueT = Aws::String>
145 m_totalAmountByCategoryHasBeenSet =
true;
146 m_totalAmountByCategory.emplace(std::forward<TotalAmountByCategoryKeyT>(key), std::forward<TotalAmountByCategoryValueT>(value));
157 template <
typename AwsProductsT = Aws::Vector<AwsProductDetails>>
159 m_awsProductsHasBeenSet =
true;
160 m_awsProducts = std::forward<AwsProductsT>(value);
162 template <
typename AwsProductsT = Aws::Vector<AwsProductDetails>>
167 template <
typename AwsProductsT = AwsProductDetails>
169 m_awsProductsHasBeenSet =
true;
170 m_awsProducts.emplace_back(std::forward<AwsProductsT>(value));
188 bool m_currencyCodeHasBeenSet =
false;
189 bool m_frequencyHasBeenSet =
false;
190 bool m_totalAmountHasBeenSet =
false;
191 bool m_totalOptimizedAmountHasBeenSet =
false;
192 bool m_totalPotentialSavingsAmountHasBeenSet =
false;
193 bool m_totalAmountByCategoryHasBeenSet =
false;
194 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