/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::ChimeSDKVoice::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateVoiceConnectorRequest::UpdateVoiceConnectorRequest() : m_voiceConnectorIdHasBeenSet(false), m_nameHasBeenSet(false), m_requireEncryption(false), m_requireEncryptionHasBeenSet(false) { } Aws::String UpdateVoiceConnectorRequest::SerializePayload() const { JsonValue payload; if(m_nameHasBeenSet) { payload.WithString("Name", m_name); } if(m_requireEncryptionHasBeenSet) { payload.WithBool("RequireEncryption", m_requireEncryption); } return payload.View().WriteReadable(); }