text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #include <aws/signer/model/StartSigningJobRequest.h>
  #include <aws/core/utils/json/JsonSerializer.h>
  
  #include <utility>
  
  using namespace Aws::signer::Model;
  using namespace Aws::Utils::Json;
  using namespace Aws::Utils;
  
  StartSigningJobRequest::StartSigningJobRequest() : 
      m_sourceHasBeenSet(false),
      m_destinationHasBeenSet(false),
      m_profileNameHasBeenSet(false),
      m_clientRequestToken(Aws::Utils::UUID::RandomUUID()),
      m_clientRequestTokenHasBeenSet(true),
      m_profileOwnerHasBeenSet(false)
  {
  }
  
  Aws::String StartSigningJobRequest::SerializePayload() const
  {
    JsonValue payload;
  
    if(m_sourceHasBeenSet)
    {
     payload.WithObject("source", m_source.Jsonize());
  
    }
  
    if(m_destinationHasBeenSet)
    {
     payload.WithObject("destination", m_destination.Jsonize());
  
    }
  
    if(m_profileNameHasBeenSet)
    {
     payload.WithString("profileName", m_profileName);
  
    }
  
    if(m_clientRequestTokenHasBeenSet)
    {
     payload.WithString("clientRequestToken", m_clientRequestToken);
  
    }
  
    if(m_profileOwnerHasBeenSet)
    {
     payload.WithString("profileOwner", m_profileOwner);
  
    }
  
    return payload.View().WriteReadable();
  }
  
  
  
  
  