AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
GetShardIteratorResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Kinesis {
23namespace Model {
31 public:
32 AWS_KINESIS_API GetShardIteratorResult() = default;
35
37
42 inline const Aws::String& GetShardIterator() const { return m_shardIterator; }
43 template <typename ShardIteratorT = Aws::String>
44 void SetShardIterator(ShardIteratorT&& value) {
45 m_shardIteratorHasBeenSet = true;
46 m_shardIterator = std::forward<ShardIteratorT>(value);
47 }
48 template <typename ShardIteratorT = Aws::String>
49 GetShardIteratorResult& WithShardIterator(ShardIteratorT&& value) {
50 SetShardIterator(std::forward<ShardIteratorT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template <typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) {
60 m_requestIdHasBeenSet = true;
61 m_requestId = std::forward<RequestIdT>(value);
62 }
63 template <typename RequestIdT = Aws::String>
65 SetRequestId(std::forward<RequestIdT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 Aws::String m_shardIterator;
73
74 Aws::String m_requestId;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_shardIteratorHasBeenSet = false;
77 bool m_requestIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Kinesis
82} // namespace Aws
AWS_KINESIS_API GetShardIteratorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_KINESIS_API GetShardIteratorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetShardIteratorResult & WithRequestId(RequestIdT &&value)
AWS_KINESIS_API GetShardIteratorResult()=default
GetShardIteratorResult & WithShardIterator(ShardIteratorT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue