AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
59 inline ListStreamsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline ListStreamsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline ListStreamsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
69 inline const StreamNameCondition& GetStreamNameCondition() const{ return m_streamNameCondition; }
70 inline bool StreamNameConditionHasBeenSet() const { return m_streamNameConditionHasBeenSet; }
71 inline void SetStreamNameCondition(const StreamNameCondition& value) { m_streamNameConditionHasBeenSet = true; m_streamNameCondition = value; }
72 inline void SetStreamNameCondition(StreamNameCondition&& value) { m_streamNameConditionHasBeenSet = true; m_streamNameCondition = std::move(value); }
74 inline ListStreamsRequest& WithStreamNameCondition(StreamNameCondition&& value) { SetStreamNameCondition(std::move(value)); return *this;}
76 private:
77
78 int m_maxResults;
79 bool m_maxResultsHasBeenSet = false;
80
81 Aws::String m_nextToken;
82 bool m_nextTokenHasBeenSet = false;
83
84 StreamNameCondition m_streamNameCondition;
85 bool m_streamNameConditionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace KinesisVideo
90} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListStreamsRequest & WithStreamNameCondition(const StreamNameCondition &value)
ListStreamsRequest & WithStreamNameCondition(StreamNameCondition &&value)
void SetNextToken(const Aws::String &value)
const StreamNameCondition & GetStreamNameCondition() const
ListStreamsRequest & WithNextToken(const char *value)
void SetStreamNameCondition(StreamNameCondition &&value)
void SetStreamNameCondition(const StreamNameCondition &value)
ListStreamsRequest & WithNextToken(const Aws::String &value)
ListStreamsRequest & WithNextToken(Aws::String &&value)
ListStreamsRequest & WithMaxResults(int value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String