/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::QuickSight::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateIngestionRequest::CreateIngestionRequest() : m_dataSetIdHasBeenSet(false), m_ingestionIdHasBeenSet(false), m_awsAccountIdHasBeenSet(false), m_ingestionType(IngestionType::NOT_SET), m_ingestionTypeHasBeenSet(false) { } Aws::String CreateIngestionRequest::SerializePayload() const { JsonValue payload; if(m_ingestionTypeHasBeenSet) { payload.WithString("IngestionType", IngestionTypeMapper::GetNameForIngestionType(m_ingestionType)); } return payload.View().WriteReadable(); }