AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeStreamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace KinesisVideo
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetStreamName() const{ return m_streamName; }
39 
43  inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
44 
48  inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
49 
53  inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
54 
58  inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
59 
63  inline DescribeStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
64 
68  inline DescribeStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
69 
73  inline DescribeStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
74 
75 
79  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
80 
84  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
85 
89  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
90 
94  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
95 
99  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
100 
104  inline DescribeStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
105 
109  inline DescribeStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
110 
114  inline DescribeStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
115 
116  private:
117 
118  Aws::String m_streamName;
119  bool m_streamNameHasBeenSet;
120 
121  Aws::String m_streamARN;
122  bool m_streamARNHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace KinesisVideo
127 } // namespace Aws
Aws::KinesisVideo::Model::DescribeStreamRequest::SetStreamName
void SetStreamName(Aws::String &&value)
Definition: DescribeStreamRequest.h:53
Aws::KinesisVideo::Model::DescribeStreamRequest::DescribeStreamRequest
DescribeStreamRequest()
Aws::KinesisVideo::Model::DescribeStreamRequest::WithStreamARN
DescribeStreamRequest & WithStreamARN(const char *value)
Definition: DescribeStreamRequest.h:114
Aws::KinesisVideo::Model::DescribeStreamRequest::SetStreamName
void SetStreamName(const Aws::String &value)
Definition: DescribeStreamRequest.h:48
Aws::KinesisVideo::Model::DescribeStreamRequest::GetStreamName
const Aws::String & GetStreamName() const
Definition: DescribeStreamRequest.h:38
KinesisVideo_EXPORTS.h
Aws::KinesisVideo::Model::DescribeStreamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStreamRequest.h:30
Aws::KinesisVideo::Model::DescribeStreamRequest::SetStreamName
void SetStreamName(const char *value)
Definition: DescribeStreamRequest.h:58
Aws::KinesisVideo::Model::DescribeStreamRequest::WithStreamName
DescribeStreamRequest & WithStreamName(const char *value)
Definition: DescribeStreamRequest.h:73
Aws::KinesisVideo::Model::DescribeStreamRequest::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: DescribeStreamRequest.h:89
Aws::KinesisVideo::Model::DescribeStreamRequest
Definition: DescribeStreamRequest.h:22
Aws::KinesisVideo::Model::DescribeStreamRequest::WithStreamARN
DescribeStreamRequest & WithStreamARN(Aws::String &&value)
Definition: DescribeStreamRequest.h:109
Aws::KinesisVideo::Model::DescribeStreamRequest::WithStreamName
DescribeStreamRequest & WithStreamName(Aws::String &&value)
Definition: DescribeStreamRequest.h:68
Aws::KinesisVideo::Model::DescribeStreamRequest::WithStreamARN
DescribeStreamRequest & WithStreamARN(const Aws::String &value)
Definition: DescribeStreamRequest.h:104
Aws::KinesisVideo::Model::DescribeStreamRequest::SetStreamARN
void SetStreamARN(const char *value)
Definition: DescribeStreamRequest.h:99
Aws::KinesisVideo::KinesisVideoRequest
Definition: KinesisVideoRequest.h:17
KinesisVideoRequest.h
AWSString.h
Aws::KinesisVideo::Model::DescribeStreamRequest::StreamNameHasBeenSet
bool StreamNameHasBeenSet() const
Definition: DescribeStreamRequest.h:43
Aws::KinesisVideo::Model::DescribeStreamRequest::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: DescribeStreamRequest.h:79
Aws::KinesisVideo::Model::DescribeStreamRequest::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: DescribeStreamRequest.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisVideo::Model::DescribeStreamRequest::WithStreamName
DescribeStreamRequest & WithStreamName(const Aws::String &value)
Definition: DescribeStreamRequest.h:63
Aws::KinesisVideo::Model::DescribeStreamRequest::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: DescribeStreamRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_KINESISVIDEO_API
#define AWS_KINESISVIDEO_API
Definition: KinesisVideo_EXPORTS.h:28
Aws::KinesisVideo::Model::DescribeStreamRequest::SerializePayload
Aws::String SerializePayload() const override