AWS SDK for C++  1.9.129
AWS SDK for C++
GetClipRequest.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 "GetClip"; }
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 GetClipRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
71 
76  inline GetClipRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
77 
82  inline GetClipRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
83 
84 
89  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
90 
95  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
96 
101  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
102 
107  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
108 
113  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
114 
119  inline GetClipRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
120 
125  inline GetClipRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
126 
131  inline GetClipRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
132 
133 
137  inline const ClipFragmentSelector& GetClipFragmentSelector() const{ return m_clipFragmentSelector; }
138 
142  inline bool ClipFragmentSelectorHasBeenSet() const { return m_clipFragmentSelectorHasBeenSet; }
143 
147  inline void SetClipFragmentSelector(const ClipFragmentSelector& value) { m_clipFragmentSelectorHasBeenSet = true; m_clipFragmentSelector = value; }
148 
152  inline void SetClipFragmentSelector(ClipFragmentSelector&& value) { m_clipFragmentSelectorHasBeenSet = true; m_clipFragmentSelector = std::move(value); }
153 
157  inline GetClipRequest& WithClipFragmentSelector(const ClipFragmentSelector& value) { SetClipFragmentSelector(value); return *this;}
158 
162  inline GetClipRequest& WithClipFragmentSelector(ClipFragmentSelector&& value) { SetClipFragmentSelector(std::move(value)); return *this;}
163 
164  private:
165 
166  Aws::String m_streamName;
167  bool m_streamNameHasBeenSet;
168 
169  Aws::String m_streamARN;
170  bool m_streamARNHasBeenSet;
171 
172  ClipFragmentSelector m_clipFragmentSelector;
173  bool m_clipFragmentSelectorHasBeenSet;
174  };
175 
176 } // namespace Model
177 } // namespace KinesisVideoArchivedMedia
178 } // namespace Aws
KinesisVideoArchivedMediaRequest.h
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: GetClipRequest.h:46
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithStreamName
GetClipRequest & WithStreamName(Aws::String &&value)
Definition: GetClipRequest.h:76
AWS_KINESISVIDEOARCHIVEDMEDIA_API
#define AWS_KINESISVIDEOARCHIVEDMEDIA_API
Definition: KinesisVideoArchivedMedia_EXPORTS.h:28
ClipFragmentSelector.h
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: GetClipRequest.h:89
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: GetClipRequest.h:107
Aws::KinesisVideoArchivedMedia::Model::ClipFragmentSelector
Definition: ClipFragmentSelector.h:40
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: GetClipRequest.h:40
KinesisVideoArchivedMedia_EXPORTS.h
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithStreamARN
GetClipRequest & WithStreamARN(Aws::String &&value)
Definition: GetClipRequest.h:125
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetClipRequest.h:31
Aws::KinesisVideoArchivedMedia::KinesisVideoArchivedMediaRequest
Definition: KinesisVideoArchivedMediaRequest.h:17
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetClipFragmentSelector
void SetClipFragmentSelector(ClipFragmentSelector &&value)
Definition: GetClipRequest.h:152
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::GetClipFragmentSelector
const ClipFragmentSelector & GetClipFragmentSelector() const
Definition: GetClipRequest.h:137
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: GetClipRequest.h:95
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: GetClipRequest.h:58
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetStreamName
void SetStreamName(const char *value)
Definition: GetClipRequest.h:64
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::GetClipRequest
GetClipRequest()
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: GetClipRequest.h:52
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithClipFragmentSelector
GetClipRequest & WithClipFragmentSelector(ClipFragmentSelector &&value)
Definition: GetClipRequest.h:162
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithStreamName
GetClipRequest & WithStreamName(const char *value)
Definition: GetClipRequest.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: GetClipRequest.h:101
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: GetClipRequest.h:113
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithStreamARN
GetClipRequest & WithStreamARN(const char *value)
Definition: GetClipRequest.h:131
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithStreamName
GetClipRequest & WithStreamName(const Aws::String &value)
Definition: GetClipRequest.h:70
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest
Definition: GetClipRequest.h:23
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::SetClipFragmentSelector
void SetClipFragmentSelector(const ClipFragmentSelector &value)
Definition: GetClipRequest.h:147
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithStreamARN
GetClipRequest & WithStreamARN(const Aws::String &value)
Definition: GetClipRequest.h:119
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::ClipFragmentSelectorHasBeenSet
bool ClipFragmentSelectorHasBeenSet() const
Definition: GetClipRequest.h:142
Aws::KinesisVideoArchivedMedia::Model::GetClipRequest::WithClipFragmentSelector
GetClipRequest & WithClipFragmentSelector(const ClipFragmentSelector &value)
Definition: GetClipRequest.h:157