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-ivs/source/model/BatchGetStreamKeyRequest.cpp

41 lines
849 B
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ivs/model/BatchGetStreamKeyRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::IVS::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
BatchGetStreamKeyRequest::BatchGetStreamKeyRequest() :
m_arnsHasBeenSet(false)
{
}
Aws::String BatchGetStreamKeyRequest::SerializePayload() const
{
JsonValue payload;
if(m_arnsHasBeenSet)
{
Array<JsonValue> arnsJsonList(m_arns.size());
for(unsigned arnsIndex = 0; arnsIndex < arnsJsonList.GetLength(); ++arnsIndex)
{
arnsJsonList[arnsIndex].AsString(m_arns[arnsIndex]);
}
payload.WithArray("arns", std::move(arnsJsonList));
}
return payload.View().WriteReadable();
}