7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
73 template<
typename IdT = Aws::String>
74 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
75 template<
typename IdT = Aws::String>
85 template<
typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
87 template<
typename DescriptionT = Aws::String>
96 inline long long GetExpires()
const {
return m_expires; }
98 inline void SetExpires(
long long value) { m_expiresHasBeenSet =
true; m_expires = value; }
109 inline void SetDeletes(
long long value) { m_deletesHasBeenSet =
true; m_deletes = value; }
115 bool m_idHasBeenSet =
false;
118 bool m_descriptionHasBeenSet =
false;
120 long long m_expires{0};
121 bool m_expiresHasBeenSet =
false;
123 long long m_deletes{0};
124 bool m_deletesHasBeenSet =
false;
ApiKey & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
bool IdHasBeenSet() const
AWS_APPSYNC_API ApiKey(Aws::Utils::Json::JsonView jsonValue)
bool DeletesHasBeenSet() const
void SetExpires(long long value)
ApiKey & WithExpires(long long value)
AWS_APPSYNC_API ApiKey & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
long long GetDeletes() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
ApiKey & WithDeletes(long long value)
AWS_APPSYNC_API ApiKey()=default
bool ExpiresHasBeenSet() const
ApiKey & WithId(IdT &&value)
const Aws::String & GetDescription() const
long long GetExpires() const
void SetDeletes(long long value)
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue