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/MediaLiveRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaLive
15 {
16 namespace Model
17 {
18 
19   /**
20    * Placeholder documentation for DescribeReservationRequest<p><h3>See Also:</h3>
21    * <a
22    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservationRequest">AWS
23    * API Reference</a></p>
24    */
25   class AWS_MEDIALIVE_API DescribeReservationRequest : public MediaLiveRequest
26   {
27   public:
28     DescribeReservationRequest();
29 
30     // Service request name is the Operation name which will send this request out,
31     // each operation should has unique request name, so that we can get operation's name from this request.
32     // Note: this is not true for response, multiple operations may have the same response name,
33     // so we can not get operation's name from response.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "DescribeReservation"; }
35 
36     Aws::String SerializePayload() const override;
37 
38 
39     /**
40      * Unique reservation ID, e.g. '1234567'
41      */
GetReservationId()42     inline const Aws::String& GetReservationId() const{ return m_reservationId; }
43 
44     /**
45      * Unique reservation ID, e.g. '1234567'
46      */
ReservationIdHasBeenSet()47     inline bool ReservationIdHasBeenSet() const { return m_reservationIdHasBeenSet; }
48 
49     /**
50      * Unique reservation ID, e.g. '1234567'
51      */
SetReservationId(const Aws::String & value)52     inline void SetReservationId(const Aws::String& value) { m_reservationIdHasBeenSet = true; m_reservationId = value; }
53 
54     /**
55      * Unique reservation ID, e.g. '1234567'
56      */
SetReservationId(Aws::String && value)57     inline void SetReservationId(Aws::String&& value) { m_reservationIdHasBeenSet = true; m_reservationId = std::move(value); }
58 
59     /**
60      * Unique reservation ID, e.g. '1234567'
61      */
SetReservationId(const char * value)62     inline void SetReservationId(const char* value) { m_reservationIdHasBeenSet = true; m_reservationId.assign(value); }
63 
64     /**
65      * Unique reservation ID, e.g. '1234567'
66      */
WithReservationId(const Aws::String & value)67     inline DescribeReservationRequest& WithReservationId(const Aws::String& value) { SetReservationId(value); return *this;}
68 
69     /**
70      * Unique reservation ID, e.g. '1234567'
71      */
WithReservationId(Aws::String && value)72     inline DescribeReservationRequest& WithReservationId(Aws::String&& value) { SetReservationId(std::move(value)); return *this;}
73 
74     /**
75      * Unique reservation ID, e.g. '1234567'
76      */
WithReservationId(const char * value)77     inline DescribeReservationRequest& WithReservationId(const char* value) { SetReservationId(value); return *this;}
78 
79   private:
80 
81     Aws::String m_reservationId;
82     bool m_reservationIdHasBeenSet;
83   };
84 
85 } // namespace Model
86 } // namespace MediaLive
87 } // namespace Aws
88