7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 template<
typename ApiIdT = Aws::String>
42 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
43 template<
typename ApiIdT = Aws::String>
53 template<
typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
55 template<
typename DescriptionT = Aws::String>
66 inline long long GetExpires()
const {
return m_expires; }
68 inline void SetExpires(
long long value) { m_expiresHasBeenSet =
true; m_expires = value; }
74 bool m_apiIdHasBeenSet =
false;
77 bool m_descriptionHasBeenSet =
false;
79 long long m_expires{0};
80 bool m_expiresHasBeenSet =
false;
CreateApiKeyRequest & WithExpires(long long value)
void SetApiId(ApiIdT &&value)
CreateApiKeyRequest & WithApiId(ApiIdT &&value)
long long GetExpires() const
CreateApiKeyRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetApiId() const
void SetExpires(long long value)
bool ApiIdHasBeenSet() const
bool DescriptionHasBeenSet() const
bool ExpiresHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
AWS_APPSYNC_API CreateApiKeyRequest()=default
AWS_APPSYNC_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String