# SimpleEnum

    enum SimpleEnum

A simple enum, as used by commands such as `TestEmitTestEventRequestCommand` and
`TestComplexNullableOptionalRequestCommand`.
- `


  ### [unspecified](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/UnitTestingTrait/SimpleEnum#/s:15GoogleHomeTypes6MatterO16UnitTestingTraitV10SimpleEnumO11unspecifiedyA2GmF)


  ` `0`.

  #### Declaration

  Swift

      case unspecified

- `


  ### [valueA](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/UnitTestingTrait/SimpleEnum#/s:15GoogleHomeTypes6MatterO16UnitTestingTraitV10SimpleEnumO6valueAyA2GmF)


  ` `1`.

  #### Declaration

  Swift

      case valueA

- `


  ### [valueB](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/UnitTestingTrait/SimpleEnum#/s:15GoogleHomeTypes6MatterO16UnitTestingTraitV10SimpleEnumO6valueByA2GmF)


  ` `2`.

  #### Declaration

  Swift

      case valueB

- `


  ### [valueC](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/UnitTestingTrait/SimpleEnum#/s:15GoogleHomeTypes6MatterO16UnitTestingTraitV10SimpleEnumO6valueCyA2GmF)


  ` `3`.

  #### Declaration

  Swift

      case valueC

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/UnitTestingTrait/SimpleEnum#/s:15GoogleHomeTypes6MatterO16UnitTestingTraitV10SimpleEnumO8rawValueAGSgs6UInt64V_tcfc)


  ` Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw
  value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init?(rawValue: UInt64)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |