/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::PaymentCryptography::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; StartKeyUsageRequest::StartKeyUsageRequest() : m_keyIdentifierHasBeenSet(false) { } Aws::String StartKeyUsageRequest::SerializePayload() const { JsonValue payload; if(m_keyIdentifierHasBeenSet) { payload.WithString("KeyIdentifier", m_keyIdentifier); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection StartKeyUsageRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "PaymentCryptographyControlPlane.StartKeyUsage")); return headers; }