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-iotthingsgraph/source/model/DescribeNamespaceRequest.cpp

44 lines
966 B
C++
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotthingsgraph/model/DescribeNamespaceRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::IoTThingsGraph::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
DescribeNamespaceRequest::DescribeNamespaceRequest() :
m_namespaceNameHasBeenSet(false)
{
}
Aws::String DescribeNamespaceRequest::SerializePayload() const
{
JsonValue payload;
if(m_namespaceNameHasBeenSet)
{
payload.WithString("namespaceName", m_namespaceName);
}
return payload.View().WriteReadable();
}
Aws::Http::HeaderValueCollection DescribeNamespaceRequest::GetRequestSpecificHeaders() const
{
Aws::Http::HeaderValueCollection headers;
headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "IotThingsGraphFrontEndService.DescribeNamespace"));
return headers;
}