AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListChannelsRequest.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/ivs/IVSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IVS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IVS_API ListChannelsRequest();
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 "ListChannels"; }
31
32 AWS_IVS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetFilterByName() const{ return m_filterByName; }
40 inline bool FilterByNameHasBeenSet() const { return m_filterByNameHasBeenSet; }
41 inline void SetFilterByName(const Aws::String& value) { m_filterByNameHasBeenSet = true; m_filterByName = value; }
42 inline void SetFilterByName(Aws::String&& value) { m_filterByNameHasBeenSet = true; m_filterByName = std::move(value); }
43 inline void SetFilterByName(const char* value) { m_filterByNameHasBeenSet = true; m_filterByName.assign(value); }
44 inline ListChannelsRequest& WithFilterByName(const Aws::String& value) { SetFilterByName(value); return *this;}
45 inline ListChannelsRequest& WithFilterByName(Aws::String&& value) { SetFilterByName(std::move(value)); return *this;}
46 inline ListChannelsRequest& WithFilterByName(const char* value) { SetFilterByName(value); return *this;}
48
50
53 inline const Aws::String& GetFilterByPlaybackRestrictionPolicyArn() const{ return m_filterByPlaybackRestrictionPolicyArn; }
54 inline bool FilterByPlaybackRestrictionPolicyArnHasBeenSet() const { return m_filterByPlaybackRestrictionPolicyArnHasBeenSet; }
55 inline void SetFilterByPlaybackRestrictionPolicyArn(const Aws::String& value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn = value; }
56 inline void SetFilterByPlaybackRestrictionPolicyArn(Aws::String&& value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn = std::move(value); }
57 inline void SetFilterByPlaybackRestrictionPolicyArn(const char* value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn.assign(value); }
62
64
68 inline const Aws::String& GetFilterByRecordingConfigurationArn() const{ return m_filterByRecordingConfigurationArn; }
69 inline bool FilterByRecordingConfigurationArnHasBeenSet() const { return m_filterByRecordingConfigurationArnHasBeenSet; }
70 inline void SetFilterByRecordingConfigurationArn(const Aws::String& value) { m_filterByRecordingConfigurationArnHasBeenSet = true; m_filterByRecordingConfigurationArn = value; }
71 inline void SetFilterByRecordingConfigurationArn(Aws::String&& value) { m_filterByRecordingConfigurationArnHasBeenSet = true; m_filterByRecordingConfigurationArn = std::move(value); }
72 inline void SetFilterByRecordingConfigurationArn(const char* value) { m_filterByRecordingConfigurationArnHasBeenSet = true; m_filterByRecordingConfigurationArn.assign(value); }
77
79
82 inline int GetMaxResults() const{ return m_maxResults; }
83 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
84 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
85 inline ListChannelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
87
89
93 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
98 inline ListChannelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 inline ListChannelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100 inline ListChannelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102 private:
103
104 Aws::String m_filterByName;
105 bool m_filterByNameHasBeenSet = false;
106
107 Aws::String m_filterByPlaybackRestrictionPolicyArn;
108 bool m_filterByPlaybackRestrictionPolicyArnHasBeenSet = false;
109
110 Aws::String m_filterByRecordingConfigurationArn;
111 bool m_filterByRecordingConfigurationArnHasBeenSet = false;
112
113 int m_maxResults;
114 bool m_maxResultsHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace IVS
122} // namespace Aws
ListChannelsRequest & WithFilterByRecordingConfigurationArn(const char *value)
void SetFilterByPlaybackRestrictionPolicyArn(const Aws::String &value)
ListChannelsRequest & WithFilterByPlaybackRestrictionPolicyArn(const char *value)
void SetFilterByPlaybackRestrictionPolicyArn(const char *value)
const Aws::String & GetFilterByPlaybackRestrictionPolicyArn() const
ListChannelsRequest & WithFilterByName(Aws::String &&value)
ListChannelsRequest & WithFilterByName(const char *value)
const Aws::String & GetFilterByRecordingConfigurationArn() const
ListChannelsRequest & WithNextToken(const char *value)
ListChannelsRequest & WithFilterByPlaybackRestrictionPolicyArn(const Aws::String &value)
const Aws::String & GetNextToken() const
void SetNextToken(const Aws::String &value)
const Aws::String & GetFilterByName() const
ListChannelsRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetFilterByRecordingConfigurationArn(const Aws::String &value)
void SetFilterByName(const Aws::String &value)
void SetFilterByRecordingConfigurationArn(const char *value)
AWS_IVS_API Aws::String SerializePayload() const override
ListChannelsRequest & WithNextToken(const Aws::String &value)
void SetFilterByRecordingConfigurationArn(Aws::String &&value)
ListChannelsRequest & WithFilterByRecordingConfigurationArn(const Aws::String &value)
ListChannelsRequest & WithFilterByRecordingConfigurationArn(Aws::String &&value)
void SetFilterByPlaybackRestrictionPolicyArn(Aws::String &&value)
ListChannelsRequest & WithMaxResults(int value)
ListChannelsRequest & WithFilterByPlaybackRestrictionPolicyArn(Aws::String &&value)
ListChannelsRequest & WithFilterByName(const Aws::String &value)
void SetFilterByName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String