59 lines
1.1 KiB
C++
59 lines
1.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#include <aws/quicksight/model/UpdateThemeRequest.h>
|
|
#include <aws/core/utils/json/JsonSerializer.h>
|
|
|
|
#include <utility>
|
|
|
|
using namespace Aws::QuickSight::Model;
|
|
using namespace Aws::Utils::Json;
|
|
using namespace Aws::Utils;
|
|
|
|
UpdateThemeRequest::UpdateThemeRequest() :
|
|
m_awsAccountIdHasBeenSet(false),
|
|
m_themeIdHasBeenSet(false),
|
|
m_nameHasBeenSet(false),
|
|
m_baseThemeIdHasBeenSet(false),
|
|
m_versionDescriptionHasBeenSet(false),
|
|
m_configurationHasBeenSet(false)
|
|
{
|
|
}
|
|
|
|
Aws::String UpdateThemeRequest::SerializePayload() const
|
|
{
|
|
JsonValue payload;
|
|
|
|
if(m_nameHasBeenSet)
|
|
{
|
|
payload.WithString("Name", m_name);
|
|
|
|
}
|
|
|
|
if(m_baseThemeIdHasBeenSet)
|
|
{
|
|
payload.WithString("BaseThemeId", m_baseThemeId);
|
|
|
|
}
|
|
|
|
if(m_versionDescriptionHasBeenSet)
|
|
{
|
|
payload.WithString("VersionDescription", m_versionDescription);
|
|
|
|
}
|
|
|
|
if(m_configurationHasBeenSet)
|
|
{
|
|
payload.WithObject("Configuration", m_configuration.Jsonize());
|
|
|
|
}
|
|
|
|
return payload.View().WriteReadable();
|
|
}
|
|
|
|
|
|
|
|
|