7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename AuthorizationTypeT = Aws::String>
51 void SetAuthorizationType(AuthorizationTypeT&& value) { m_authorizationTypeHasBeenSet =
true; m_authorizationType = std::forward<AuthorizationTypeT>(value); }
52 template<
typename AuthorizationTypeT = Aws::String>
62 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
68 bool m_authorizationTypeHasBeenSet =
false;
70 bool m_apiKeyRequired{
false};
71 bool m_apiKeyRequiredHasBeenSet =
false;
void SetAuthorizationType(AuthorizationTypeT &&value)
void SetApiKeyRequired(bool value)
bool GetApiKeyRequired() const
AWS_APIGATEWAY_API MethodSnapshot()=default
AWS_APIGATEWAY_API MethodSnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAuthorizationType() const
AWS_APIGATEWAY_API MethodSnapshot(Aws::Utils::Json::JsonView jsonValue)
bool ApiKeyRequiredHasBeenSet() const
MethodSnapshot & WithAuthorizationType(AuthorizationTypeT &&value)
bool AuthorizationTypeHasBeenSet() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
MethodSnapshot & WithApiKeyRequired(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue