AWS SDK for C++  1.9.155
AWS SDK for C++
ListFragmentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace KinesisVideoArchivedMedia
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "ListFragments"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetStreamName() const{ return m_streamName; }
41 
46  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
47 
52  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
53 
58  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
59 
64  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
65 
70  inline ListFragmentsRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
71 
76  inline ListFragmentsRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
77 
82  inline ListFragmentsRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
83 
84 
90  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
91 
97  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
98 
104  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
105 
111  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
112 
118  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
119 
125  inline ListFragmentsRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
126 
132  inline ListFragmentsRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
133 
139  inline ListFragmentsRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
140 
141 
148  inline long long GetMaxResults() const{ return m_maxResults; }
149 
156  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
157 
164  inline void SetMaxResults(long long value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
165 
172  inline ListFragmentsRequest& WithMaxResults(long long value) { SetMaxResults(value); return *this;}
173 
174 
179  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
180 
185  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
186 
191  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
192 
197  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
198 
203  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
204 
209  inline ListFragmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
210 
215  inline ListFragmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
216 
221  inline ListFragmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
222 
223 
228  inline const FragmentSelector& GetFragmentSelector() const{ return m_fragmentSelector; }
229 
234  inline bool FragmentSelectorHasBeenSet() const { return m_fragmentSelectorHasBeenSet; }
235 
240  inline void SetFragmentSelector(const FragmentSelector& value) { m_fragmentSelectorHasBeenSet = true; m_fragmentSelector = value; }
241 
246  inline void SetFragmentSelector(FragmentSelector&& value) { m_fragmentSelectorHasBeenSet = true; m_fragmentSelector = std::move(value); }
247 
252  inline ListFragmentsRequest& WithFragmentSelector(const FragmentSelector& value) { SetFragmentSelector(value); return *this;}
253 
258  inline ListFragmentsRequest& WithFragmentSelector(FragmentSelector&& value) { SetFragmentSelector(std::move(value)); return *this;}
259 
260  private:
261 
262  Aws::String m_streamName;
263  bool m_streamNameHasBeenSet;
264 
265  Aws::String m_streamARN;
266  bool m_streamARNHasBeenSet;
267 
268  long long m_maxResults;
269  bool m_maxResultsHasBeenSet;
270 
271  Aws::String m_nextToken;
272  bool m_nextTokenHasBeenSet;
273 
274  FragmentSelector m_fragmentSelector;
275  bool m_fragmentSelectorHasBeenSet;
276  };
277 
278 } // namespace Model
279 } // namespace KinesisVideoArchivedMedia
280 } // namespace Aws
FragmentSelector.h
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest
Definition: ListFragmentsRequest.h:23
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: ListFragmentsRequest.h:118
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: ListFragmentsRequest.h:104
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: ListFragmentsRequest.h:52
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::ListFragmentsRequest
ListFragmentsRequest()
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: ListFragmentsRequest.h:97
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithNextToken
ListFragmentsRequest & WithNextToken(Aws::String &&value)
Definition: ListFragmentsRequest.h:215
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithMaxResults
ListFragmentsRequest & WithMaxResults(long long value)
Definition: ListFragmentsRequest.h:172
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetStreamName
void SetStreamName(const char *value)
Definition: ListFragmentsRequest.h:64
KinesisVideoArchivedMediaRequest.h
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: ListFragmentsRequest.h:111
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithStreamARN
ListFragmentsRequest & WithStreamARN(const Aws::String &value)
Definition: ListFragmentsRequest.h:125
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithStreamARN
ListFragmentsRequest & WithStreamARN(Aws::String &&value)
Definition: ListFragmentsRequest.h:132
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithNextToken
ListFragmentsRequest & WithNextToken(const char *value)
Definition: ListFragmentsRequest.h:221
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: ListFragmentsRequest.h:40
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithFragmentSelector
ListFragmentsRequest & WithFragmentSelector(const FragmentSelector &value)
Definition: ListFragmentsRequest.h:252
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaRequest
Definition: KinesisVideoArchivedMediaRequest.h:17
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListFragmentsRequest.h:197
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: ListFragmentsRequest.h:58
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListFragmentsRequest.h:31
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::FragmentSelectorHasBeenSet
bool FragmentSelectorHasBeenSet() const
Definition: ListFragmentsRequest.h:234
Aws::KinesisVideoArchivedMedia::Model::FragmentSelector
Definition: FragmentSelector.h:41
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListFragmentsRequest.h:203
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetMaxResults
void SetMaxResults(long long value)
Definition: ListFragmentsRequest.h:164
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetFragmentSelector
void SetFragmentSelector(FragmentSelector &&value)
Definition: ListFragmentsRequest.h:246
AWSString.h
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithFragmentSelector
ListFragmentsRequest & WithFragmentSelector(FragmentSelector &&value)
Definition: ListFragmentsRequest.h:258
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListFragmentsRequest.h:179
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::GetFragmentSelector
const FragmentSelector & GetFragmentSelector() const
Definition: ListFragmentsRequest.h:228
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: ListFragmentsRequest.h:90
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListFragmentsRequest.h:191
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithStreamARN
ListFragmentsRequest & WithStreamARN(const char *value)
Definition: ListFragmentsRequest.h:139
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::GetMaxResults
long long GetMaxResults() const
Definition: ListFragmentsRequest.h:148
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithNextToken
ListFragmentsRequest & WithNextToken(const Aws::String &value)
Definition: ListFragmentsRequest.h:209
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListFragmentsRequest.h:156
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithStreamName
ListFragmentsRequest & WithStreamName(const char *value)
Definition: ListFragmentsRequest.h:82
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::SetFragmentSelector
void SetFragmentSelector(const FragmentSelector &value)
Definition: ListFragmentsRequest.h:240
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithStreamName
ListFragmentsRequest & WithStreamName(Aws::String &&value)
Definition: ListFragmentsRequest.h:76
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: ListFragmentsRequest.h:46
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListFragmentsRequest.h:185
Aws::KinesisVideoArchivedMedia::Model::ListFragmentsRequest::WithStreamName
ListFragmentsRequest & WithStreamName(const Aws::String &value)
Definition: ListFragmentsRequest.h:70