7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/Api.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 inline void SetApi(
const Api& value) { m_api = value; }
42 inline void SetApi(
Api&& value) { m_api = std::move(value); }
52 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetRequestId() const
CreateApiResult & WithRequestId(const Aws::String &value)
CreateApiResult & WithRequestId(Aws::String &&value)
void SetApi(const Api &value)
CreateApiResult & WithApi(const Api &value)
AWS_APPSYNC_API CreateApiResult()
void SetRequestId(Aws::String &&value)
AWS_APPSYNC_API CreateApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiResult & WithApi(Api &&value)
AWS_APPSYNC_API CreateApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateApiResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
const Api & GetApi() const
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue