AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListStreamSessionsRequest.h
1
6#pragma once
7#include <aws/gameliftstreams/GameLiftStreams_EXPORTS.h>
8#include <aws/gameliftstreams/GameLiftStreamsRequest.h>
9#include <aws/gameliftstreams/model/ExportFilesStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/gameliftstreams/model/StreamSessionStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace GameLiftStreams
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_GAMELIFTSTREAMS_API ListStreamSessionsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListStreamSessions"; }
37
38 AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override;
39
40 AWS_GAMELIFTSTREAMS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
54 inline ExportFilesStatus GetExportFilesStatus() const { return m_exportFilesStatus; }
55 inline bool ExportFilesStatusHasBeenSet() const { return m_exportFilesStatusHasBeenSet; }
56 inline void SetExportFilesStatus(ExportFilesStatus value) { m_exportFilesStatusHasBeenSet = true; m_exportFilesStatus = value; }
59
61
67 inline const Aws::String& GetIdentifier() const { return m_identifier; }
68 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
69 template<typename IdentifierT = Aws::String>
70 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
71 template<typename IdentifierT = Aws::String>
72 ListStreamSessionsRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
74
76
81 inline int GetMaxResults() const { return m_maxResults; }
82 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
83 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
84 inline ListStreamSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
86
88
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template<typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
98 template<typename NextTokenT = Aws::String>
99 ListStreamSessionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
101
103
107 inline StreamSessionStatus GetStatus() const { return m_status; }
108 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
109 inline void SetStatus(StreamSessionStatus value) { m_statusHasBeenSet = true; m_status = value; }
112 private:
113
115 bool m_exportFilesStatusHasBeenSet = false;
116
117 Aws::String m_identifier;
118 bool m_identifierHasBeenSet = false;
119
120 int m_maxResults{0};
121 bool m_maxResultsHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
127 bool m_statusHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace GameLiftStreams
132} // namespace Aws
ListStreamSessionsRequest & WithStatus(StreamSessionStatus value)
ListStreamSessionsRequest & WithIdentifier(IdentifierT &&value)
AWS_GAMELIFTSTREAMS_API Aws::String SerializePayload() const override
ListStreamSessionsRequest & WithNextToken(NextTokenT &&value)
ListStreamSessionsRequest & WithExportFilesStatus(ExportFilesStatus value)
AWS_GAMELIFTSTREAMS_API ListStreamSessionsRequest()=default
AWS_GAMELIFTSTREAMS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String