AWS SDK for C++  1.9.104
AWS SDK for C++
GetChannelScheduleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace MediaTailor
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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.
34  inline virtual const char* GetServiceRequestName() const override { return "GetChannelSchedule"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetChannelName() const{ return m_channelName; }
45 
49  inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
50 
54  inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
55 
59  inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
60 
64  inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
65 
69  inline GetChannelScheduleRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
70 
74  inline GetChannelScheduleRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
75 
79  inline GetChannelScheduleRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
80 
81 
86  inline const Aws::String& GetDurationMinutes() const{ return m_durationMinutes; }
87 
92  inline bool DurationMinutesHasBeenSet() const { return m_durationMinutesHasBeenSet; }
93 
98  inline void SetDurationMinutes(const Aws::String& value) { m_durationMinutesHasBeenSet = true; m_durationMinutes = value; }
99 
104  inline void SetDurationMinutes(Aws::String&& value) { m_durationMinutesHasBeenSet = true; m_durationMinutes = std::move(value); }
105 
110  inline void SetDurationMinutes(const char* value) { m_durationMinutesHasBeenSet = true; m_durationMinutes.assign(value); }
111 
116  inline GetChannelScheduleRequest& WithDurationMinutes(const Aws::String& value) { SetDurationMinutes(value); return *this;}
117 
122  inline GetChannelScheduleRequest& WithDurationMinutes(Aws::String&& value) { SetDurationMinutes(std::move(value)); return *this;}
123 
128  inline GetChannelScheduleRequest& WithDurationMinutes(const char* value) { SetDurationMinutes(value); return *this;}
129 
130 
135  inline int GetMaxResults() const{ return m_maxResults; }
136 
141  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
142 
147  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
148 
153  inline GetChannelScheduleRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
154 
155 
160  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
161 
166  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
167 
172  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
173 
178  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
179 
184  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
185 
190  inline GetChannelScheduleRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
191 
196  inline GetChannelScheduleRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
197 
202  inline GetChannelScheduleRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
203 
204  private:
205 
206  Aws::String m_channelName;
207  bool m_channelNameHasBeenSet;
208 
209  Aws::String m_durationMinutes;
210  bool m_durationMinutesHasBeenSet;
211 
212  int m_maxResults;
213  bool m_maxResultsHasBeenSet;
214 
215  Aws::String m_nextToken;
216  bool m_nextTokenHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace MediaTailor
221 } // namespace Aws
Aws::MediaTailor::Model::GetChannelScheduleRequest::DurationMinutesHasBeenSet
bool DurationMinutesHasBeenSet() const
Definition: GetChannelScheduleRequest.h:92
Aws::Http::URI
Definition: URI.h:32
AWS_MEDIATAILOR_API
#define AWS_MEDIATAILOR_API
Definition: MediaTailor_EXPORTS.h:28
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithChannelName
GetChannelScheduleRequest & WithChannelName(Aws::String &&value)
Definition: GetChannelScheduleRequest.h:74
Aws::MediaTailor::Model::GetChannelScheduleRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetChannelScheduleRequest.h:166
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetChannelScheduleRequest.h:184
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetDurationMinutes
void SetDurationMinutes(const char *value)
Definition: GetChannelScheduleRequest.h:110
Aws::MediaTailor::Model::GetChannelScheduleRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::MediaTailor::Model::GetChannelScheduleRequest
Definition: GetChannelScheduleRequest.h:26
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetChannelScheduleRequest.h:178
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithNextToken
GetChannelScheduleRequest & WithNextToken(const char *value)
Definition: GetChannelScheduleRequest.h:202
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetChannelName
void SetChannelName(Aws::String &&value)
Definition: GetChannelScheduleRequest.h:59
Aws::MediaTailor::Model::GetChannelScheduleRequest::GetChannelScheduleRequest
GetChannelScheduleRequest()
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetChannelName
void SetChannelName(const Aws::String &value)
Definition: GetChannelScheduleRequest.h:54
Aws::MediaTailor::Model::GetChannelScheduleRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetChannelScheduleRequest.h:160
Aws::MediaTailor::Model::GetChannelScheduleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetDurationMinutes
void SetDurationMinutes(const Aws::String &value)
Definition: GetChannelScheduleRequest.h:98
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithNextToken
GetChannelScheduleRequest & WithNextToken(const Aws::String &value)
Definition: GetChannelScheduleRequest.h:190
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetDurationMinutes
void SetDurationMinutes(Aws::String &&value)
Definition: GetChannelScheduleRequest.h:104
Aws::MediaTailor::Model::GetChannelScheduleRequest::GetChannelName
const Aws::String & GetChannelName() const
Definition: GetChannelScheduleRequest.h:44
Aws::MediaTailor::MediaTailorRequest
Definition: MediaTailorRequest.h:17
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetChannelScheduleRequest.h:172
AWSString.h
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithDurationMinutes
GetChannelScheduleRequest & WithDurationMinutes(const Aws::String &value)
Definition: GetChannelScheduleRequest.h:116
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithDurationMinutes
GetChannelScheduleRequest & WithDurationMinutes(const char *value)
Definition: GetChannelScheduleRequest.h:128
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithChannelName
GetChannelScheduleRequest & WithChannelName(const char *value)
Definition: GetChannelScheduleRequest.h:79
MediaTailorRequest.h
MediaTailor_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetChannelName
void SetChannelName(const char *value)
Definition: GetChannelScheduleRequest.h:64
Aws::MediaTailor::Model::GetChannelScheduleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetChannelScheduleRequest.h:34
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithChannelName
GetChannelScheduleRequest & WithChannelName(const Aws::String &value)
Definition: GetChannelScheduleRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaTailor::Model::GetChannelScheduleRequest::GetMaxResults
int GetMaxResults() const
Definition: GetChannelScheduleRequest.h:135
Aws::MediaTailor::Model::GetChannelScheduleRequest::GetDurationMinutes
const Aws::String & GetDurationMinutes() const
Definition: GetChannelScheduleRequest.h:86
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithDurationMinutes
GetChannelScheduleRequest & WithDurationMinutes(Aws::String &&value)
Definition: GetChannelScheduleRequest.h:122
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithMaxResults
GetChannelScheduleRequest & WithMaxResults(int value)
Definition: GetChannelScheduleRequest.h:153
Aws::MediaTailor::Model::GetChannelScheduleRequest::WithNextToken
GetChannelScheduleRequest & WithNextToken(Aws::String &&value)
Definition: GetChannelScheduleRequest.h:196
Aws::MediaTailor::Model::GetChannelScheduleRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetChannelScheduleRequest.h:141
Aws::MediaTailor::Model::GetChannelScheduleRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetChannelScheduleRequest.h:147
Aws::MediaTailor::Model::GetChannelScheduleRequest::ChannelNameHasBeenSet
bool ChannelNameHasBeenSet() const
Definition: GetChannelScheduleRequest.h:49