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 DeleteScheduleRequest<p><h3>See Also:</h3>   <a
21    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteScheduleRequest">AWS
22    * API Reference</a></p>
23    */
24   class AWS_MEDIALIVE_API DeleteScheduleRequest : public MediaLiveRequest
25   {
26   public:
27     DeleteScheduleRequest();
28 
29     // Service request name is the Operation name which will send this request out,
30     // each operation should has unique request name, so that we can get operation's name from this request.
31     // Note: this is not true for response, multiple operations may have the same response name,
32     // so we can not get operation's name from response.
GetServiceRequestName()33     inline virtual const char* GetServiceRequestName() const override { return "DeleteSchedule"; }
34 
35     Aws::String SerializePayload() const override;
36 
37 
38     /**
39      * Id of the channel whose schedule is being deleted.
40      */
GetChannelId()41     inline const Aws::String& GetChannelId() const{ return m_channelId; }
42 
43     /**
44      * Id of the channel whose schedule is being deleted.
45      */
ChannelIdHasBeenSet()46     inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
47 
48     /**
49      * Id of the channel whose schedule is being deleted.
50      */
SetChannelId(const Aws::String & value)51     inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
52 
53     /**
54      * Id of the channel whose schedule is being deleted.
55      */
SetChannelId(Aws::String && value)56     inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
57 
58     /**
59      * Id of the channel whose schedule is being deleted.
60      */
SetChannelId(const char * value)61     inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
62 
63     /**
64      * Id of the channel whose schedule is being deleted.
65      */
WithChannelId(const Aws::String & value)66     inline DeleteScheduleRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
67 
68     /**
69      * Id of the channel whose schedule is being deleted.
70      */
WithChannelId(Aws::String && value)71     inline DeleteScheduleRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
72 
73     /**
74      * Id of the channel whose schedule is being deleted.
75      */
WithChannelId(const char * value)76     inline DeleteScheduleRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
77 
78   private:
79 
80     Aws::String m_channelId;
81     bool m_channelIdHasBeenSet;
82   };
83 
84 } // namespace Model
85 } // namespace MediaLive
86 } // namespace Aws
87