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/medialive/model/Reservation.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MediaLive
24 {
25 namespace Model
26 {
27   /**
28    * Placeholder documentation for UpdateReservationResponse<p><h3>See Also:</h3>
29    * <a
30    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservationResponse">AWS
31    * API Reference</a></p>
32    */
33   class AWS_MEDIALIVE_API UpdateReservationResult
34   {
35   public:
36     UpdateReservationResult();
37     UpdateReservationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38     UpdateReservationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
39 
40 
41 
GetReservation()42     inline const Reservation& GetReservation() const{ return m_reservation; }
43 
44 
SetReservation(const Reservation & value)45     inline void SetReservation(const Reservation& value) { m_reservation = value; }
46 
47 
SetReservation(Reservation && value)48     inline void SetReservation(Reservation&& value) { m_reservation = std::move(value); }
49 
50 
WithReservation(const Reservation & value)51     inline UpdateReservationResult& WithReservation(const Reservation& value) { SetReservation(value); return *this;}
52 
53 
WithReservation(Reservation && value)54     inline UpdateReservationResult& WithReservation(Reservation&& value) { SetReservation(std::move(value)); return *this;}
55 
56   private:
57 
58     Reservation m_reservation;
59   };
60 
61 } // namespace Model
62 } // namespace MediaLive
63 } // namespace Aws
64