/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::Route53Domains::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; TransferDomainToAnotherAwsAccountRequest::TransferDomainToAnotherAwsAccountRequest() : m_domainNameHasBeenSet(false), m_accountIdHasBeenSet(false) { } Aws::String TransferDomainToAnotherAwsAccountRequest::SerializePayload() const { JsonValue payload; if(m_domainNameHasBeenSet) { payload.WithString("DomainName", m_domainName); } if(m_accountIdHasBeenSet) { payload.WithString("AccountId", m_accountId); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection TransferDomainToAnotherAwsAccountRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "Route53Domains_v20140515.TransferDomainToAnotherAwsAccount")); return headers; }