7#include <aws/appsync/AppSyncRequest.h>
8#include <aws/appsync/AppSync_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
37 template <
typename ApiIdT = Aws::String>
39 m_apiIdHasBeenSet =
true;
40 m_apiId = std::forward<ApiIdT>(value);
42 template <
typename ApiIdT = Aws::String>
44 SetApiId(std::forward<ApiIdT>(value));
55 template <
typename DescriptionT = Aws::String>
57 m_descriptionHasBeenSet =
true;
58 m_description = std::forward<DescriptionT>(value);
60 template <
typename DescriptionT = Aws::String>
74 inline long long GetExpires()
const {
return m_expires; }
77 m_expiresHasBeenSet =
true;
90 long long m_expires{0};
91 bool m_apiIdHasBeenSet =
false;
92 bool m_descriptionHasBeenSet =
false;
93 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