7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kinesis/Kinesis_EXPORTS.h>
11#include <aws/kinesis/model/Shard.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
40 template <
typename ShardsT = Aws::Vector<Shard>>
42 m_shardsHasBeenSet =
true;
43 m_shards = std::forward<ShardsT>(value);
45 template <
typename ShardsT = Aws::Vector<Shard>>
50 template <
typename ShardsT = Shard>
52 m_shardsHasBeenSet =
true;
53 m_shards.emplace_back(std::forward<ShardsT>(value));
75 template <
typename NextTokenT = Aws::String>
77 m_nextTokenHasBeenSet =
true;
78 m_nextToken = std::forward<NextTokenT>(value);
80 template <
typename NextTokenT = Aws::String>
90 template <
typename RequestIdT = Aws::String>
92 m_requestIdHasBeenSet =
true;
93 m_requestId = std::forward<RequestIdT>(value);
95 template <
typename RequestIdT = Aws::String>
110 bool m_shardsHasBeenSet =
false;
111 bool m_nextTokenHasBeenSet =
false;
112 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListShardsResult & WithShards(ShardsT &&value)
const Aws::Vector< Shard > & GetShards() const
void SetNextToken(NextTokenT &&value)
AWS_KINESIS_API ListShardsResult()=default
const Aws::String & GetNextToken() const
AWS_KINESIS_API ListShardsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KINESIS_API ListShardsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListShardsResult & WithRequestId(RequestIdT &&value)
void SetShards(ShardsT &&value)
void SetRequestId(RequestIdT &&value)
ListShardsResult & WithNextToken(NextTokenT &&value)
const Aws::String & GetRequestId() const
ListShardsResult & AddShards(ShardsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue