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/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/dynamodbstreams/DynamoDBStreamsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DynamoDBStreams
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_DYNAMODBSTREAMS_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_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override;
37
38 AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
46 inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
47 inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; }
48 inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); }
49 inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); }
50 inline DescribeStreamRequest& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
51 inline DescribeStreamRequest& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
52 inline DescribeStreamRequest& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
54
56
59 inline int GetLimit() const{ return m_limit; }
60 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
61 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
62 inline DescribeStreamRequest& WithLimit(int value) { SetLimit(value); return *this;}
64
66
71 inline const Aws::String& GetExclusiveStartShardId() const{ return m_exclusiveStartShardId; }
72 inline bool ExclusiveStartShardIdHasBeenSet() const { return m_exclusiveStartShardIdHasBeenSet; }
73 inline void SetExclusiveStartShardId(const Aws::String& value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId = value; }
74 inline void SetExclusiveStartShardId(Aws::String&& value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId = std::move(value); }
75 inline void SetExclusiveStartShardId(const char* value) { m_exclusiveStartShardIdHasBeenSet = true; m_exclusiveStartShardId.assign(value); }
77 inline DescribeStreamRequest& WithExclusiveStartShardId(Aws::String&& value) { SetExclusiveStartShardId(std::move(value)); return *this;}
78 inline DescribeStreamRequest& WithExclusiveStartShardId(const char* value) { SetExclusiveStartShardId(value); return *this;}
80 private:
81
82 Aws::String m_streamArn;
83 bool m_streamArnHasBeenSet = false;
84
85 int m_limit;
86 bool m_limitHasBeenSet = false;
87
88 Aws::String m_exclusiveStartShardId;
89 bool m_exclusiveStartShardIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DynamoDBStreams
94} // namespace Aws
DescribeStreamRequest & WithStreamArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_DYNAMODBSTREAMS_API Aws::String SerializePayload() const override
DescribeStreamRequest & WithStreamArn(const Aws::String &value)
DescribeStreamRequest & WithExclusiveStartShardId(Aws::String &&value)
AWS_DYNAMODBSTREAMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeStreamRequest & WithExclusiveStartShardId(const Aws::String &value)
DescribeStreamRequest & WithStreamArn(const char *value)
DescribeStreamRequest & WithExclusiveStartShardId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String