AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 GetDataEndpointRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
47 inline GetDataEndpointRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
48 inline GetDataEndpointRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
50
52
57 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
58 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
59 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
60 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
61 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
62 inline GetDataEndpointRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
63 inline GetDataEndpointRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
64 inline GetDataEndpointRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
66
68
71 inline const APIName& GetAPIName() const{ return m_aPIName; }
72 inline bool APINameHasBeenSet() const { return m_aPINameHasBeenSet; }
73 inline void SetAPIName(const APIName& value) { m_aPINameHasBeenSet = true; m_aPIName = value; }
74 inline void SetAPIName(APIName&& value) { m_aPINameHasBeenSet = true; m_aPIName = std::move(value); }
75 inline GetDataEndpointRequest& WithAPIName(const APIName& value) { SetAPIName(value); return *this;}
76 inline GetDataEndpointRequest& WithAPIName(APIName&& value) { SetAPIName(std::move(value)); return *this;}
78 private:
79
80 Aws::String m_streamName;
81 bool m_streamNameHasBeenSet = false;
82
83 Aws::String m_streamARN;
84 bool m_streamARNHasBeenSet = false;
85
86 APIName m_aPIName;
87 bool m_aPINameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace KinesisVideo
92} // namespace Aws
GetDataEndpointRequest & WithStreamName(Aws::String &&value)
GetDataEndpointRequest & WithAPIName(APIName &&value)
virtual const char * GetServiceRequestName() const override
GetDataEndpointRequest & WithStreamARN(const Aws::String &value)
GetDataEndpointRequest & WithStreamARN(const char *value)
GetDataEndpointRequest & WithStreamName(const Aws::String &value)
GetDataEndpointRequest & WithStreamName(const char *value)
GetDataEndpointRequest & WithStreamARN(Aws::String &&value)
GetDataEndpointRequest & WithAPIName(const APIName &value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String