/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Amplify::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StartDeploymentRequest::StartDeploymentRequest() : m_appIdHasBeenSet(false), m_branchNameHasBeenSet(false), m_jobIdHasBeenSet(false), m_sourceUrlHasBeenSet(false) { } Aws::String StartDeploymentRequest::SerializePayload() const { JsonValue payload; if(m_jobIdHasBeenSet) { payload.WithString("jobId", m_jobId); } if(m_sourceUrlHasBeenSet) { payload.WithString("sourceUrl", m_sourceUrl); } return payload.View().WriteReadable(); }