AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ListStreamsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
10#include <aws/kinesisvideo/model/StreamNameCondition.h>
11
12#include <utility>
13
14namespace Aws {
15namespace KinesisVideo {
16namespace Model {
17
21 public:
22 AWS_KINESISVIDEO_API ListStreamsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListStreams"; }
29
30 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
31
33
37 inline int GetMaxResults() const { return m_maxResults; }
38 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
39 inline void SetMaxResults(int value) {
40 m_maxResultsHasBeenSet = true;
41 m_maxResults = value;
42 }
44 SetMaxResults(value);
45 return *this;
46 }
48
50
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template <typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
64 ListStreamsRequest& WithNextToken(NextTokenT&& value) {
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
75 inline const StreamNameCondition& GetStreamNameCondition() const { return m_streamNameCondition; }
76 inline bool StreamNameConditionHasBeenSet() const { return m_streamNameConditionHasBeenSet; }
77 template <typename StreamNameConditionT = StreamNameCondition>
78 void SetStreamNameCondition(StreamNameConditionT&& value) {
79 m_streamNameConditionHasBeenSet = true;
80 m_streamNameCondition = std::forward<StreamNameConditionT>(value);
81 }
82 template <typename StreamNameConditionT = StreamNameCondition>
83 ListStreamsRequest& WithStreamNameCondition(StreamNameConditionT&& value) {
84 SetStreamNameCondition(std::forward<StreamNameConditionT>(value));
85 return *this;
86 }
88 private:
89 int m_maxResults{0};
90
91 Aws::String m_nextToken;
92
93 StreamNameCondition m_streamNameCondition;
94 bool m_maxResultsHasBeenSet = false;
95 bool m_nextTokenHasBeenSet = false;
96 bool m_streamNameConditionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace KinesisVideo
101} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_KINESISVIDEO_API ListStreamsRequest()=default
const StreamNameCondition & GetStreamNameCondition() const
void SetStreamNameCondition(StreamNameConditionT &&value)
ListStreamsRequest & WithNextToken(NextTokenT &&value)
ListStreamsRequest & WithMaxResults(int value)
ListStreamsRequest & WithStreamNameCondition(StreamNameConditionT &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String