This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sagemaker-a2i-runtime/source/model/StartHumanLoopRequest.cpp

57 lines
1.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker-a2i-runtime/model/StartHumanLoopRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::AugmentedAIRuntime::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
StartHumanLoopRequest::StartHumanLoopRequest() :
m_humanLoopNameHasBeenSet(false),
m_flowDefinitionArnHasBeenSet(false),
m_humanLoopInputHasBeenSet(false),
m_dataAttributesHasBeenSet(false)
{
}
Aws::String StartHumanLoopRequest::SerializePayload() const
{
JsonValue payload;
if(m_humanLoopNameHasBeenSet)
{
payload.WithString("HumanLoopName", m_humanLoopName);
}
if(m_flowDefinitionArnHasBeenSet)
{
payload.WithString("FlowDefinitionArn", m_flowDefinitionArn);
}
if(m_humanLoopInputHasBeenSet)
{
payload.WithObject("HumanLoopInput", m_humanLoopInput.Jsonize());
}
if(m_dataAttributesHasBeenSet)
{
payload.WithObject("DataAttributes", m_dataAttributes.Jsonize());
}
return payload.View().WriteReadable();
}