AWS SDK for C++  1.9.68
AWS SDK for C++
GetShardIteratorRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DynamoDBStreams
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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 "GetShardIterator"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
45  inline const Aws::String& GetStreamArn() const{ return m_streamArn; }
46 
50  inline bool StreamArnHasBeenSet() const { return m_streamArnHasBeenSet; }
51 
55  inline void SetStreamArn(const Aws::String& value) { m_streamArnHasBeenSet = true; m_streamArn = value; }
56 
60  inline void SetStreamArn(Aws::String&& value) { m_streamArnHasBeenSet = true; m_streamArn = std::move(value); }
61 
65  inline void SetStreamArn(const char* value) { m_streamArnHasBeenSet = true; m_streamArn.assign(value); }
66 
70  inline GetShardIteratorRequest& WithStreamArn(const Aws::String& value) { SetStreamArn(value); return *this;}
71 
75  inline GetShardIteratorRequest& WithStreamArn(Aws::String&& value) { SetStreamArn(std::move(value)); return *this;}
76 
80  inline GetShardIteratorRequest& WithStreamArn(const char* value) { SetStreamArn(value); return *this;}
81 
82 
87  inline const Aws::String& GetShardId() const{ return m_shardId; }
88 
93  inline bool ShardIdHasBeenSet() const { return m_shardIdHasBeenSet; }
94 
99  inline void SetShardId(const Aws::String& value) { m_shardIdHasBeenSet = true; m_shardId = value; }
100 
105  inline void SetShardId(Aws::String&& value) { m_shardIdHasBeenSet = true; m_shardId = std::move(value); }
106 
111  inline void SetShardId(const char* value) { m_shardIdHasBeenSet = true; m_shardId.assign(value); }
112 
117  inline GetShardIteratorRequest& WithShardId(const Aws::String& value) { SetShardId(value); return *this;}
118 
123  inline GetShardIteratorRequest& WithShardId(Aws::String&& value) { SetShardId(std::move(value)); return *this;}
124 
129  inline GetShardIteratorRequest& WithShardId(const char* value) { SetShardId(value); return *this;}
130 
131 
145  inline const ShardIteratorType& GetShardIteratorType() const{ return m_shardIteratorType; }
146 
160  inline bool ShardIteratorTypeHasBeenSet() const { return m_shardIteratorTypeHasBeenSet; }
161 
175  inline void SetShardIteratorType(const ShardIteratorType& value) { m_shardIteratorTypeHasBeenSet = true; m_shardIteratorType = value; }
176 
190  inline void SetShardIteratorType(ShardIteratorType&& value) { m_shardIteratorTypeHasBeenSet = true; m_shardIteratorType = std::move(value); }
191 
205  inline GetShardIteratorRequest& WithShardIteratorType(const ShardIteratorType& value) { SetShardIteratorType(value); return *this;}
206 
220  inline GetShardIteratorRequest& WithShardIteratorType(ShardIteratorType&& value) { SetShardIteratorType(std::move(value)); return *this;}
221 
222 
227  inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
228 
233  inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; }
234 
239  inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; }
240 
245  inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = std::move(value); }
246 
251  inline void SetSequenceNumber(const char* value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber.assign(value); }
252 
257  inline GetShardIteratorRequest& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
258 
263  inline GetShardIteratorRequest& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
264 
269  inline GetShardIteratorRequest& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
270 
271  private:
272 
273  Aws::String m_streamArn;
274  bool m_streamArnHasBeenSet;
275 
276  Aws::String m_shardId;
277  bool m_shardIdHasBeenSet;
278 
279  ShardIteratorType m_shardIteratorType;
280  bool m_shardIteratorTypeHasBeenSet;
281 
282  Aws::String m_sequenceNumber;
283  bool m_sequenceNumberHasBeenSet;
284  };
285 
286 } // namespace Model
287 } // namespace DynamoDBStreams
288 } // namespace Aws
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithShardId
GetShardIteratorRequest & WithShardId(const char *value)
Definition: GetShardIteratorRequest.h:129
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetShardIteratorRequest
GetShardIteratorRequest()
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::ShardIteratorTypeHasBeenSet
bool ShardIteratorTypeHasBeenSet() const
Definition: GetShardIteratorRequest.h:160
ShardIteratorType.h
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetSequenceNumber
void SetSequenceNumber(Aws::String &&value)
Definition: GetShardIteratorRequest.h:245
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithSequenceNumber
GetShardIteratorRequest & WithSequenceNumber(const char *value)
Definition: GetShardIteratorRequest.h:269
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DynamoDBStreams::Model::GetShardIteratorRequest
Definition: GetShardIteratorRequest.h:27
Aws::DynamoDBStreams::Model::ShardIteratorType
ShardIteratorType
Definition: ShardIteratorType.h:17
DynamoDBStreams_EXPORTS.h
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetShardId
void SetShardId(Aws::String &&value)
Definition: GetShardIteratorRequest.h:105
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithStreamArn
GetShardIteratorRequest & WithStreamArn(Aws::String &&value)
Definition: GetShardIteratorRequest.h:75
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetStreamArn
void SetStreamArn(const Aws::String &value)
Definition: GetShardIteratorRequest.h:55
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetShardId
void SetShardId(const Aws::String &value)
Definition: GetShardIteratorRequest.h:99
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithShardIteratorType
GetShardIteratorRequest & WithShardIteratorType(const ShardIteratorType &value)
Definition: GetShardIteratorRequest.h:205
AWS_DYNAMODBSTREAMS_API
#define AWS_DYNAMODBSTREAMS_API
Definition: DynamoDBStreams_EXPORTS.h:28
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithShardIteratorType
GetShardIteratorRequest & WithShardIteratorType(ShardIteratorType &&value)
Definition: GetShardIteratorRequest.h:220
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetSequenceNumber
void SetSequenceNumber(const char *value)
Definition: GetShardIteratorRequest.h:251
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetShardId
void SetShardId(const char *value)
Definition: GetShardIteratorRequest.h:111
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetStreamArn
const Aws::String & GetStreamArn() const
Definition: GetShardIteratorRequest.h:45
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SequenceNumberHasBeenSet
bool SequenceNumberHasBeenSet() const
Definition: GetShardIteratorRequest.h:233
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetShardIteratorRequest.h:35
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::StreamArnHasBeenSet
bool StreamArnHasBeenSet() const
Definition: GetShardIteratorRequest.h:50
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithStreamArn
GetShardIteratorRequest & WithStreamArn(const char *value)
Definition: GetShardIteratorRequest.h:80
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithSequenceNumber
GetShardIteratorRequest & WithSequenceNumber(Aws::String &&value)
Definition: GetShardIteratorRequest.h:263
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetSequenceNumber
const Aws::String & GetSequenceNumber() const
Definition: GetShardIteratorRequest.h:227
AWSString.h
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetShardId
const Aws::String & GetShardId() const
Definition: GetShardIteratorRequest.h:87
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetShardIteratorType
void SetShardIteratorType(ShardIteratorType &&value)
Definition: GetShardIteratorRequest.h:190
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetShardIteratorType
void SetShardIteratorType(const ShardIteratorType &value)
Definition: GetShardIteratorRequest.h:175
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetSequenceNumber
void SetSequenceNumber(const Aws::String &value)
Definition: GetShardIteratorRequest.h:239
Aws
Definition: AccessManagementClient.h:15
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::GetShardIteratorType
const ShardIteratorType & GetShardIteratorType() const
Definition: GetShardIteratorRequest.h:145
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithShardId
GetShardIteratorRequest & WithShardId(const Aws::String &value)
Definition: GetShardIteratorRequest.h:117
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithSequenceNumber
GetShardIteratorRequest & WithSequenceNumber(const Aws::String &value)
Definition: GetShardIteratorRequest.h:257
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithShardId
GetShardIteratorRequest & WithShardId(Aws::String &&value)
Definition: GetShardIteratorRequest.h:123
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetStreamArn
void SetStreamArn(Aws::String &&value)
Definition: GetShardIteratorRequest.h:60
Aws::DynamoDBStreams::DynamoDBStreamsRequest
Definition: DynamoDBStreamsRequest.h:17
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::ShardIdHasBeenSet
bool ShardIdHasBeenSet() const
Definition: GetShardIteratorRequest.h:93
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::WithStreamArn
GetShardIteratorRequest & WithStreamArn(const Aws::String &value)
Definition: GetShardIteratorRequest.h:70
DynamoDBStreamsRequest.h
Aws::DynamoDBStreams::Model::GetShardIteratorRequest::SetStreamArn
void SetStreamArn(const char *value)
Definition: GetShardIteratorRequest.h:65