AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeStreamRequest.h
1
6#pragma once
7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/dynamodbstreams/DynamoDBStreamsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dynamodbstreams/model/ShardFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DynamoDBStreams
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_DYNAMODBSTREAMS_API DescribeStreamRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeStream"; }
36
37 AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override;
38
39 AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetStreamArn() const { return m_streamArn; }
47 inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
48 template<typename StreamArnT = Aws::String>
49 void SetStreamArn(StreamArnT&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::forward<StreamArnT>(value); }
50 template<typename StreamArnT = Aws::String>
51 DescribeStreamRequest& WithStreamArn(StreamArnT&& value) { SetStreamArn(std::forward<StreamArnT>(value)); return *this;}
53
55
58 inline int GetLimit() const { return m_limit; }
59 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
60 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
61 inline DescribeStreamRequest& WithLimit(int value) { SetLimit(value); return *this;}
63
65
70 inline const Aws::String& GetExclusiveStartShardId() const { return m_exclusiveStartShardId; }
71 inline bool ExclusiveStartShardIdHasBeenSet() const { return m_exclusiveStartShardIdHasBeenSet; }
72 template<typename ExclusiveStartShardIdT = Aws::String>
73 void SetExclusiveStartShardId(ExclusiveStartShardIdT&& value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId = std::forward<ExclusiveStartShardIdT>(value); }
74 template<typename ExclusiveStartShardIdT = Aws::String>
75 DescribeStreamRequest& WithExclusiveStartShardId(ExclusiveStartShardIdT&& value) { SetExclusiveStartShardId(std::forward<ExclusiveStartShardIdT>(value)); return *this;}
77
79
83 inline const ShardFilter& GetShardFilter() const { return m_shardFilter; }
84 inline bool ShardFilterHasBeenSet() const { return m_shardFilterHasBeenSet; }
85 template<typename ShardFilterT = ShardFilter>
86 void SetShardFilter(ShardFilterT&& value) { m_shardFilterHasBeenSet = true; m_shardFilter = std::forward<ShardFilterT>(value); }
87 template<typename ShardFilterT = ShardFilter>
88 DescribeStreamRequest& WithShardFilter(ShardFilterT&& value) { SetShardFilter(std::forward<ShardFilterT>(value)); return *this;}
90 private:
91
92 Aws::String m_streamArn;
93 bool m_streamArnHasBeenSet = false;
94
95 int m_limit{0};
96 bool m_limitHasBeenSet = false;
97
98 Aws::String m_exclusiveStartShardId;
99 bool m_exclusiveStartShardIdHasBeenSet = false;
100
101 ShardFilter m_shardFilter;
102 bool m_shardFilterHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace DynamoDBStreams
107} // namespace Aws
AWS_DYNAMODBSTREAMS_API DescribeStreamRequest()=default
DescribeStreamRequest & WithStreamArn(StreamArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override
void SetExclusiveStartShardId(ExclusiveStartShardIdT &&value)
DescribeStreamRequest & WithExclusiveStartShardId(ExclusiveStartShardIdT &&value)
AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeStreamRequest & WithShardFilter(ShardFilterT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String