AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListFragmentsRequest.h
1
6#pragma once
7#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMedia_EXPORTS.h>
8#include <aws/kinesis-video-archived-media/KinesisVideoArchivedMediaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis-video-archived-media/model/FragmentSelector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideoArchivedMedia
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEOARCHIVEDMEDIA_API ListFragmentsRequest();
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_KINESISVIDEOARCHIVEDMEDIA_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetStreamName() const{ return m_streamName; }
42 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
43 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
44 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
45 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
46 inline ListFragmentsRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
47 inline ListFragmentsRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
48 inline ListFragmentsRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
50
52
57 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
58 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
59 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
60 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
61 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
62 inline ListFragmentsRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
63 inline ListFragmentsRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
64 inline ListFragmentsRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
66
68
74 inline long long GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(long long value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListFragmentsRequest& WithMaxResults(long long value) { SetMaxResults(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline ListFragmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline ListFragmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline ListFragmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94
96
101 inline const FragmentSelector& GetFragmentSelector() const{ return m_fragmentSelector; }
102 inline bool FragmentSelectorHasBeenSet() const { return m_fragmentSelectorHasBeenSet; }
103 inline void SetFragmentSelector(const FragmentSelector& value) { m_fragmentSelectorHasBeenSet = true; m_fragmentSelector = value; }
104 inline void SetFragmentSelector(FragmentSelector&& value) { m_fragmentSelectorHasBeenSet = true; m_fragmentSelector = std::move(value); }
106 inline ListFragmentsRequest& WithFragmentSelector(FragmentSelector&& value) { SetFragmentSelector(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_streamName;
111 bool m_streamNameHasBeenSet = false;
112
113 Aws::String m_streamARN;
114 bool m_streamARNHasBeenSet = false;
115
116 long long m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_nextToken;
120 bool m_nextTokenHasBeenSet = false;
121
122 FragmentSelector m_fragmentSelector;
123 bool m_fragmentSelectorHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace KinesisVideoArchivedMedia
128} // namespace Aws
ListFragmentsRequest & WithFragmentSelector(const FragmentSelector &value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API ListFragmentsRequest()
ListFragmentsRequest & WithStreamName(const Aws::String &value)
ListFragmentsRequest & WithNextToken(Aws::String &&value)
ListFragmentsRequest & WithStreamName(Aws::String &&value)
ListFragmentsRequest & WithFragmentSelector(FragmentSelector &&value)
ListFragmentsRequest & WithNextToken(const char *value)
ListFragmentsRequest & WithStreamARN(const Aws::String &value)
ListFragmentsRequest & WithStreamName(const char *value)
ListFragmentsRequest & WithNextToken(const Aws::String &value)
ListFragmentsRequest & WithStreamARN(Aws::String &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::String SerializePayload() const override
ListFragmentsRequest & WithStreamARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String