AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetClipRequest.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/ClipFragmentSelector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideoArchivedMedia
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEOARCHIVEDMEDIA_API GetClipRequest();
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_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 GetClipRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
47 inline GetClipRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
48 inline GetClipRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
50
52
56 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
57 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
58 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
59 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
60 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
61 inline GetClipRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
62 inline GetClipRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
63 inline GetClipRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
65
67
70 inline const ClipFragmentSelector& GetClipFragmentSelector() const{ return m_clipFragmentSelector; }
71 inline bool ClipFragmentSelectorHasBeenSet() const { return m_clipFragmentSelectorHasBeenSet; }
72 inline void SetClipFragmentSelector(const ClipFragmentSelector& value) { m_clipFragmentSelectorHasBeenSet = true; m_clipFragmentSelector = value; }
73 inline void SetClipFragmentSelector(ClipFragmentSelector&& value) { m_clipFragmentSelectorHasBeenSet = true; m_clipFragmentSelector = std::move(value); }
75 inline GetClipRequest& WithClipFragmentSelector(ClipFragmentSelector&& value) { SetClipFragmentSelector(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_streamName;
80 bool m_streamNameHasBeenSet = false;
81
82 Aws::String m_streamARN;
83 bool m_streamARNHasBeenSet = false;
84
85 ClipFragmentSelector m_clipFragmentSelector;
86 bool m_clipFragmentSelectorHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace KinesisVideoArchivedMedia
91} // namespace Aws
void SetClipFragmentSelector(const ClipFragmentSelector &value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API GetClipRequest()
GetClipRequest & WithStreamARN(Aws::String &&value)
GetClipRequest & WithStreamName(const char *value)
virtual const char * GetServiceRequestName() const override
GetClipRequest & WithClipFragmentSelector(ClipFragmentSelector &&value)
void SetClipFragmentSelector(ClipFragmentSelector &&value)
const ClipFragmentSelector & GetClipFragmentSelector() const
GetClipRequest & WithClipFragmentSelector(const ClipFragmentSelector &value)
GetClipRequest & WithStreamARN(const char *value)
GetClipRequest & WithStreamARN(const Aws::String &value)
GetClipRequest & WithStreamName(Aws::String &&value)
AWS_KINESISVIDEOARCHIVEDMEDIA_API Aws::String SerializePayload() const override
GetClipRequest & WithStreamName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String