7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/partnercentral-selling/PartnerCentralSelling_EXPORTS.h>
10#include <aws/partnercentral-selling/model/AwsProductOptimization.h>
21namespace PartnerCentralSelling {
44 template <
typename ProductCodeT = Aws::String>
46 m_productCodeHasBeenSet =
true;
47 m_productCode = std::forward<ProductCodeT>(value);
49 template <
typename ProductCodeT = Aws::String>
62 template <
typename ServiceCodeT = Aws::String>
64 m_serviceCodeHasBeenSet =
true;
65 m_serviceCode = std::forward<ServiceCodeT>(value);
67 template <
typename ServiceCodeT = Aws::String>
80 template <
typename CategoriesT = Aws::Vector<Aws::String>>
82 m_categoriesHasBeenSet =
true;
83 m_categories = std::forward<CategoriesT>(value);
85 template <
typename CategoriesT = Aws::Vector<Aws::String>>
90 template <
typename CategoriesT = Aws::String>
92 m_categoriesHasBeenSet =
true;
93 m_categories.emplace_back(std::forward<CategoriesT>(value));
105 template <
typename AmountT = Aws::String>
107 m_amountHasBeenSet =
true;
108 m_amount = std::forward<AmountT>(value);
110 template <
typename AmountT = Aws::String>
124 template <
typename OptimizedAmountT = Aws::String>
126 m_optimizedAmountHasBeenSet =
true;
127 m_optimizedAmount = std::forward<OptimizedAmountT>(value);
129 template <
typename OptimizedAmountT = Aws::String>
143 template <
typename PotentialSavingsAmountT = Aws::String>
145 m_potentialSavingsAmountHasBeenSet =
true;
146 m_potentialSavingsAmount = std::forward<PotentialSavingsAmountT>(value);
148 template <
typename PotentialSavingsAmountT = Aws::String>
161 template <
typename OptimizationsT = Aws::Vector<AwsProductOptimization>>
163 m_optimizationsHasBeenSet =
true;
164 m_optimizations = std::forward<OptimizationsT>(value);
166 template <
typename OptimizationsT = Aws::Vector<AwsProductOptimization>>
171 template <
typename OptimizationsT = AwsProductOptimization>
173 m_optimizationsHasBeenSet =
true;
174 m_optimizations.emplace_back(std::forward<OptimizationsT>(value));
192 bool m_productCodeHasBeenSet =
false;
193 bool m_serviceCodeHasBeenSet =
false;
194 bool m_categoriesHasBeenSet =
false;
195 bool m_amountHasBeenSet =
false;
196 bool m_optimizedAmountHasBeenSet =
false;
197 bool m_potentialSavingsAmountHasBeenSet =
false;
198 bool m_optimizationsHasBeenSet =
false;
void SetOptimizedAmount(OptimizedAmountT &&value)
bool ServiceCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetServiceCode(ServiceCodeT &&value)
AWS_PARTNERCENTRALSELLING_API AwsProductDetails()=default
AwsProductDetails & WithProductCode(ProductCodeT &&value)
AwsProductDetails & AddOptimizations(OptimizationsT &&value)
AwsProductDetails & WithServiceCode(ServiceCodeT &&value)
void SetCategories(CategoriesT &&value)
const Aws::Vector< Aws::String > & GetCategories() const
bool ProductCodeHasBeenSet() const
bool AmountHasBeenSet() const
AwsProductDetails & WithOptimizedAmount(OptimizedAmountT &&value)
AwsProductDetails & WithOptimizations(OptimizationsT &&value)
bool CategoriesHasBeenSet() const
bool OptimizedAmountHasBeenSet() const
AWS_PARTNERCENTRALSELLING_API AwsProductDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAmount(AmountT &&value)
void SetProductCode(ProductCodeT &&value)
bool OptimizationsHasBeenSet() const
const Aws::String & GetAmount() const
const Aws::String & GetPotentialSavingsAmount() const
bool PotentialSavingsAmountHasBeenSet() const
void SetOptimizations(OptimizationsT &&value)
const Aws::String & GetOptimizedAmount() const
const Aws::String & GetProductCode() const
AwsProductDetails & WithCategories(CategoriesT &&value)
AwsProductDetails & WithAmount(AmountT &&value)
AwsProductDetails & WithPotentialSavingsAmount(PotentialSavingsAmountT &&value)
AwsProductDetails & AddCategories(CategoriesT &&value)
const Aws::Vector< AwsProductOptimization > & GetOptimizations() const
AWS_PARTNERCENTRALSELLING_API AwsProductDetails(Aws::Utils::Json::JsonView jsonValue)
void SetPotentialSavingsAmount(PotentialSavingsAmountT &&value)
AWS_PARTNERCENTRALSELLING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue