code: public void marshall(CreateProfileRequest createProfileRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createProfileRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createProfileRequest.getProfileName(), PROFILENAME_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getTimezone(), TIMEZONE_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getAddress(), ADDRESS_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getDistanceUnit(), DISTANCEUNIT_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getTemperatureUnit(), TEMPERATUREUNIT_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getWakeWord(), WAKEWORD_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getClientRequestToken(), CLIENTREQUESTTOKEN_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getSetupModeDisabled(), SETUPMODEDISABLED_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getMaxVolumeLimit(), MAXVOLUMELIMIT_BINDING);
              protocolMarshaller.marshall(createProfileRequest.getPSTNEnabled(), PSTNENABLED_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.