AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListStreamsRequest.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisvideo/model/StreamNameCondition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideo
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEO_API ListStreamsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListStreams"; }
32
33 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
34
35
37
41 inline int GetMaxResults() const { return m_maxResults; }
42 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
43 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
44 inline ListStreamsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
46
48
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 ListStreamsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
67 inline const StreamNameCondition& GetStreamNameCondition() const { return m_streamNameCondition; }
68 inline bool StreamNameConditionHasBeenSet() const { return m_streamNameConditionHasBeenSet; }
69 template<typename StreamNameConditionT = StreamNameCondition>
70 void SetStreamNameCondition(StreamNameConditionT&& value) { m_streamNameConditionHasBeenSet = true; m_streamNameCondition = std::forward<StreamNameConditionT>(value); }
71 template<typename StreamNameConditionT = StreamNameCondition>
72 ListStreamsRequest& WithStreamNameCondition(StreamNameConditionT&& value) { SetStreamNameCondition(std::forward<StreamNameConditionT>(value)); return *this;}
74 private:
75
76 int m_maxResults{0};
77 bool m_maxResultsHasBeenSet = false;
78
79 Aws::String m_nextToken;
80 bool m_nextTokenHasBeenSet = false;
81
82 StreamNameCondition m_streamNameCondition;
83 bool m_streamNameConditionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace KinesisVideo
88} // 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