AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStreamRequest.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 <utility>
11
12namespace Aws
13{
14namespace KinesisVideo
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_KINESISVIDEO_API DescribeStreamRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeStream"; }
31
32 AWS_KINESISVIDEO_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetStreamName() const{ return m_streamName; }
40 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
41 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
42 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
43 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
44 inline DescribeStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
45 inline DescribeStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
46 inline DescribeStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
48
50
53 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
54 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
55 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
56 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
57 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
58 inline DescribeStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
59 inline DescribeStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
60 inline DescribeStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
62 private:
63
64 Aws::String m_streamName;
65 bool m_streamNameHasBeenSet = false;
66
67 Aws::String m_streamARN;
68 bool m_streamARNHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace KinesisVideo
73} // namespace Aws
DescribeStreamRequest & WithStreamName(const char *value)
DescribeStreamRequest & WithStreamARN(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeStreamRequest & WithStreamARN(const char *value)
DescribeStreamRequest & WithStreamName(Aws::String &&value)
AWS_KINESISVIDEO_API Aws::String SerializePayload() const override
DescribeStreamRequest & WithStreamName(const Aws::String &value)
DescribeStreamRequest & WithStreamARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String