[verb (plain)] + というものだ [i-adj] + というものだ [na-adj] + というものだ [noun] + というものだ
というものだ passes a firm verdict: "that's what you call X", "that's just X". It follows a noun or な-adjective directly, with no だ, or a plain-form verb or い-adjective. What is being judged usually comes first as a clause with のは.
Most verdicts are critical – someone's behaviour named for what it is. The speaker presents the judgment as common sense that anyone would share, which makes it sound sure of itself and a little lecturing.
With これが, これこそ or a clause with のが, というものだ says "this is what X truly is": friendship, life, happiness.
The negative, というものではない or というものでもない, does something else: it denies a generalisation, "it's not true that". Each has its own point.