/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace CustomerProfiles { namespace Model { /** */ class ListWorkflowsRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API ListWorkflowsRequest(); // 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 "ListWorkflows"; } AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) 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 ListWorkflowsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

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

The unique name of the domain.

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

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline ListWorkflowsRequest& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;} /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline ListWorkflowsRequest& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;} /** *

Status of workflow execution.

*/ inline const Status& GetStatus() const{ return m_status; } /** *

Status of workflow execution.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Status of workflow execution.

*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Status of workflow execution.

*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Status of workflow execution.

*/ inline ListWorkflowsRequest& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

Status of workflow execution.

*/ inline ListWorkflowsRequest& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *

Retrieve workflows started after timestamp.

*/ inline const Aws::Utils::DateTime& GetQueryStartDate() const{ return m_queryStartDate; } /** *

Retrieve workflows started after timestamp.

*/ inline bool QueryStartDateHasBeenSet() const { return m_queryStartDateHasBeenSet; } /** *

Retrieve workflows started after timestamp.

*/ inline void SetQueryStartDate(const Aws::Utils::DateTime& value) { m_queryStartDateHasBeenSet = true; m_queryStartDate = value; } /** *

Retrieve workflows started after timestamp.

*/ inline void SetQueryStartDate(Aws::Utils::DateTime&& value) { m_queryStartDateHasBeenSet = true; m_queryStartDate = std::move(value); } /** *

Retrieve workflows started after timestamp.

*/ inline ListWorkflowsRequest& WithQueryStartDate(const Aws::Utils::DateTime& value) { SetQueryStartDate(value); return *this;} /** *

Retrieve workflows started after timestamp.

*/ inline ListWorkflowsRequest& WithQueryStartDate(Aws::Utils::DateTime&& value) { SetQueryStartDate(std::move(value)); return *this;} /** *

Retrieve workflows ended after timestamp.

*/ inline const Aws::Utils::DateTime& GetQueryEndDate() const{ return m_queryEndDate; } /** *

Retrieve workflows ended after timestamp.

*/ inline bool QueryEndDateHasBeenSet() const { return m_queryEndDateHasBeenSet; } /** *

Retrieve workflows ended after timestamp.

*/ inline void SetQueryEndDate(const Aws::Utils::DateTime& value) { m_queryEndDateHasBeenSet = true; m_queryEndDate = value; } /** *

Retrieve workflows ended after timestamp.

*/ inline void SetQueryEndDate(Aws::Utils::DateTime&& value) { m_queryEndDateHasBeenSet = true; m_queryEndDate = std::move(value); } /** *

Retrieve workflows ended after timestamp.

*/ inline ListWorkflowsRequest& WithQueryEndDate(const Aws::Utils::DateTime& value) { SetQueryEndDate(value); return *this;} /** *

Retrieve workflows ended after timestamp.

*/ inline ListWorkflowsRequest& WithQueryEndDate(Aws::Utils::DateTime&& value) { SetQueryEndDate(std::move(value)); return *this;} /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline ListWorkflowsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline ListWorkflowsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token for the next set of results. Use the value returned in the previous * response in the next request to retrieve the next set of results.

*/ inline ListWorkflowsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return per page.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return per page.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return per page.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return per page.

*/ inline ListWorkflowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; WorkflowType m_workflowType; bool m_workflowTypeHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_queryStartDate; bool m_queryStartDateHasBeenSet = false; Aws::Utils::DateTime m_queryEndDate; bool m_queryEndDateHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws