/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::PaymentCryptographyData::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; DecryptDataRequest::DecryptDataRequest() : m_cipherTextHasBeenSet(false), m_decryptionAttributesHasBeenSet(false), m_keyIdentifierHasBeenSet(false) { } Aws::String DecryptDataRequest::SerializePayload() const { JsonValue payload; if(m_cipherTextHasBeenSet) { payload.WithString("CipherText", m_cipherText); } if(m_decryptionAttributesHasBeenSet) { payload.WithObject("DecryptionAttributes", m_decryptionAttributes.Jsonize()); } return payload.View().WriteReadable(); }