/** * 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 WorkDocs { namespace Model { /** */ class DeleteNotificationSubscriptionRequest : public WorkDocsRequest { public: AWS_WORKDOCS_API DeleteNotificationSubscriptionRequest(); // 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 "DeleteNotificationSubscription"; } AWS_WORKDOCS_API Aws::String SerializePayload() const override; /** *

The ID of the subscription.

*/ inline const Aws::String& GetSubscriptionId() const{ return m_subscriptionId; } /** *

The ID of the subscription.

*/ inline bool SubscriptionIdHasBeenSet() const { return m_subscriptionIdHasBeenSet; } /** *

The ID of the subscription.

*/ inline void SetSubscriptionId(const Aws::String& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = value; } /** *

The ID of the subscription.

*/ inline void SetSubscriptionId(Aws::String&& value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId = std::move(value); } /** *

The ID of the subscription.

*/ inline void SetSubscriptionId(const char* value) { m_subscriptionIdHasBeenSet = true; m_subscriptionId.assign(value); } /** *

The ID of the subscription.

*/ inline DeleteNotificationSubscriptionRequest& WithSubscriptionId(const Aws::String& value) { SetSubscriptionId(value); return *this;} /** *

The ID of the subscription.

*/ inline DeleteNotificationSubscriptionRequest& WithSubscriptionId(Aws::String&& value) { SetSubscriptionId(std::move(value)); return *this;} /** *

The ID of the subscription.

*/ inline DeleteNotificationSubscriptionRequest& WithSubscriptionId(const char* value) { SetSubscriptionId(value); return *this;} /** *

The ID of the organization.

*/ inline const Aws::String& GetOrganizationId() const{ return m_organizationId; } /** *

The ID of the organization.

*/ inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; } /** *

The ID of the organization.

*/ inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; } /** *

The ID of the organization.

*/ inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); } /** *

The ID of the organization.

*/ inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); } /** *

The ID of the organization.

*/ inline DeleteNotificationSubscriptionRequest& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;} /** *

The ID of the organization.

*/ inline DeleteNotificationSubscriptionRequest& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;} /** *

The ID of the organization.

*/ inline DeleteNotificationSubscriptionRequest& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;} private: Aws::String m_subscriptionId; bool m_subscriptionIdHasBeenSet = false; Aws::String m_organizationId; bool m_organizationIdHasBeenSet = false; }; } // namespace Model } // namespace WorkDocs } // namespace Aws