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>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
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; }
64 inline void SetCount(
int value) { m_countHasBeenSet =
true; m_count = value; }
73 template<
typename CurrencyCodeT = Aws::String>
74 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
75 template<
typename CurrencyCodeT = Aws::String>
84 inline void SetDuration(
int value) { m_durationHasBeenSet =
true; m_duration = value; }
102 template<
typename EndT = Aws::String>
103 void SetEnd(EndT&& value) { m_endHasBeenSet =
true; m_end = std::forward<EndT>(value); }
104 template<
typename EndT = Aws::String>
113 inline void SetFixedPrice(
double value) { m_fixedPriceHasBeenSet =
true; m_fixedPrice = value; }
122 template<
typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
124 template<
typename NameT = Aws::String>
134 template<
typename OfferingDescriptionT = Aws::String>
135 void SetOfferingDescription(OfferingDescriptionT&& value) { m_offeringDescriptionHasBeenSet =
true; m_offeringDescription = std::forward<OfferingDescriptionT>(value); }
136 template<
typename OfferingDescriptionT = Aws::String>
145 template<
typename OfferingIdT = Aws::String>
146 void SetOfferingId(OfferingIdT&& value) { m_offeringIdHasBeenSet =
true; m_offeringId = std::forward<OfferingIdT>(value); }
147 template<
typename OfferingIdT = Aws::String>
165 template<
typename RegionT = Aws::String>
166 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
167 template<
typename RegionT = Aws::String>
176 template<
typename RenewalSettingsT = RenewalSettings>
177 void SetRenewalSettings(RenewalSettingsT&& value) { m_renewalSettingsHasBeenSet =
true; m_renewalSettings = std::forward<RenewalSettingsT>(value); }
178 template<
typename RenewalSettingsT = RenewalSettings>
187 template<
typename ReservationIdT = Aws::String>
188 void SetReservationId(ReservationIdT&& value) { m_reservationIdHasBeenSet =
true; m_reservationId = std::forward<ReservationIdT>(value); }
189 template<
typename ReservationIdT = Aws::String>
198 template<
typename ResourceSpecificationT = ReservationResourceSpecification>
199 void SetResourceSpecification(ResourceSpecificationT&& value) { m_resourceSpecificationHasBeenSet =
true; m_resourceSpecification = std::forward<ResourceSpecificationT>(value); }
200 template<
typename ResourceSpecificationT = ReservationResourceSpecification>
210 template<
typename StartT = Aws::String>
211 void SetStart(StartT&& value) { m_startHasBeenSet =
true; m_start = std::forward<StartT>(value); }
212 template<
typename StartT = Aws::String>
230 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
231 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
232 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
234 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
236 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
245 inline void SetUsagePrice(
double value) { m_usagePriceHasBeenSet =
true; m_usagePrice = value; }
252 template<
typename RequestIdT = Aws::String>
253 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
254 template<
typename RequestIdT = Aws::String>
260 bool m_arnHasBeenSet =
false;
263 bool m_countHasBeenSet =
false;
266 bool m_currencyCodeHasBeenSet =
false;
269 bool m_durationHasBeenSet =
false;
272 bool m_durationUnitsHasBeenSet =
false;
275 bool m_endHasBeenSet =
false;
277 double m_fixedPrice{0.0};
278 bool m_fixedPriceHasBeenSet =
false;
281 bool m_nameHasBeenSet =
false;
284 bool m_offeringDescriptionHasBeenSet =
false;
287 bool m_offeringIdHasBeenSet =
false;
290 bool m_offeringTypeHasBeenSet =
false;
293 bool m_regionHasBeenSet =
false;
295 RenewalSettings m_renewalSettings;
296 bool m_renewalSettingsHasBeenSet =
false;
299 bool m_reservationIdHasBeenSet =
false;
301 ReservationResourceSpecification m_resourceSpecification;
302 bool m_resourceSpecificationHasBeenSet =
false;
305 bool m_startHasBeenSet =
false;
308 bool m_stateHasBeenSet =
false;
311 bool m_tagsHasBeenSet =
false;
313 double m_usagePrice{0.0};
314 bool m_usagePriceHasBeenSet =
false;
317 bool m_requestIdHasBeenSet =
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