/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::LexModelsV2::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateBotRecommendationRequest::UpdateBotRecommendationRequest() : m_botIdHasBeenSet(false), m_botVersionHasBeenSet(false), m_localeIdHasBeenSet(false), m_botRecommendationIdHasBeenSet(false), m_encryptionSettingHasBeenSet(false) { } Aws::String UpdateBotRecommendationRequest::SerializePayload() const { JsonValue payload; if(m_encryptionSettingHasBeenSet) { payload.WithObject("encryptionSetting", m_encryptionSetting.Jsonize()); } return payload.View().WriteReadable(); }