input: from typing import Tuple
  
  class StringCaseModifier:
      def __init__(self, string: str) -> None:
          self.string = string
  
      def to_upper(self) -> str:
          return self.string.upper()
  
      def to_lower(self) -> str:
          return self.string.lower()
      
      def to_title(self) -> str:
          return self.string.title()
  
  # Example usage:
  # >>> test_string = 'Hello World'
  # >>> string_modifier = StringCaseModifier(test_string)
  # >>> (string_modifier.to_upper(), string_modifier.to_lower(), string_modifier.to_title())
  # ('HELLO WORLD', 'hello world', 'Hello World')
  
output:     
      def to_swapcase(self) -> str:
          return self.string.swapcase()
  
      def to_capitalize(self) -> str:
          return self.string.capitalize()
  