/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace VerifiedPermissions { namespace Model { /** */ class DeleteIdentitySourceRequest : public VerifiedPermissionsRequest { public: AWS_VERIFIEDPERMISSIONS_API DeleteIdentitySourceRequest(); // 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 "DeleteIdentitySource"; } AWS_VERIFIEDPERMISSIONS_API Aws::String SerializePayload() const override; AWS_VERIFIEDPERMISSIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; } /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; } /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; } /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); } /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); } /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline DeleteIdentitySourceRequest& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;} /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline DeleteIdentitySourceRequest& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;} /** *

Specifies the ID of the policy store that contains the identity source that * you want to delete.

*/ inline DeleteIdentitySourceRequest& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;} /** *

Specifies the ID of the identity source that you want to delete.

*/ inline const Aws::String& GetIdentitySourceId() const{ return m_identitySourceId; } /** *

Specifies the ID of the identity source that you want to delete.

*/ inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; } /** *

Specifies the ID of the identity source that you want to delete.

*/ inline void SetIdentitySourceId(const Aws::String& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = value; } /** *

Specifies the ID of the identity source that you want to delete.

*/ inline void SetIdentitySourceId(Aws::String&& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = std::move(value); } /** *

Specifies the ID of the identity source that you want to delete.

*/ inline void SetIdentitySourceId(const char* value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId.assign(value); } /** *

Specifies the ID of the identity source that you want to delete.

*/ inline DeleteIdentitySourceRequest& WithIdentitySourceId(const Aws::String& value) { SetIdentitySourceId(value); return *this;} /** *

Specifies the ID of the identity source that you want to delete.

*/ inline DeleteIdentitySourceRequest& WithIdentitySourceId(Aws::String&& value) { SetIdentitySourceId(std::move(value)); return *this;} /** *

Specifies the ID of the identity source that you want to delete.

*/ inline DeleteIdentitySourceRequest& WithIdentitySourceId(const char* value) { SetIdentitySourceId(value); return *this;} private: Aws::String m_policyStoreId; bool m_policyStoreIdHasBeenSet = false; Aws::String m_identitySourceId; bool m_identitySourceIdHasBeenSet = false; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws