/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::WorkSpacesWeb::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdatePortalRequest::UpdatePortalRequest() : m_authenticationType(AuthenticationType::NOT_SET), m_authenticationTypeHasBeenSet(false), m_displayNameHasBeenSet(false), m_portalArnHasBeenSet(false) { } Aws::String UpdatePortalRequest::SerializePayload() const { JsonValue payload; if(m_authenticationTypeHasBeenSet) { payload.WithString("authenticationType", AuthenticationTypeMapper::GetNameForAuthenticationType(m_authenticationType)); } if(m_displayNameHasBeenSet) { payload.WithString("displayName", m_displayName); } return payload.View().WriteReadable(); }