code: public void marshall(WriteApplicationSettingsRequest writeApplicationSettingsRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (writeApplicationSettingsRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(writeApplicationSettingsRequest.getCampaignHook(), CAMPAIGNHOOK_BINDING);
              protocolMarshaller.marshall(writeApplicationSettingsRequest.getCloudWatchMetricsEnabled(), CLOUDWATCHMETRICSENABLED_BINDING);
              protocolMarshaller.marshall(writeApplicationSettingsRequest.getLimits(), LIMITS_BINDING);
              protocolMarshaller.marshall(writeApplicationSettingsRequest.getQuietTime(), QUIETTIME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.