/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::SageMaker::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; RetryPipelineExecutionRequest::RetryPipelineExecutionRequest() : m_pipelineExecutionArnHasBeenSet(false), m_clientRequestToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientRequestTokenHasBeenSet(true), m_parallelismConfigurationHasBeenSet(false) { } Aws::String RetryPipelineExecutionRequest::SerializePayload() const { JsonValue payload; if(m_pipelineExecutionArnHasBeenSet) { payload.WithString("PipelineExecutionArn", m_pipelineExecutionArn); } if(m_clientRequestTokenHasBeenSet) { payload.WithString("ClientRequestToken", m_clientRequestToken); } if(m_parallelismConfigurationHasBeenSet) { payload.WithObject("ParallelismConfiguration", m_parallelismConfiguration.Jsonize()); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection RetryPipelineExecutionRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "SageMaker.RetryPipelineExecution")); return headers; }