AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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& GetChannelName() const { return m_channelName; }
46 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
47 template<typename ChannelNameT = Aws::String>
48 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
49 template<typename ChannelNameT = Aws::String>
50 GetChannelScheduleRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDurationMinutes() const { return m_durationMinutes; }
58 inline bool DurationMinutesHasBeenSet() const { return m_durationMinutesHasBeenSet; }
59 template<typename DurationMinutesT = Aws::String>
60 void SetDurationMinutes(DurationMinutesT&& value) { m_durationMinutesHasBeenSet = true; m_durationMinutes = std::forward<DurationMinutesT>(value); }
61 template<typename DurationMinutesT = Aws::String>
62 GetChannelScheduleRequest& WithDurationMinutes(DurationMinutesT&& value) { SetDurationMinutes(std::forward<DurationMinutesT>(value)); return *this;}
64
66
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline GetChannelScheduleRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 GetChannelScheduleRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96
98
101 inline const Aws::String& GetAudience() const { return m_audience; }
102 inline bool AudienceHasBeenSet() const { return m_audienceHasBeenSet; }
103 template<typename AudienceT = Aws::String>
104 void SetAudience(AudienceT&& value) { m_audienceHasBeenSet = true; m_audience = std::forward<AudienceT>(value); }
105 template<typename AudienceT = Aws::String>
106 GetChannelScheduleRequest& WithAudience(AudienceT&& value) { SetAudience(std::forward<AudienceT>(value)); return *this;}
108 private:
109
110 Aws::String m_channelName;
111 bool m_channelNameHasBeenSet = false;
112
113 Aws::String m_durationMinutes;
114 bool m_durationMinutesHasBeenSet = false;
115
116 int m_maxResults{0};
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 Aws::String m_audience;
123 bool m_audienceHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace MediaTailor
128} // namespace Aws
GetChannelScheduleRequest & WithNextToken(NextTokenT &&value)
GetChannelScheduleRequest & WithMaxResults(int value)
AWS_MEDIATAILOR_API Aws::String SerializePayload() const override
AWS_MEDIATAILOR_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetChannelScheduleRequest & WithAudience(AudienceT &&value)
virtual const char * GetServiceRequestName() const override
GetChannelScheduleRequest & WithChannelName(ChannelNameT &&value)
AWS_MEDIATAILOR_API GetChannelScheduleRequest()=default
GetChannelScheduleRequest & WithDurationMinutes(DurationMinutesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String