51 lines
1.0 KiB
C++
51 lines
1.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#include <aws/elasticmapreduce/model/ListBootstrapActionsRequest.h>
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|
|
|
#include <utility>
|
|
|
|
using namespace Aws::EMR::Model;
|
|
using namespace Aws::Utils::Json;
|
|
using namespace Aws::Utils;
|
|
|
|
ListBootstrapActionsRequest::ListBootstrapActionsRequest() :
|
|
m_clusterIdHasBeenSet(false),
|
|
m_markerHasBeenSet(false)
|
|
{
|
|
}
|
|
|
|
Aws::String ListBootstrapActionsRequest::SerializePayload() const
|
|
{
|
|
JsonValue payload;
|
|
|
|
if(m_clusterIdHasBeenSet)
|
|
{
|
|
payload.WithString("ClusterId", m_clusterId);
|
|
|
|
}
|
|
|
|
if(m_markerHasBeenSet)
|
|
{
|
|
payload.WithString("Marker", m_marker);
|
|
|
|
}
|
|
|
|
return payload.View().WriteReadable();
|
|
}
|
|
|
|
Aws::Http::HeaderValueCollection ListBootstrapActionsRequest::GetRequestSpecificHeaders() const
|
|
{
|
|
Aws::Http::HeaderValueCollection headers;
|
|
headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "ElasticMapReduce.ListBootstrapActions"));
|
|
return headers;
|
|
|
|
}
|
|
|
|
|
|
|
|
|