7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/OfferingType.h>
10#include <aws/devicefarm/model/DevicePlatform.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/devicefarm/model/RecurringCharge.h>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
95 template<
typename RecurringChargesT = Aws::Vector<RecurringCharge>>
96 void SetRecurringCharges(RecurringChargesT&& value) { m_recurringChargesHasBeenSet =
true; m_recurringCharges = std::forward<RecurringChargesT>(value); }
97 template<
typename RecurringChargesT = Aws::Vector<RecurringCharge>>
99 template<
typename RecurringChargesT = RecurringCharge>
100 Offering&
AddRecurringCharges(RecurringChargesT&& value) { m_recurringChargesHasBeenSet =
true; m_recurringCharges.emplace_back(std::forward<RecurringChargesT>(value));
return *
this; }
105 bool m_idHasBeenSet =
false;
108 bool m_descriptionHasBeenSet =
false;
111 bool m_typeHasBeenSet =
false;
114 bool m_platformHasBeenSet =
false;
117 bool m_recurringChargesHasBeenSet =
false;
Offering & WithPlatform(DevicePlatform value)
Offering & WithRecurringCharges(RecurringChargesT &&value)
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
Offering & WithId(IdT &&value)
Offering & WithDescription(DescriptionT &&value)
AWS_DEVICEFARM_API Offering & operator=(Aws::Utils::Json::JsonView jsonValue)
DevicePlatform GetPlatform() const
bool RecurringChargesHasBeenSet() const
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool PlatformHasBeenSet() const
bool TypeHasBeenSet() const
AWS_DEVICEFARM_API Offering(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
Offering & AddRecurringCharges(RecurringChargesT &&value)
bool IdHasBeenSet() const
Offering & WithType(OfferingType value)
void SetPlatform(DevicePlatform value)
AWS_DEVICEFARM_API Offering()=default
void SetRecurringCharges(RecurringChargesT &&value)
const Aws::String & GetDescription() const
OfferingType GetType() const
void SetType(OfferingType value)
const Aws::String & GetId() 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