7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesis/model/Shard.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
45 template<
typename ShardsT = Aws::Vector<Shard>>
46 void SetShards(ShardsT&& value) { m_shardsHasBeenSet =
true; m_shards = std::forward<ShardsT>(value); }
47 template<
typename ShardsT = Aws::Vector<Shard>>
49 template<
typename ShardsT = Shard>
50 ListShardsResult&
AddShards(ShardsT&& value) { m_shardsHasBeenSet =
true; m_shards.emplace_back(std::forward<ShardsT>(value));
return *
this; }
70 template<
typename NextTokenT = Aws::String>
71 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
72 template<
typename NextTokenT = Aws::String>
79 template<
typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
81 template<
typename RequestIdT = Aws::String>
87 bool m_shardsHasBeenSet =
false;
90 bool m_nextTokenHasBeenSet =
false;
93 bool m_requestIdHasBeenSet =
false;
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