AWS SDK for C++  1.9.129
AWS SDK for C++
GetMediaForFragmentListRequest.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 "GetMediaForFragmentList"; }
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 GetMediaForFragmentListRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
71 
76  inline GetMediaForFragmentListRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
77 
82  inline GetMediaForFragmentListRequest& 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 GetMediaForFragmentListRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
126 
132  inline GetMediaForFragmentListRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
133 
139  inline GetMediaForFragmentListRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
140 
141 
146  inline const Aws::Vector<Aws::String>& GetFragments() const{ return m_fragments; }
147 
152  inline bool FragmentsHasBeenSet() const { return m_fragmentsHasBeenSet; }
153 
158  inline void SetFragments(const Aws::Vector<Aws::String>& value) { m_fragmentsHasBeenSet = true; m_fragments = value; }
159 
164  inline void SetFragments(Aws::Vector<Aws::String>&& value) { m_fragmentsHasBeenSet = true; m_fragments = std::move(value); }
165 
170  inline GetMediaForFragmentListRequest& WithFragments(const Aws::Vector<Aws::String>& value) { SetFragments(value); return *this;}
171 
176  inline GetMediaForFragmentListRequest& WithFragments(Aws::Vector<Aws::String>&& value) { SetFragments(std::move(value)); return *this;}
177 
182  inline GetMediaForFragmentListRequest& AddFragments(const Aws::String& value) { m_fragmentsHasBeenSet = true; m_fragments.push_back(value); return *this; }
183 
188  inline GetMediaForFragmentListRequest& AddFragments(Aws::String&& value) { m_fragmentsHasBeenSet = true; m_fragments.push_back(std::move(value)); return *this; }
189 
194  inline GetMediaForFragmentListRequest& AddFragments(const char* value) { m_fragmentsHasBeenSet = true; m_fragments.push_back(value); return *this; }
195 
196  private:
197 
198  Aws::String m_streamName;
199  bool m_streamNameHasBeenSet;
200 
201  Aws::String m_streamARN;
202  bool m_streamARNHasBeenSet;
203 
204  Aws::Vector<Aws::String> m_fragments;
205  bool m_fragmentsHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace KinesisVideoArchivedMedia
210 } // namespace Aws
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetMediaForFragmentListRequest.h:31
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: GetMediaForFragmentListRequest.h:40
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::AddFragments
GetMediaForFragmentListRequest & AddFragments(Aws::String &&value)
Definition: GetMediaForFragmentListRequest.h:188
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithStreamARN
GetMediaForFragmentListRequest & WithStreamARN(Aws::String &&value)
Definition: GetMediaForFragmentListRequest.h:132
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithStreamARN
GetMediaForFragmentListRequest & WithStreamARN(const char *value)
Definition: GetMediaForFragmentListRequest.h:139
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::AddFragments
GetMediaForFragmentListRequest & AddFragments(const Aws::String &value)
Definition: GetMediaForFragmentListRequest.h:182
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: GetMediaForFragmentListRequest.h:52
KinesisVideoArchivedMediaRequest.h
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: GetMediaForFragmentListRequest.h:90
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithStreamName
GetMediaForFragmentListRequest & WithStreamName(Aws::String &&value)
Definition: GetMediaForFragmentListRequest.h:76
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: GetMediaForFragmentListRequest.h:104
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::AddFragments
GetMediaForFragmentListRequest & AddFragments(const char *value)
Definition: GetMediaForFragmentListRequest.h:194
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::GetMediaForFragmentListRequest
GetMediaForFragmentListRequest()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithFragments
GetMediaForFragmentListRequest & WithFragments(const Aws::Vector< Aws::String > &value)
Definition: GetMediaForFragmentListRequest.h:170
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: GetMediaForFragmentListRequest.h:118
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SerializePayload
Aws::String SerializePayload() const override
AWSVector.h
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetFragments
void SetFragments(Aws::Vector< Aws::String > &&value)
Definition: GetMediaForFragmentListRequest.h:164
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaRequest
Definition: KinesisVideoArchivedMediaRequest.h:17
AWSString.h
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithStreamName
GetMediaForFragmentListRequest & WithStreamName(const char *value)
Definition: GetMediaForFragmentListRequest.h:82
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: GetMediaForFragmentListRequest.h:97
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: GetMediaForFragmentListRequest.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: GetMediaForFragmentListRequest.h:58
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithFragments
GetMediaForFragmentListRequest & WithFragments(Aws::Vector< Aws::String > &&value)
Definition: GetMediaForFragmentListRequest.h:176
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: GetMediaForFragmentListRequest.h:111
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithStreamARN
GetMediaForFragmentListRequest & WithStreamARN(const Aws::String &value)
Definition: GetMediaForFragmentListRequest.h:125
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::GetFragments
const Aws::Vector< Aws::String > & GetFragments() const
Definition: GetMediaForFragmentListRequest.h:146
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::WithStreamName
GetMediaForFragmentListRequest & WithStreamName(const Aws::String &value)
Definition: GetMediaForFragmentListRequest.h:70
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetStreamName
void SetStreamName(const char *value)
Definition: GetMediaForFragmentListRequest.h:64
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::SetFragments
void SetFragments(const Aws::Vector< Aws::String > &value)
Definition: GetMediaForFragmentListRequest.h:158
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest
Definition: GetMediaForFragmentListRequest.h:23
Aws::KinesisVideoArchivedMedia::Model::GetMediaForFragmentListRequest::FragmentsHasBeenSet
bool FragmentsHasBeenSet() const
Definition: GetMediaForFragmentListRequest.h:152