AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetShardIteratorResult.h
1
6#pragma once
7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DynamoDBStreams
24{
25namespace Model
26{
34 {
35 public:
36 AWS_DYNAMODBSTREAMS_API GetShardIteratorResult();
39
40
42
47 inline const Aws::String& GetShardIterator() const{ return m_shardIterator; }
48 inline void SetShardIterator(const Aws::String& value) { m_shardIterator = value; }
49 inline void SetShardIterator(Aws::String&& value) { m_shardIterator = std::move(value); }
50 inline void SetShardIterator(const char* value) { m_shardIterator.assign(value); }
51 inline GetShardIteratorResult& WithShardIterator(const Aws::String& value) { SetShardIterator(value); return *this;}
52 inline GetShardIteratorResult& WithShardIterator(Aws::String&& value) { SetShardIterator(std::move(value)); return *this;}
53 inline GetShardIteratorResult& WithShardIterator(const char* value) { SetShardIterator(value); return *this;}
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline GetShardIteratorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline GetShardIteratorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline GetShardIteratorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 Aws::String m_shardIterator;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace DynamoDBStreams
75} // namespace Aws
GetShardIteratorResult & WithRequestId(const char *value)
GetShardIteratorResult & WithShardIterator(const Aws::String &value)
GetShardIteratorResult & WithShardIterator(Aws::String &&value)
AWS_DYNAMODBSTREAMS_API GetShardIteratorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetShardIteratorResult & WithShardIterator(const char *value)
GetShardIteratorResult & WithRequestId(Aws::String &&value)
GetShardIteratorResult & WithRequestId(const Aws::String &value)
AWS_DYNAMODBSTREAMS_API GetShardIteratorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue