module Aws::PageableResponse::UnsafeEnumerableMethods

def as_json(_options = {})

def as_json(_options = {})
  data.to_h(data, as_json: true)
end

def count

def count
  if data.respond_to?(:count)
    data.count
  else
    raise NoMethodError, "undefined method `count'"
  end
end

def respond_to?(method_name, *args)

def respond_to?(method_name, *args)
  if method_name == :count
    data.respond_to?(:count)
  else
    super
  end
end

def to_h

def to_h
  data.to_h
end

def to_json(options = {})

def to_json(options = {})
  as_json.to_json(options)
end