/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::DeviceFarm::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; GetTestGridSessionRequest::GetTestGridSessionRequest() : m_projectArnHasBeenSet(false), m_sessionIdHasBeenSet(false), m_sessionArnHasBeenSet(false) { } Aws::String GetTestGridSessionRequest::SerializePayload() const { JsonValue payload; if(m_projectArnHasBeenSet) { payload.WithString("projectArn", m_projectArn); } if(m_sessionIdHasBeenSet) { payload.WithString("sessionId", m_sessionId); } if(m_sessionArnHasBeenSet) { payload.WithString("sessionArn", m_sessionArn); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection GetTestGridSessionRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "DeviceFarm_20150623.GetTestGridSession")); return headers; }