7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/Api.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename ApiT = Api>
38 m_apiHasBeenSet =
true;
39 m_api = std::forward<ApiT>(value);
41 template <
typename ApiT = Api>
43 SetApi(std::forward<ApiT>(value));
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_apiHasBeenSet =
false;
70 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
CreateApiResult & WithApi(ApiT &&value)
void SetRequestId(RequestIdT &&value)
AWS_APPSYNC_API CreateApiResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_APPSYNC_API CreateApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPSYNC_API CreateApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiResult & WithRequestId(RequestIdT &&value)
const Api & GetApi() const
void SetApi(ApiT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue