/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::NetworkFirewall::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateFirewallEncryptionConfigurationRequest::UpdateFirewallEncryptionConfigurationRequest() : m_updateTokenHasBeenSet(false), m_firewallArnHasBeenSet(false), m_firewallNameHasBeenSet(false), m_encryptionConfigurationHasBeenSet(false) { } Aws::String UpdateFirewallEncryptionConfigurationRequest::SerializePayload() const { JsonValue payload; if(m_updateTokenHasBeenSet) { payload.WithString("UpdateToken", m_updateToken); } if(m_firewallArnHasBeenSet) { payload.WithString("FirewallArn", m_firewallArn); } if(m_firewallNameHasBeenSet) { payload.WithString("FirewallName", m_firewallName); } if(m_encryptionConfigurationHasBeenSet) { payload.WithObject("EncryptionConfiguration", m_encryptionConfiguration.Jsonize()); } return payload.View().WriteReadable(); } Aws::Http::HeaderValueCollection UpdateFirewallEncryptionConfigurationRequest::GetRequestSpecificHeaders() const { Aws::Http::HeaderValueCollection headers; headers.insert(Aws::Http::HeaderValuePair("X-Amz-Target", "NetworkFirewall_20201112.UpdateFirewallEncryptionConfiguration")); return headers; }