AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeProgramRequest.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 "DescribeProgram"; }
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 DescribeProgramRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
64 
68  inline DescribeProgramRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
69 
73  inline DescribeProgramRequest& 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 DescribeProgramRequest& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
105 
109  inline DescribeProgramRequest& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
110 
114  inline DescribeProgramRequest& 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_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::DescribeProgramRequest::WithChannelName
DescribeProgramRequest & WithChannelName(Aws::String &&value)
Definition: DescribeProgramRequest.h:68
Aws::MediaTailor::Model::DescribeProgramRequest::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: DescribeProgramRequest.h:48
Aws::MediaTailor::Model::DescribeProgramRequest::DescribeProgramRequest
DescribeProgramRequest()
Aws::MediaTailor::Model::DescribeProgramRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeProgramRequest.h:30
Aws::MediaTailor::Model::DescribeProgramRequest::GetChannelName
const Aws::String & GetChannelName() const
Definition: DescribeProgramRequest.h:38
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
Aws::MediaTailor::Model::DescribeProgramRequest::WithProgramName
DescribeProgramRequest & WithProgramName(Aws::String &&value)
Definition: DescribeProgramRequest.h:109
AWSString.h
MediaTailorRequest.h
Aws::MediaTailor::Model::DescribeProgramRequest::SetProgramName
void SetProgramName(const char *value)
Definition: DescribeProgramRequest.h:99
Aws::MediaTailor::Model::DescribeProgramRequest::WithChannelName
DescribeProgramRequest & WithChannelName(const Aws::String &value)
Definition: DescribeProgramRequest.h:63
MediaTailor_EXPORTS.h
Aws::MediaTailor::Model::DescribeProgramRequest::WithChannelName
DescribeProgramRequest & WithChannelName(const char *value)
Definition: DescribeProgramRequest.h:73
Aws::MediaTailor::Model::DescribeProgramRequest::SetChannelName
void SetChannelName(const char *value)
Definition: DescribeProgramRequest.h:58
Aws::MediaTailor::Model::DescribeProgramRequest::SetProgramName
void SetProgramName(Aws::String &&value)
Definition: DescribeProgramRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::DescribeProgramRequest::WithProgramName
DescribeProgramRequest & WithProgramName(const char *value)
Definition: DescribeProgramRequest.h:114
Aws::MediaTailor::Model::DescribeProgramRequest::ProgramNameHasBeenSet
bool ProgramNameHasBeenSet() const
Definition: DescribeProgramRequest.h:84
Aws::MediaTailor::Model::DescribeProgramRequest::WithProgramName
DescribeProgramRequest & WithProgramName(const Aws::String &value)
Definition: DescribeProgramRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::DescribeProgramRequest::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: DescribeProgramRequest.h:53
Aws::MediaTailor::Model::DescribeProgramRequest::GetProgramName
const Aws::String & GetProgramName() const
Definition: DescribeProgramRequest.h:79
Aws::MediaTailor::Model::DescribeProgramRequest
Definition: DescribeProgramRequest.h:22
Aws::MediaTailor::Model::DescribeProgramRequest::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: DescribeProgramRequest.h:43
Aws::MediaTailor::Model::DescribeProgramRequest::SetProgramName
void SetProgramName(const Aws::String &value)
Definition: DescribeProgramRequest.h:89
Aws::MediaTailor::Model::DescribeProgramRequest::SerializePayload
Aws::String SerializePayload() const override