AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMediaRequest.h
1
6#pragma once
7#include <aws/kinesis-video-media/KinesisVideoMedia_EXPORTS.h>
8#include <aws/kinesis-video-media/KinesisVideoMediaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis-video-media/model/StartSelector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideoMedia
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEOMEDIA_API GetMediaRequest();
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 "GetMedia"; }
32
33 AWS_KINESISVIDEOMEDIA_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetStreamName() const{ return m_streamName; }
43 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
44 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
45 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
46 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
47 inline GetMediaRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
48 inline GetMediaRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
49 inline GetMediaRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
51
53
58 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
59 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
60 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
61 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
62 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
63 inline GetMediaRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
64 inline GetMediaRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
65 inline GetMediaRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
67
69
72 inline const StartSelector& GetStartSelector() const{ return m_startSelector; }
73 inline bool StartSelectorHasBeenSet() const { return m_startSelectorHasBeenSet; }
74 inline void SetStartSelector(const StartSelector& value) { m_startSelectorHasBeenSet = true; m_startSelector = value; }
75 inline void SetStartSelector(StartSelector&& value) { m_startSelectorHasBeenSet = true; m_startSelector = std::move(value); }
76 inline GetMediaRequest& WithStartSelector(const StartSelector& value) { SetStartSelector(value); return *this;}
77 inline GetMediaRequest& WithStartSelector(StartSelector&& value) { SetStartSelector(std::move(value)); return *this;}
79 private:
80
81 Aws::String m_streamName;
82 bool m_streamNameHasBeenSet = false;
83
84 Aws::String m_streamARN;
85 bool m_streamARNHasBeenSet = false;
86
87 StartSelector m_startSelector;
88 bool m_startSelectorHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KinesisVideoMedia
93} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetMediaRequest & WithStreamName(Aws::String &&value)
GetMediaRequest & WithStreamName(const char *value)
AWS_KINESISVIDEOMEDIA_API Aws::String SerializePayload() const override
void SetStreamARN(const Aws::String &value)
AWS_KINESISVIDEOMEDIA_API GetMediaRequest()
GetMediaRequest & WithStreamName(const Aws::String &value)
const StartSelector & GetStartSelector() const
GetMediaRequest & WithStreamARN(Aws::String &&value)
void SetStartSelector(const StartSelector &value)
void SetStreamName(const Aws::String &value)
GetMediaRequest & WithStartSelector(StartSelector &&value)
GetMediaRequest & WithStreamARN(const char *value)
GetMediaRequest & WithStartSelector(const StartSelector &value)
GetMediaRequest & WithStreamARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String