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/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();
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 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
52 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
53 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
54 inline DescribeStreamRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
55 inline DescribeStreamRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
56 inline DescribeStreamRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
58
60
65 inline int GetLimit() const{ return m_limit; }
66 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
67 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
68 inline DescribeStreamRequest& WithLimit(int value) { SetLimit(value); return *this;}
70
72
79 inline const Aws::String& GetExclusiveStartShardId() const{ return m_exclusiveStartShardId; }
80 inline bool ExclusiveStartShardIdHasBeenSet() const { return m_exclusiveStartShardIdHasBeenSet; }
81 inline void SetExclusiveStartShardId(const Aws::String& value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId = value; }
82 inline void SetExclusiveStartShardId(Aws::String&& value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId = std::move(value); }
83 inline void SetExclusiveStartShardId(const char* value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId.assign(value); }
85 inline DescribeStreamRequest& WithExclusiveStartShardId(Aws::String&& value) { SetExclusiveStartShardId(std::move(value)); return *this;}
86 inline DescribeStreamRequest& WithExclusiveStartShardId(const char* value) { SetExclusiveStartShardId(value); return *this;}
88
90
93 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
94 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
95 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
96 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
97 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
98 inline DescribeStreamRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
99 inline DescribeStreamRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
100 inline DescribeStreamRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
102 private:
103
104 Aws::String m_streamName;
105 bool m_streamNameHasBeenSet = false;
106
107 int m_limit;
108 bool m_limitHasBeenSet = false;
109
110 Aws::String m_exclusiveStartShardId;
111 bool m_exclusiveStartShardIdHasBeenSet = false;
112
113 Aws::String m_streamARN;
114 bool m_streamARNHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace Kinesis
119} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API Aws::String SerializePayload() const override
void SetExclusiveStartShardId(const Aws::String &value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
DescribeStreamRequest & WithExclusiveStartShardId(const char *value)
DescribeStreamRequest & WithExclusiveStartShardId(Aws::String &&value)
DescribeStreamRequest & WithExclusiveStartShardId(const Aws::String &value)
DescribeStreamRequest & WithStreamARN(Aws::String &&value)
DescribeStreamRequest & WithStreamName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeStreamRequest & WithStreamName(Aws::String &&value)
DescribeStreamRequest & WithLimit(int value)
DescribeStreamRequest & WithStreamARN(const Aws::String &value)
const Aws::String & GetExclusiveStartShardId() const
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeStreamRequest & WithStreamName(const char *value)
DescribeStreamRequest & WithStreamARN(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String