7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename AuthorizationTypeT = Aws::String>
46 m_authorizationTypeHasBeenSet =
true;
47 m_authorizationType = std::forward<AuthorizationTypeT>(value);
49 template <
typename AuthorizationTypeT = Aws::String>
63 m_apiKeyRequiredHasBeenSet =
true;
64 m_apiKeyRequired = value;
74 bool m_apiKeyRequired{
false};
75 bool m_authorizationTypeHasBeenSet =
false;
76 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