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-dms/source/model/DynamoDbSettings.cpp

60 lines
1.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/dms/model/DynamoDbSettings.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace DatabaseMigrationService
{
namespace Model
{
DynamoDbSettings::DynamoDbSettings() :
m_serviceAccessRoleArnHasBeenSet(false)
{
}
DynamoDbSettings::DynamoDbSettings(JsonView jsonValue) :
m_serviceAccessRoleArnHasBeenSet(false)
{
*this = jsonValue;
}
DynamoDbSettings& DynamoDbSettings::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("ServiceAccessRoleArn"))
{
m_serviceAccessRoleArn = jsonValue.GetString("ServiceAccessRoleArn");
m_serviceAccessRoleArnHasBeenSet = true;
}
return *this;
}
JsonValue DynamoDbSettings::Jsonize() const
{
JsonValue payload;
if(m_serviceAccessRoleArnHasBeenSet)
{
payload.WithString("ServiceAccessRoleArn", m_serviceAccessRoleArn);
}
return payload;
}
} // namespace Model
} // namespace DatabaseMigrationService
} // namespace Aws