/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::drs::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; AssociateSourceNetworkStackRequest::AssociateSourceNetworkStackRequest() : m_cfnStackNameHasBeenSet(false), m_sourceNetworkIDHasBeenSet(false) { } Aws::String AssociateSourceNetworkStackRequest::SerializePayload() const { JsonValue payload; if(m_cfnStackNameHasBeenSet) { payload.WithString("cfnStackName", m_cfnStackName); } if(m_sourceNetworkIDHasBeenSet) { payload.WithString("sourceNetworkID", m_sourceNetworkID); } return payload.View().WriteReadable(); }