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-chime/source/model/CreateBotRequest.cpp

44 lines
777 B
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/chime/model/CreateBotRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Chime::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
CreateBotRequest::CreateBotRequest() :
m_accountIdHasBeenSet(false),
m_displayNameHasBeenSet(false),
m_domainHasBeenSet(false)
{
}
Aws::String CreateBotRequest::SerializePayload() const
{
JsonValue payload;
if(m_displayNameHasBeenSet)
{
payload.WithString("DisplayName", m_displayName);
}
if(m_domainHasBeenSet)
{
payload.WithString("Domain", m_domain);
}
return payload.View().WriteReadable();
}