/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::EMR::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; ListStudioSessionMappingsRequest::ListStudioSessionMappingsRequest() : m_studioIdHasBeenSet(false), m_identityType(IdentityType::NOT_SET), m_identityTypeHasBeenSet(false), m_markerHasBeenSet(false) { } Aws::String ListStudioSessionMappingsRequest::SerializePayload() const { JsonValue payload; if(m_studioIdHasBeenSet) { payload.WithString("StudioId", m_studioId); } if(m_identityTypeHasBeenSet) { payload.WithString("IdentityType", IdentityTypeMapper::GetNameForIdentityType(m_identityType)); } if(m_markerHasBeenSet) { payload.WithString("Marker", m_marker); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection ListStudioSessionMappingsRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "ElasticMapReduce.ListStudioSessionMappings")); return headers; }