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-route53domains/source/model/DomainTransferability.cpp

61 lines
1.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/route53domains/model/DomainTransferability.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace Route53Domains
{
namespace Model
{
DomainTransferability::DomainTransferability() :
m_transferable(Transferable::NOT_SET),
m_transferableHasBeenSet(false)
{
}
DomainTransferability::DomainTransferability(JsonView jsonValue) :
m_transferable(Transferable::NOT_SET),
m_transferableHasBeenSet(false)
{
*this = jsonValue;
}
DomainTransferability& DomainTransferability::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("Transferable"))
{
m_transferable = TransferableMapper::GetTransferableForName(jsonValue.GetString("Transferable"));
m_transferableHasBeenSet = true;
}
return *this;
}
JsonValue DomainTransferability::Jsonize() const
{
JsonValue payload;
if(m_transferableHasBeenSet)
{
payload.WithString("Transferable", TransferableMapper::GetNameForTransferable(m_transferable));
}
return payload;
}
} // namespace Model
} // namespace Route53Domains
} // namespace Aws