7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/OfferingDurationUnits.h>
10#include <aws/medialive/model/OfferingType.h>
11#include <aws/medialive/model/RenewalSettings.h>
12#include <aws/medialive/model/ReservationResourceSpecification.h>
13#include <aws/medialive/model/ReservationState.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
53 template<
typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
55 template<
typename ArnT = Aws::String>
63 inline int GetCount()
const {
return m_count; }
65 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
75 template<
typename CurrencyCodeT = Aws::String>
76 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
77 template<
typename CurrencyCodeT = Aws::String>
87 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
107 template<
typename EndT = Aws::String>
108 void SetEnd(EndT&& value) { m_endHasBeenSet =
true; m_end = std::forward<EndT>(value); }
109 template<
typename EndT = Aws::String>
119 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
129 template<
typename NameT = Aws::String>
130 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
131 template<
typename NameT = Aws::String>
142 template<
typename OfferingDescriptionT = Aws::String>
143 void SetOfferingDescription(OfferingDescriptionT&& value) { m_offeringDescriptionHasBeenSet =
true; m_offeringDescription = std::forward<OfferingDescriptionT>(value); }
144 template<
typename OfferingDescriptionT = Aws::String>
154 template<
typename OfferingIdT = Aws::String>
155 void SetOfferingId(OfferingIdT&& value) { m_offeringIdHasBeenSet =
true; m_offeringId = std::forward<OfferingIdT>(value); }
156 template<
typename OfferingIdT = Aws::String>
176 template<
typename RegionT = Aws::String>
177 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
178 template<
typename RegionT = Aws::String>
188 template<
typename RenewalSettingsT = RenewalSettings>
189 void SetRenewalSettings(RenewalSettingsT&& value) { m_renewalSettingsHasBeenSet =
true; m_renewalSettings = std::forward<RenewalSettingsT>(value); }
190 template<
typename RenewalSettingsT = RenewalSettings>
200 template<
typename ReservationIdT = Aws::String>
201 void SetReservationId(ReservationIdT&& value) { m_reservationIdHasBeenSet =
true; m_reservationId = std::forward<ReservationIdT>(value); }
202 template<
typename ReservationIdT = Aws::String>
212 template<
typename ResourceSpecificationT = ReservationResourceSpecification>
213 void SetResourceSpecification(ResourceSpecificationT&& value) { m_resourceSpecificationHasBeenSet =
true; m_resourceSpecification = std::forward<ResourceSpecificationT>(value); }
214 template<
typename ResourceSpecificationT = ReservationResourceSpecification>
225 template<
typename StartT = Aws::String>
226 void SetStart(StartT&& value) { m_startHasBeenSet =
true; m_start = std::forward<StartT>(value); }
227 template<
typename StartT = Aws::String>
247 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
248 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
249 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
253 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
263 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
269 bool m_arnHasBeenSet =
false;
272 bool m_countHasBeenSet =
false;
275 bool m_currencyCodeHasBeenSet =
false;
278 bool m_durationHasBeenSet =
false;
281 bool m_durationUnitsHasBeenSet =
false;
284 bool m_endHasBeenSet =
false;
286 double m_fixedPrice{0.0};
287 bool m_fixedPriceHasBeenSet =
false;
290 bool m_nameHasBeenSet =
false;
293 bool m_offeringDescriptionHasBeenSet =
false;
296 bool m_offeringIdHasBeenSet =
false;
299 bool m_offeringTypeHasBeenSet =
false;
302 bool m_regionHasBeenSet =
false;
304 RenewalSettings m_renewalSettings;
305 bool m_renewalSettingsHasBeenSet =
false;
308 bool m_reservationIdHasBeenSet =
false;
310 ReservationResourceSpecification m_resourceSpecification;
311 bool m_resourceSpecificationHasBeenSet =
false;
314 bool m_startHasBeenSet =
false;
317 bool m_stateHasBeenSet =
false;
320 bool m_tagsHasBeenSet =
false;
322 double m_usagePrice{0.0};
323 bool m_usagePriceHasBeenSet =
false;
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
Aws::Utils::Json::JsonValue JsonValue