/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::CodeCatalyst::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateSourceRepositoryBranchRequest::CreateSourceRepositoryBranchRequest() : m_spaceNameHasBeenSet(false), m_projectNameHasBeenSet(false), m_sourceRepositoryNameHasBeenSet(false), m_nameHasBeenSet(false), m_headCommitIdHasBeenSet(false) { } Aws::String CreateSourceRepositoryBranchRequest::SerializePayload() const { JsonValue payload; if(m_headCommitIdHasBeenSet) { payload.WithString("headCommitId", m_headCommitId); } return payload.View().WriteReadable(); }