    # File lib/fog/aws/models/cloud_watch/metrics.rb, line 20
            def each
              if !block_given?
                self
              else
                subset = dup.all
                subset.each_metric_this_page {|m| yield m }

                while next_token = subset.next_token
                  subset = subset.all("NextToken" => next_token)
                  subset.each_metric_this_page {|m| yield m }
                end

                self
              end
            end