/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Appflow::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; ResetConnectorMetadataCacheRequest::ResetConnectorMetadataCacheRequest() : m_connectorProfileNameHasBeenSet(false), m_connectorType(ConnectorType::NOT_SET), m_connectorTypeHasBeenSet(false), m_connectorEntityNameHasBeenSet(false), m_entitiesPathHasBeenSet(false), m_apiVersionHasBeenSet(false) { } Aws::String ResetConnectorMetadataCacheRequest::SerializePayload() const { JsonValue payload; if(m_connectorProfileNameHasBeenSet) { payload.WithString("connectorProfileName", m_connectorProfileName); } if(m_connectorTypeHasBeenSet) { payload.WithString("connectorType", ConnectorTypeMapper::GetNameForConnectorType(m_connectorType)); } if(m_connectorEntityNameHasBeenSet) { payload.WithString("connectorEntityName", m_connectorEntityName); } if(m_entitiesPathHasBeenSet) { payload.WithString("entitiesPath", m_entitiesPath); } if(m_apiVersionHasBeenSet) { payload.WithString("apiVersion", m_apiVersion); } return payload.View().WriteReadable(); }