/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include #include #include using namespace Aws::LicenseManagerUserSubscriptions::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; RegisterIdentityProviderRequest::RegisterIdentityProviderRequest() : m_identityProviderHasBeenSet(false), m_productHasBeenSet(false), m_settingsHasBeenSet(false) { } Aws::String RegisterIdentityProviderRequest::SerializePayload() const { JsonValue payload; if(m_identityProviderHasBeenSet) { payload.WithObject("IdentityProvider", m_identityProvider.Jsonize()); } if(m_productHasBeenSet) { payload.WithString("Product", m_product); } if(m_settingsHasBeenSet) { payload.WithObject("Settings", m_settings.Jsonize()); } return payload.View().WriteReadable(); }