AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDataEndpointRequest.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/KinesisVideoRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisvideo/model/APIName.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisVideo
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISVIDEO_API GetDataEndpointRequest() = default;
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 "GetDataEndpoint"; }
32
33 AWS_KINESISVIDEO_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 template<typename StreamNameT = Aws::String>
44 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
45 template<typename StreamNameT = Aws::String>
46 GetDataEndpointRequest& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
48
50
55 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
56 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
57 template<typename StreamARNT = Aws::String>
58 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
59 template<typename StreamARNT = Aws::String>
60 GetDataEndpointRequest& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
62
64
67 inline APIName GetAPIName() const { return m_aPIName; }
68 inline bool APINameHasBeenSet() const { return m_aPINameHasBeenSet; }
69 inline void SetAPIName(APIName value) { m_aPINameHasBeenSet = true; m_aPIName = value; }
70 inline GetDataEndpointRequest& WithAPIName(APIName value) { SetAPIName(value); return *this;}
72 private:
73
74 Aws::String m_streamName;
75 bool m_streamNameHasBeenSet = false;
76
77 Aws::String m_streamARN;
78 bool m_streamARNHasBeenSet = false;
79
80 APIName m_aPIName{APIName::NOT_SET};
81 bool m_aPINameHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace KinesisVideo
86} // 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