/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include 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::PseudoRandomUUID()), 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(); }