AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeScheduleRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.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 MediaLive
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_MEDIALIVE_API DescribeScheduleRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "DescribeSchedule"; }
38
39 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
40
41 AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetChannelId() const{ return m_channelId; }
49 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
50 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
51 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
52 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
53 inline DescribeScheduleRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
54 inline DescribeScheduleRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
55 inline DescribeScheduleRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
57
59
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline DescribeScheduleRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
70 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
71 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
72 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
73 inline DescribeScheduleRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
74 inline DescribeScheduleRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
75 inline DescribeScheduleRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
77 private:
78
79 Aws::String m_channelId;
80 bool m_channelIdHasBeenSet = false;
81
82 int m_maxResults;
83 bool m_maxResultsHasBeenSet = false;
84
85 Aws::String m_nextToken;
86 bool m_nextTokenHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace MediaLive
91} // namespace Aws
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
DescribeScheduleRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeScheduleRequest & WithChannelId(Aws::String &&value)
DescribeScheduleRequest & WithChannelId(const Aws::String &value)
DescribeScheduleRequest & WithNextToken(const char *value)
AWS_MEDIALIVE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeScheduleRequest & WithMaxResults(int value)
DescribeScheduleRequest & WithNextToken(Aws::String &&value)
DescribeScheduleRequest & WithChannelId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String