36 lines
630 B
C++
36 lines
630 B
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#include <aws/ivs/model/StopStreamRequest.h>
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|
|
|
#include <utility>
|
|
|
|
using namespace Aws::IVS::Model;
|
|
using namespace Aws::Utils::Json;
|
|
using namespace Aws::Utils;
|
|
|
|
StopStreamRequest::StopStreamRequest() :
|
|
m_channelArnHasBeenSet(false)
|
|
{
|
|
}
|
|
|
|
Aws::String StopStreamRequest::SerializePayload() const
|
|
{
|
|
JsonValue payload;
|
|
|
|
if(m_channelArnHasBeenSet)
|
|
{
|
|
payload.WithString("channelArn", m_channelArn);
|
|
|
|
}
|
|
|
|
return payload.View().WriteReadable();
|
|
}
|
|
|
|
|
|
|
|
|