AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteProgramRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaTailor
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteProgram"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetChannelName() const{ return m_channelName; }
39 
43  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
44 
48  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
49 
53  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
54 
58  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
59 
63  inline DeleteProgramRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
64 
68  inline DeleteProgramRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
69 
73  inline DeleteProgramRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
74 
75 
79  inline const Aws::String& GetProgramName() const{ return m_programName; }
80 
84  inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
85 
89  inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
90 
94  inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
95 
99  inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
100 
104  inline DeleteProgramRequest& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
105 
109  inline DeleteProgramRequest& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
110 
114  inline DeleteProgramRequest& WithProgramName(const char* value) { SetProgramName(value); return *this;}
115 
116  private:
117 
118  Aws::String m_channelName;
119  bool m_channelNameHasBeenSet;
120 
121  Aws::String m_programName;
122  bool m_programNameHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace MediaTailor
127 } // namespace Aws
Aws::MediaTailor::Model::DeleteProgramRequest::WithProgramName
DeleteProgramRequest & WithProgramName(const Aws::String &value)
Definition: DeleteProgramRequest.h:104
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DeleteProgramRequest::SetProgramName
void SetProgramName(Aws::String &&value)
Definition: DeleteProgramRequest.h:94
Aws::MediaTailor::Model::DeleteProgramRequest::WithChannelName
DeleteProgramRequest & WithChannelName(const char *value)
Definition: DeleteProgramRequest.h:73
Aws::MediaTailor::Model::DeleteProgramRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteProgramRequest.h:30
Aws::MediaTailor::Model::DeleteProgramRequest::GetChannelName
const Aws::String & GetChannelName() const
Definition: DeleteProgramRequest.h:38
Aws::MediaTailor::Model::DeleteProgramRequest::WithProgramName
DeleteProgramRequest & WithProgramName(Aws::String &&value)
Definition: DeleteProgramRequest.h:109
Aws::MediaTailor::Model::DeleteProgramRequest::SetProgramName
void SetProgramName(const Aws::String &value)
Definition: DeleteProgramRequest.h:89
Aws::MediaTailor::Model::DeleteProgramRequest::SetProgramName
void SetProgramName(const char *value)
Definition: DeleteProgramRequest.h:99
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
AWSString.h
Aws::MediaTailor::Model::DeleteProgramRequest::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: DeleteProgramRequest.h:48
MediaTailorRequest.h
Aws::MediaTailor::Model::DeleteProgramRequest::WithChannelName
DeleteProgramRequest & WithChannelName(Aws::String &&value)
Definition: DeleteProgramRequest.h:68
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DeleteProgramRequest::GetProgramName
const Aws::String & GetProgramName() const
Definition: DeleteProgramRequest.h:79
Aws::MediaTailor::Model::DeleteProgramRequest::WithChannelName
DeleteProgramRequest & WithChannelName(const Aws::String &value)
Definition: DeleteProgramRequest.h:63
Aws::MediaTailor::Model::DeleteProgramRequest::ProgramNameHasBeenSet
bool ProgramNameHasBeenSet() const
Definition: DeleteProgramRequest.h:84
Aws::MediaTailor::Model::DeleteProgramRequest::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: DeleteProgramRequest.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DeleteProgramRequest
Definition: DeleteProgramRequest.h:22
Aws::MediaTailor::Model::DeleteProgramRequest::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: DeleteProgramRequest.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DeleteProgramRequest::WithProgramName
DeleteProgramRequest & WithProgramName(const char *value)
Definition: DeleteProgramRequest.h:114
Aws::MediaTailor::Model::DeleteProgramRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::DeleteProgramRequest::SetChannelName
void SetChannelName(const char *value)
Definition: DeleteProgramRequest.h:58
Aws::MediaTailor::Model::DeleteProgramRequest::DeleteProgramRequest
DeleteProgramRequest()