AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetDataEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
10#include <aws/kinesisvideo/model/APIName.h>
11
12#include <utility>
13
14namespace Aws {
15namespace KinesisVideo {
16namespace Model {
17
21 public:
22 AWS_KINESISVIDEO_API GetDataEndpointRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetDataEndpoint"; }
29
30 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetStreamName() const { return m_streamName; }
38 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
39 template <typename StreamNameT = Aws::String>
40 void SetStreamName(StreamNameT&& value) {
41 m_streamNameHasBeenSet = true;
42 m_streamName = std::forward<StreamNameT>(value);
43 }
44 template <typename StreamNameT = Aws::String>
45 GetDataEndpointRequest& WithStreamName(StreamNameT&& value) {
46 SetStreamName(std::forward<StreamNameT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
58 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
59 template <typename StreamARNT = Aws::String>
60 void SetStreamARN(StreamARNT&& value) {
61 m_streamARNHasBeenSet = true;
62 m_streamARN = std::forward<StreamARNT>(value);
63 }
64 template <typename StreamARNT = Aws::String>
66 SetStreamARN(std::forward<StreamARNT>(value));
67 return *this;
68 }
70
72
75 inline APIName GetAPIName() const { return m_aPIName; }
76 inline bool APINameHasBeenSet() const { return m_aPINameHasBeenSet; }
77 inline void SetAPIName(APIName value) {
78 m_aPINameHasBeenSet = true;
79 m_aPIName = value;
80 }
82 SetAPIName(value);
83 return *this;
84 }
86 private:
87 Aws::String m_streamName;
88
89 Aws::String m_streamARN;
90
91 APIName m_aPIName{APIName::NOT_SET};
92 bool m_streamNameHasBeenSet = false;
93 bool m_streamARNHasBeenSet = false;
94 bool m_aPINameHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace KinesisVideo
99} // namespace Aws
GetDataEndpointRequest & WithStreamName(StreamNameT &&value)
virtual const char * GetServiceRequestName() const override
GetDataEndpointRequest & WithStreamARN(StreamARNT &&value)
GetDataEndpointRequest & WithAPIName(APIName value)
AWS_KINESISVIDEO_API GetDataEndpointRequest()=default
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String