input: 
  class StringCaseModifier:
      def __init__(self, string: str):
          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()
  # 'HELLO WORLD'
  # >>> string_modifier.to_lower()
  # 'hello world'
  # >>> string_modifier.to_title()
  # 'Hello World'
  
output:     
      def to_swapcase(self) -> str:
          return self.string.swapcase()
  
      def to_capitalize(self) -> str:
          return self.string.capitalize()
  