/** * 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 CustomerProfiles { namespace Model { /** */ class DeleteWorkflowRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API DeleteWorkflowRequest(); // 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 "DeleteWorkflow"; } AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; /** *

The unique name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The unique name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The unique name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The unique name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline DeleteWorkflowRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline DeleteWorkflowRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline DeleteWorkflowRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Unique identifier for the workflow.

*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *

Unique identifier for the workflow.

*/ inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } /** *

Unique identifier for the workflow.

*/ inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } /** *

Unique identifier for the workflow.

*/ inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } /** *

Unique identifier for the workflow.

*/ inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } /** *

Unique identifier for the workflow.

*/ inline DeleteWorkflowRequest& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *

Unique identifier for the workflow.

*/ inline DeleteWorkflowRequest& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *

Unique identifier for the workflow.

*/ inline DeleteWorkflowRequest& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_workflowId; bool m_workflowIdHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws