/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace LicenseManagerUserSubscriptions { namespace Model { /** */ class DeregisterIdentityProviderRequest : public LicenseManagerUserSubscriptionsRequest { public: AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API DeregisterIdentityProviderRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeregisterIdentityProvider"; } AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::String SerializePayload() const override; /** *

An object that specifies details for the identity provider.

*/ inline const IdentityProvider& GetIdentityProvider() const{ return m_identityProvider; } /** *

An object that specifies details for the identity provider.

*/ inline bool IdentityProviderHasBeenSet() const { return m_identityProviderHasBeenSet; } /** *

An object that specifies details for the identity provider.

*/ inline void SetIdentityProvider(const IdentityProvider& value) { m_identityProviderHasBeenSet = true; m_identityProvider = value; } /** *

An object that specifies details for the identity provider.

*/ inline void SetIdentityProvider(IdentityProvider&& value) { m_identityProviderHasBeenSet = true; m_identityProvider = std::move(value); } /** *

An object that specifies details for the identity provider.

*/ inline DeregisterIdentityProviderRequest& WithIdentityProvider(const IdentityProvider& value) { SetIdentityProvider(value); return *this;} /** *

An object that specifies details for the identity provider.

*/ inline DeregisterIdentityProviderRequest& WithIdentityProvider(IdentityProvider&& value) { SetIdentityProvider(std::move(value)); return *this;} /** *

The name of the user-based subscription product.

*/ inline const Aws::String& GetProduct() const{ return m_product; } /** *

The name of the user-based subscription product.

*/ inline bool ProductHasBeenSet() const { return m_productHasBeenSet; } /** *

The name of the user-based subscription product.

*/ inline void SetProduct(const Aws::String& value) { m_productHasBeenSet = true; m_product = value; } /** *

The name of the user-based subscription product.

*/ inline void SetProduct(Aws::String&& value) { m_productHasBeenSet = true; m_product = std::move(value); } /** *

The name of the user-based subscription product.

*/ inline void SetProduct(const char* value) { m_productHasBeenSet = true; m_product.assign(value); } /** *

The name of the user-based subscription product.

*/ inline DeregisterIdentityProviderRequest& WithProduct(const Aws::String& value) { SetProduct(value); return *this;} /** *

The name of the user-based subscription product.

*/ inline DeregisterIdentityProviderRequest& WithProduct(Aws::String&& value) { SetProduct(std::move(value)); return *this;} /** *

The name of the user-based subscription product.

*/ inline DeregisterIdentityProviderRequest& WithProduct(const char* value) { SetProduct(value); return *this;} private: IdentityProvider m_identityProvider; bool m_identityProviderHasBeenSet = false; Aws::String m_product; bool m_productHasBeenSet = false; }; } // namespace Model } // namespace LicenseManagerUserSubscriptions } // namespace Aws