1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
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/ReservationResourceSpecification.h>
12 #include <aws/medialive/model/ReservationState.h>
13 #include <aws/core/utils/memory/stl/AWSMap.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25   class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace MediaLive
29 {
30 namespace Model
31 {
32   /**
33    * Placeholder documentation for DeleteReservationResponse<p><h3>See Also:</h3>
34    * <a
35    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservationResponse">AWS
36    * API Reference</a></p>
37    */
38   class AWS_MEDIALIVE_API DeleteReservationResult
39   {
40   public:
41     DeleteReservationResult();
42     DeleteReservationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
43     DeleteReservationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
44 
45 
46     /**
47      * Unique reservation ARN, e.g.
48      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
49      */
GetArn()50     inline const Aws::String& GetArn() const{ return m_arn; }
51 
52     /**
53      * Unique reservation ARN, e.g.
54      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
55      */
SetArn(const Aws::String & value)56     inline void SetArn(const Aws::String& value) { m_arn = value; }
57 
58     /**
59      * Unique reservation ARN, e.g.
60      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
61      */
SetArn(Aws::String && value)62     inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
63 
64     /**
65      * Unique reservation ARN, e.g.
66      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
67      */
SetArn(const char * value)68     inline void SetArn(const char* value) { m_arn.assign(value); }
69 
70     /**
71      * Unique reservation ARN, e.g.
72      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
73      */
WithArn(const Aws::String & value)74     inline DeleteReservationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 
76     /**
77      * Unique reservation ARN, e.g.
78      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
79      */
WithArn(Aws::String && value)80     inline DeleteReservationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
81 
82     /**
83      * Unique reservation ARN, e.g.
84      * 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
85      */
WithArn(const char * value)86     inline DeleteReservationResult& WithArn(const char* value) { SetArn(value); return *this;}
87 
88 
89     /**
90      * Number of reserved resources
91      */
GetCount()92     inline int GetCount() const{ return m_count; }
93 
94     /**
95      * Number of reserved resources
96      */
SetCount(int value)97     inline void SetCount(int value) { m_count = value; }
98 
99     /**
100      * Number of reserved resources
101      */
WithCount(int value)102     inline DeleteReservationResult& WithCount(int value) { SetCount(value); return *this;}
103 
104 
105     /**
106      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
107      */
GetCurrencyCode()108     inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
109 
110     /**
111      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
112      */
SetCurrencyCode(const Aws::String & value)113     inline void SetCurrencyCode(const Aws::String& value) { m_currencyCode = value; }
114 
115     /**
116      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
117      */
SetCurrencyCode(Aws::String && value)118     inline void SetCurrencyCode(Aws::String&& value) { m_currencyCode = std::move(value); }
119 
120     /**
121      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
122      */
SetCurrencyCode(const char * value)123     inline void SetCurrencyCode(const char* value) { m_currencyCode.assign(value); }
124 
125     /**
126      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
127      */
WithCurrencyCode(const Aws::String & value)128     inline DeleteReservationResult& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
129 
130     /**
131      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
132      */
WithCurrencyCode(Aws::String && value)133     inline DeleteReservationResult& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
134 
135     /**
136      * Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
137      */
WithCurrencyCode(const char * value)138     inline DeleteReservationResult& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
139 
140 
141     /**
142      * Lease duration, e.g. '12'
143      */
GetDuration()144     inline int GetDuration() const{ return m_duration; }
145 
146     /**
147      * Lease duration, e.g. '12'
148      */
SetDuration(int value)149     inline void SetDuration(int value) { m_duration = value; }
150 
151     /**
152      * Lease duration, e.g. '12'
153      */
WithDuration(int value)154     inline DeleteReservationResult& WithDuration(int value) { SetDuration(value); return *this;}
155 
156 
157     /**
158      * Units for duration, e.g. 'MONTHS'
159      */
GetDurationUnits()160     inline const OfferingDurationUnits& GetDurationUnits() const{ return m_durationUnits; }
161 
162     /**
163      * Units for duration, e.g. 'MONTHS'
164      */
SetDurationUnits(const OfferingDurationUnits & value)165     inline void SetDurationUnits(const OfferingDurationUnits& value) { m_durationUnits = value; }
166 
167     /**
168      * Units for duration, e.g. 'MONTHS'
169      */
SetDurationUnits(OfferingDurationUnits && value)170     inline void SetDurationUnits(OfferingDurationUnits&& value) { m_durationUnits = std::move(value); }
171 
172     /**
173      * Units for duration, e.g. 'MONTHS'
174      */
WithDurationUnits(const OfferingDurationUnits & value)175     inline DeleteReservationResult& WithDurationUnits(const OfferingDurationUnits& value) { SetDurationUnits(value); return *this;}
176 
177     /**
178      * Units for duration, e.g. 'MONTHS'
179      */
WithDurationUnits(OfferingDurationUnits && value)180     inline DeleteReservationResult& WithDurationUnits(OfferingDurationUnits&& value) { SetDurationUnits(std::move(value)); return *this;}
181 
182 
183     /**
184      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
185      */
GetEnd()186     inline const Aws::String& GetEnd() const{ return m_end; }
187 
188     /**
189      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
190      */
SetEnd(const Aws::String & value)191     inline void SetEnd(const Aws::String& value) { m_end = value; }
192 
193     /**
194      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
195      */
SetEnd(Aws::String && value)196     inline void SetEnd(Aws::String&& value) { m_end = std::move(value); }
197 
198     /**
199      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
200      */
SetEnd(const char * value)201     inline void SetEnd(const char* value) { m_end.assign(value); }
202 
203     /**
204      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
205      */
WithEnd(const Aws::String & value)206     inline DeleteReservationResult& WithEnd(const Aws::String& value) { SetEnd(value); return *this;}
207 
208     /**
209      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
210      */
WithEnd(Aws::String && value)211     inline DeleteReservationResult& WithEnd(Aws::String&& value) { SetEnd(std::move(value)); return *this;}
212 
213     /**
214      * Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
215      */
WithEnd(const char * value)216     inline DeleteReservationResult& WithEnd(const char* value) { SetEnd(value); return *this;}
217 
218 
219     /**
220      * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
221      */
GetFixedPrice()222     inline double GetFixedPrice() const{ return m_fixedPrice; }
223 
224     /**
225      * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
226      */
SetFixedPrice(double value)227     inline void SetFixedPrice(double value) { m_fixedPrice = value; }
228 
229     /**
230      * One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
231      */
WithFixedPrice(double value)232     inline DeleteReservationResult& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
233 
234 
235     /**
236      * User specified reservation name
237      */
GetName()238     inline const Aws::String& GetName() const{ return m_name; }
239 
240     /**
241      * User specified reservation name
242      */
SetName(const Aws::String & value)243     inline void SetName(const Aws::String& value) { m_name = value; }
244 
245     /**
246      * User specified reservation name
247      */
SetName(Aws::String && value)248     inline void SetName(Aws::String&& value) { m_name = std::move(value); }
249 
250     /**
251      * User specified reservation name
252      */
SetName(const char * value)253     inline void SetName(const char* value) { m_name.assign(value); }
254 
255     /**
256      * User specified reservation name
257      */
WithName(const Aws::String & value)258     inline DeleteReservationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
259 
260     /**
261      * User specified reservation name
262      */
WithName(Aws::String && value)263     inline DeleteReservationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
264 
265     /**
266      * User specified reservation name
267      */
WithName(const char * value)268     inline DeleteReservationResult& WithName(const char* value) { SetName(value); return *this;}
269 
270 
271     /**
272      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
273      * in US West (Oregon)'
274      */
GetOfferingDescription()275     inline const Aws::String& GetOfferingDescription() const{ return m_offeringDescription; }
276 
277     /**
278      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
279      * in US West (Oregon)'
280      */
SetOfferingDescription(const Aws::String & value)281     inline void SetOfferingDescription(const Aws::String& value) { m_offeringDescription = value; }
282 
283     /**
284      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
285      * in US West (Oregon)'
286      */
SetOfferingDescription(Aws::String && value)287     inline void SetOfferingDescription(Aws::String&& value) { m_offeringDescription = std::move(value); }
288 
289     /**
290      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
291      * in US West (Oregon)'
292      */
SetOfferingDescription(const char * value)293     inline void SetOfferingDescription(const char* value) { m_offeringDescription.assign(value); }
294 
295     /**
296      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
297      * in US West (Oregon)'
298      */
WithOfferingDescription(const Aws::String & value)299     inline DeleteReservationResult& WithOfferingDescription(const Aws::String& value) { SetOfferingDescription(value); return *this;}
300 
301     /**
302      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
303      * in US West (Oregon)'
304      */
WithOfferingDescription(Aws::String && value)305     inline DeleteReservationResult& WithOfferingDescription(Aws::String&& value) { SetOfferingDescription(std::move(value)); return *this;}
306 
307     /**
308      * Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ
309      * in US West (Oregon)'
310      */
WithOfferingDescription(const char * value)311     inline DeleteReservationResult& WithOfferingDescription(const char* value) { SetOfferingDescription(value); return *this;}
312 
313 
314     /**
315      * Unique offering ID, e.g. '87654321'
316      */
GetOfferingId()317     inline const Aws::String& GetOfferingId() const{ return m_offeringId; }
318 
319     /**
320      * Unique offering ID, e.g. '87654321'
321      */
SetOfferingId(const Aws::String & value)322     inline void SetOfferingId(const Aws::String& value) { m_offeringId = value; }
323 
324     /**
325      * Unique offering ID, e.g. '87654321'
326      */
SetOfferingId(Aws::String && value)327     inline void SetOfferingId(Aws::String&& value) { m_offeringId = std::move(value); }
328 
329     /**
330      * Unique offering ID, e.g. '87654321'
331      */
SetOfferingId(const char * value)332     inline void SetOfferingId(const char* value) { m_offeringId.assign(value); }
333 
334     /**
335      * Unique offering ID, e.g. '87654321'
336      */
WithOfferingId(const Aws::String & value)337     inline DeleteReservationResult& WithOfferingId(const Aws::String& value) { SetOfferingId(value); return *this;}
338 
339     /**
340      * Unique offering ID, e.g. '87654321'
341      */
WithOfferingId(Aws::String && value)342     inline DeleteReservationResult& WithOfferingId(Aws::String&& value) { SetOfferingId(std::move(value)); return *this;}
343 
344     /**
345      * Unique offering ID, e.g. '87654321'
346      */
WithOfferingId(const char * value)347     inline DeleteReservationResult& WithOfferingId(const char* value) { SetOfferingId(value); return *this;}
348 
349 
350     /**
351      * Offering type, e.g. 'NO_UPFRONT'
352      */
GetOfferingType()353     inline const OfferingType& GetOfferingType() const{ return m_offeringType; }
354 
355     /**
356      * Offering type, e.g. 'NO_UPFRONT'
357      */
SetOfferingType(const OfferingType & value)358     inline void SetOfferingType(const OfferingType& value) { m_offeringType = value; }
359 
360     /**
361      * Offering type, e.g. 'NO_UPFRONT'
362      */
SetOfferingType(OfferingType && value)363     inline void SetOfferingType(OfferingType&& value) { m_offeringType = std::move(value); }
364 
365     /**
366      * Offering type, e.g. 'NO_UPFRONT'
367      */
WithOfferingType(const OfferingType & value)368     inline DeleteReservationResult& WithOfferingType(const OfferingType& value) { SetOfferingType(value); return *this;}
369 
370     /**
371      * Offering type, e.g. 'NO_UPFRONT'
372      */
WithOfferingType(OfferingType && value)373     inline DeleteReservationResult& WithOfferingType(OfferingType&& value) { SetOfferingType(std::move(value)); return *this;}
374 
375 
376     /**
377      * AWS region, e.g. 'us-west-2'
378      */
GetRegion()379     inline const Aws::String& GetRegion() const{ return m_region; }
380 
381     /**
382      * AWS region, e.g. 'us-west-2'
383      */
SetRegion(const Aws::String & value)384     inline void SetRegion(const Aws::String& value) { m_region = value; }
385 
386     /**
387      * AWS region, e.g. 'us-west-2'
388      */
SetRegion(Aws::String && value)389     inline void SetRegion(Aws::String&& value) { m_region = std::move(value); }
390 
391     /**
392      * AWS region, e.g. 'us-west-2'
393      */
SetRegion(const char * value)394     inline void SetRegion(const char* value) { m_region.assign(value); }
395 
396     /**
397      * AWS region, e.g. 'us-west-2'
398      */
WithRegion(const Aws::String & value)399     inline DeleteReservationResult& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
400 
401     /**
402      * AWS region, e.g. 'us-west-2'
403      */
WithRegion(Aws::String && value)404     inline DeleteReservationResult& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
405 
406     /**
407      * AWS region, e.g. 'us-west-2'
408      */
WithRegion(const char * value)409     inline DeleteReservationResult& WithRegion(const char* value) { SetRegion(value); return *this;}
410 
411 
412     /**
413      * Unique reservation ID, e.g. '1234567'
414      */
GetReservationId()415     inline const Aws::String& GetReservationId() const{ return m_reservationId; }
416 
417     /**
418      * Unique reservation ID, e.g. '1234567'
419      */
SetReservationId(const Aws::String & value)420     inline void SetReservationId(const Aws::String& value) { m_reservationId = value; }
421 
422     /**
423      * Unique reservation ID, e.g. '1234567'
424      */
SetReservationId(Aws::String && value)425     inline void SetReservationId(Aws::String&& value) { m_reservationId = std::move(value); }
426 
427     /**
428      * Unique reservation ID, e.g. '1234567'
429      */
SetReservationId(const char * value)430     inline void SetReservationId(const char* value) { m_reservationId.assign(value); }
431 
432     /**
433      * Unique reservation ID, e.g. '1234567'
434      */
WithReservationId(const Aws::String & value)435     inline DeleteReservationResult& WithReservationId(const Aws::String& value) { SetReservationId(value); return *this;}
436 
437     /**
438      * Unique reservation ID, e.g. '1234567'
439      */
WithReservationId(Aws::String && value)440     inline DeleteReservationResult& WithReservationId(Aws::String&& value) { SetReservationId(std::move(value)); return *this;}
441 
442     /**
443      * Unique reservation ID, e.g. '1234567'
444      */
WithReservationId(const char * value)445     inline DeleteReservationResult& WithReservationId(const char* value) { SetReservationId(value); return *this;}
446 
447 
448     /**
449      * Resource configuration details
450      */
GetResourceSpecification()451     inline const ReservationResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
452 
453     /**
454      * Resource configuration details
455      */
SetResourceSpecification(const ReservationResourceSpecification & value)456     inline void SetResourceSpecification(const ReservationResourceSpecification& value) { m_resourceSpecification = value; }
457 
458     /**
459      * Resource configuration details
460      */
SetResourceSpecification(ReservationResourceSpecification && value)461     inline void SetResourceSpecification(ReservationResourceSpecification&& value) { m_resourceSpecification = std::move(value); }
462 
463     /**
464      * Resource configuration details
465      */
WithResourceSpecification(const ReservationResourceSpecification & value)466     inline DeleteReservationResult& WithResourceSpecification(const ReservationResourceSpecification& value) { SetResourceSpecification(value); return *this;}
467 
468     /**
469      * Resource configuration details
470      */
WithResourceSpecification(ReservationResourceSpecification && value)471     inline DeleteReservationResult& WithResourceSpecification(ReservationResourceSpecification&& value) { SetResourceSpecification(std::move(value)); return *this;}
472 
473 
474     /**
475      * Reservation UTC start date and time in ISO-8601 format, e.g.
476      * '2018-03-01T00:00:00'
477      */
GetStart()478     inline const Aws::String& GetStart() const{ return m_start; }
479 
480     /**
481      * Reservation UTC start date and time in ISO-8601 format, e.g.
482      * '2018-03-01T00:00:00'
483      */
SetStart(const Aws::String & value)484     inline void SetStart(const Aws::String& value) { m_start = value; }
485 
486     /**
487      * Reservation UTC start date and time in ISO-8601 format, e.g.
488      * '2018-03-01T00:00:00'
489      */
SetStart(Aws::String && value)490     inline void SetStart(Aws::String&& value) { m_start = std::move(value); }
491 
492     /**
493      * Reservation UTC start date and time in ISO-8601 format, e.g.
494      * '2018-03-01T00:00:00'
495      */
SetStart(const char * value)496     inline void SetStart(const char* value) { m_start.assign(value); }
497 
498     /**
499      * Reservation UTC start date and time in ISO-8601 format, e.g.
500      * '2018-03-01T00:00:00'
501      */
WithStart(const Aws::String & value)502     inline DeleteReservationResult& WithStart(const Aws::String& value) { SetStart(value); return *this;}
503 
504     /**
505      * Reservation UTC start date and time in ISO-8601 format, e.g.
506      * '2018-03-01T00:00:00'
507      */
WithStart(Aws::String && value)508     inline DeleteReservationResult& WithStart(Aws::String&& value) { SetStart(std::move(value)); return *this;}
509 
510     /**
511      * Reservation UTC start date and time in ISO-8601 format, e.g.
512      * '2018-03-01T00:00:00'
513      */
WithStart(const char * value)514     inline DeleteReservationResult& WithStart(const char* value) { SetStart(value); return *this;}
515 
516 
517     /**
518      * Current state of reservation, e.g. 'ACTIVE'
519      */
GetState()520     inline const ReservationState& GetState() const{ return m_state; }
521 
522     /**
523      * Current state of reservation, e.g. 'ACTIVE'
524      */
SetState(const ReservationState & value)525     inline void SetState(const ReservationState& value) { m_state = value; }
526 
527     /**
528      * Current state of reservation, e.g. 'ACTIVE'
529      */
SetState(ReservationState && value)530     inline void SetState(ReservationState&& value) { m_state = std::move(value); }
531 
532     /**
533      * Current state of reservation, e.g. 'ACTIVE'
534      */
WithState(const ReservationState & value)535     inline DeleteReservationResult& WithState(const ReservationState& value) { SetState(value); return *this;}
536 
537     /**
538      * Current state of reservation, e.g. 'ACTIVE'
539      */
WithState(ReservationState && value)540     inline DeleteReservationResult& WithState(ReservationState&& value) { SetState(std::move(value)); return *this;}
541 
542 
543     /**
544      * A collection of key-value pairs
545      */
GetTags()546     inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
547 
548     /**
549      * A collection of key-value pairs
550      */
SetTags(const Aws::Map<Aws::String,Aws::String> & value)551     inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
552 
553     /**
554      * A collection of key-value pairs
555      */
SetTags(Aws::Map<Aws::String,Aws::String> && value)556     inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
557 
558     /**
559      * A collection of key-value pairs
560      */
WithTags(const Aws::Map<Aws::String,Aws::String> & value)561     inline DeleteReservationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
562 
563     /**
564      * A collection of key-value pairs
565      */
WithTags(Aws::Map<Aws::String,Aws::String> && value)566     inline DeleteReservationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
567 
568     /**
569      * A collection of key-value pairs
570      */
AddTags(const Aws::String & key,const Aws::String & value)571     inline DeleteReservationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
572 
573     /**
574      * A collection of key-value pairs
575      */
AddTags(Aws::String && key,const Aws::String & value)576     inline DeleteReservationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
577 
578     /**
579      * A collection of key-value pairs
580      */
AddTags(const Aws::String & key,Aws::String && value)581     inline DeleteReservationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
582 
583     /**
584      * A collection of key-value pairs
585      */
AddTags(Aws::String && key,Aws::String && value)586     inline DeleteReservationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
587 
588     /**
589      * A collection of key-value pairs
590      */
AddTags(const char * key,Aws::String && value)591     inline DeleteReservationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
592 
593     /**
594      * A collection of key-value pairs
595      */
AddTags(Aws::String && key,const char * value)596     inline DeleteReservationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
597 
598     /**
599      * A collection of key-value pairs
600      */
AddTags(const char * key,const char * value)601     inline DeleteReservationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
602 
603 
604     /**
605      * Recurring usage charge for each reserved resource, e.g. '157.0'
606      */
GetUsagePrice()607     inline double GetUsagePrice() const{ return m_usagePrice; }
608 
609     /**
610      * Recurring usage charge for each reserved resource, e.g. '157.0'
611      */
SetUsagePrice(double value)612     inline void SetUsagePrice(double value) { m_usagePrice = value; }
613 
614     /**
615      * Recurring usage charge for each reserved resource, e.g. '157.0'
616      */
WithUsagePrice(double value)617     inline DeleteReservationResult& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
618 
619   private:
620 
621     Aws::String m_arn;
622 
623     int m_count;
624 
625     Aws::String m_currencyCode;
626 
627     int m_duration;
628 
629     OfferingDurationUnits m_durationUnits;
630 
631     Aws::String m_end;
632 
633     double m_fixedPrice;
634 
635     Aws::String m_name;
636 
637     Aws::String m_offeringDescription;
638 
639     Aws::String m_offeringId;
640 
641     OfferingType m_offeringType;
642 
643     Aws::String m_region;
644 
645     Aws::String m_reservationId;
646 
647     ReservationResourceSpecification m_resourceSpecification;
648 
649     Aws::String m_start;
650 
651     ReservationState m_state;
652 
653     Aws::Map<Aws::String, Aws::String> m_tags;
654 
655     double m_usagePrice;
656   };
657 
658 } // namespace Model
659 } // namespace MediaLive
660 } // namespace Aws
661