AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeStreamRequest.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Kinesis
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_KINESIS_API DescribeStreamRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeStream"; }
35
36 AWS_KINESIS_API Aws::String SerializePayload() const override;
37
39
43 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
44
46
49 inline const Aws::String& GetStreamName() const { return m_streamName; }
50 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
51 template<typename StreamNameT = Aws::String>
52 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
53 template<typename StreamNameT = Aws::String>
54 DescribeStreamRequest& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
56
58
63 inline int GetLimit() const { return m_limit; }
64 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
65 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
66 inline DescribeStreamRequest& WithLimit(int value) { SetLimit(value); return *this;}
68
70
77 inline const Aws::String& GetExclusiveStartShardId() const { return m_exclusiveStartShardId; }
78 inline bool ExclusiveStartShardIdHasBeenSet() const { return m_exclusiveStartShardIdHasBeenSet; }
79 template<typename ExclusiveStartShardIdT = Aws::String>
80 void SetExclusiveStartShardId(ExclusiveStartShardIdT&& value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId = std::forward<ExclusiveStartShardIdT>(value); }
81 template<typename ExclusiveStartShardIdT = Aws::String>
82 DescribeStreamRequest& WithExclusiveStartShardId(ExclusiveStartShardIdT&& value) { SetExclusiveStartShardId(std::forward<ExclusiveStartShardIdT>(value)); return *this;}
84
86
89 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
90 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
91 template<typename StreamARNT = Aws::String>
92 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
93 template<typename StreamARNT = Aws::String>
94 DescribeStreamRequest& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
96 private:
97
98 Aws::String m_streamName;
99 bool m_streamNameHasBeenSet = false;
100
101 int m_limit{0};
102 bool m_limitHasBeenSet = false;
103
104 Aws::String m_exclusiveStartShardId;
105 bool m_exclusiveStartShardIdHasBeenSet = false;
106
107 Aws::String m_streamARN;
108 bool m_streamARNHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Kinesis
113} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API Aws::String SerializePayload() const override
void SetExclusiveStartShardId(ExclusiveStartShardIdT &&value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
DescribeStreamRequest & WithStreamName(StreamNameT &&value)
virtual const char * GetServiceRequestName() const override
DescribeStreamRequest & WithStreamARN(StreamARNT &&value)
AWS_KINESIS_API DescribeStreamRequest()=default
DescribeStreamRequest & WithLimit(int value)
const Aws::String & GetExclusiveStartShardId() const
DescribeStreamRequest & WithExclusiveStartShardId(ExclusiveStartShardIdT &&value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String