AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetChannelScheduleRequest.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/MediaTailorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace MediaTailor
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_MEDIATAILOR_API GetChannelScheduleRequest();
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_MEDIATAILOR_API Aws::String SerializePayload() const override;
37
38 AWS_MEDIATAILOR_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAudience() const{ return m_audience; }
46 inline bool AudienceHasBeenSet() const { return m_audienceHasBeenSet; }
47 inline void SetAudience(const Aws::String& value) { m_audienceHasBeenSet = true; m_audience = value; }
48 inline void SetAudience(Aws::String&& value) { m_audienceHasBeenSet = true; m_audience = std::move(value); }
49 inline void SetAudience(const char* value) { m_audienceHasBeenSet = true; m_audience.assign(value); }
50 inline GetChannelScheduleRequest& WithAudience(const Aws::String& value) { SetAudience(value); return *this;}
51 inline GetChannelScheduleRequest& WithAudience(Aws::String&& value) { SetAudience(std::move(value)); return *this;}
52 inline GetChannelScheduleRequest& WithAudience(const char* value) { SetAudience(value); return *this;}
54
56
59 inline const Aws::String& GetChannelName() const{ return m_channelName; }
60 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
61 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
62 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
63 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
64 inline GetChannelScheduleRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
65 inline GetChannelScheduleRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
66 inline GetChannelScheduleRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
68
70
73 inline const Aws::String& GetDurationMinutes() const{ return m_durationMinutes; }
74 inline bool DurationMinutesHasBeenSet() const { return m_durationMinutesHasBeenSet; }
75 inline void SetDurationMinutes(const Aws::String& value) { m_durationMinutesHasBeenSet = true; m_durationMinutes = value; }
76 inline void SetDurationMinutes(Aws::String&& value) { m_durationMinutesHasBeenSet = true; m_durationMinutes = std::move(value); }
77 inline void SetDurationMinutes(const char* value) { m_durationMinutesHasBeenSet = true; m_durationMinutes.assign(value); }
78 inline GetChannelScheduleRequest& WithDurationMinutes(const Aws::String& value) { SetDurationMinutes(value); return *this;}
79 inline GetChannelScheduleRequest& WithDurationMinutes(Aws::String&& value) { SetDurationMinutes(std::move(value)); return *this;}
80 inline GetChannelScheduleRequest& WithDurationMinutes(const char* value) { SetDurationMinutes(value); return *this;}
82
84
90 inline int GetMaxResults() const{ return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline GetChannelScheduleRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95
97
107 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
108 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
109 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
110 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
111 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
112 inline GetChannelScheduleRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 inline GetChannelScheduleRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 inline GetChannelScheduleRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
116 private:
117
118 Aws::String m_audience;
119 bool m_audienceHasBeenSet = false;
120
121 Aws::String m_channelName;
122 bool m_channelNameHasBeenSet = false;
123
124 Aws::String m_durationMinutes;
125 bool m_durationMinutesHasBeenSet = false;
126
127 int m_maxResults;
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace MediaTailor
136} // namespace Aws
GetChannelScheduleRequest & WithChannelName(const char *value)
GetChannelScheduleRequest & WithDurationMinutes(Aws::String &&value)
GetChannelScheduleRequest & WithMaxResults(int value)
GetChannelScheduleRequest & WithNextToken(const char *value)
AWS_MEDIATAILOR_API Aws::String SerializePayload() const override
AWS_MEDIATAILOR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
GetChannelScheduleRequest & WithAudience(const Aws::String &value)
GetChannelScheduleRequest & WithNextToken(const Aws::String &value)
GetChannelScheduleRequest & WithDurationMinutes(const char *value)
GetChannelScheduleRequest & WithAudience(Aws::String &&value)
GetChannelScheduleRequest & WithChannelName(const Aws::String &value)
GetChannelScheduleRequest & WithNextToken(Aws::String &&value)
GetChannelScheduleRequest & WithChannelName(Aws::String &&value)
GetChannelScheduleRequest & WithAudience(const char *value)
GetChannelScheduleRequest & WithDurationMinutes(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String