7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/ApiKey.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
42 template<
typename ApiKeysT = Aws::Vector<ApiKey>>
43 void SetApiKeys(ApiKeysT&& value) { m_apiKeysHasBeenSet =
true; m_apiKeys = std::forward<ApiKeysT>(value); }
44 template<
typename ApiKeysT = Aws::Vector<ApiKey>>
46 template<
typename ApiKeysT = ApiKey>
47 ListApiKeysResult&
AddApiKeys(ApiKeysT&& value) { m_apiKeysHasBeenSet =
true; m_apiKeys.emplace_back(std::forward<ApiKeysT>(value));
return *
this; }
56 template<
typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<
typename NextTokenT = Aws::String>
65 template<
typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
67 template<
typename RequestIdT = Aws::String>
73 bool m_apiKeysHasBeenSet =
false;
76 bool m_nextTokenHasBeenSet =
false;
79 bool m_requestIdHasBeenSet =
false;
AWS_APPSYNC_API ListApiKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
ListApiKeysResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< ApiKey > & GetApiKeys() const
ListApiKeysResult & WithRequestId(RequestIdT &&value)
AWS_APPSYNC_API ListApiKeysResult()=default
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
ListApiKeysResult & WithApiKeys(ApiKeysT &&value)
AWS_APPSYNC_API ListApiKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetApiKeys(ApiKeysT &&value)
ListApiKeysResult & AddApiKeys(ApiKeysT &&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