AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListWorkflowsRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/WorkflowType.h>
11#include <aws/customer-profiles/model/Status.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace CustomerProfiles
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_CUSTOMERPROFILES_API ListWorkflowsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListWorkflows"; }
38
39 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
40
41 AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetDomainName() const{ return m_domainName; }
49 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
51 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
52 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
53 inline ListWorkflowsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
54 inline ListWorkflowsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
55 inline ListWorkflowsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
57
59
62 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
63 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
64 inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
65 inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); }
66 inline ListWorkflowsRequest& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;}
67 inline ListWorkflowsRequest& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
69
71
74 inline const Status& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline ListWorkflowsRequest& WithStatus(const Status& value) { SetStatus(value); return *this;}
79 inline ListWorkflowsRequest& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetQueryStartDate() const{ return m_queryStartDate; }
87 inline bool QueryStartDateHasBeenSet() const { return m_queryStartDateHasBeenSet; }
88 inline void SetQueryStartDate(const Aws::Utils::DateTime& value) { m_queryStartDateHasBeenSet = true; m_queryStartDate = value; }
89 inline void SetQueryStartDate(Aws::Utils::DateTime&& value) { m_queryStartDateHasBeenSet = true; m_queryStartDate = std::move(value); }
91 inline ListWorkflowsRequest& WithQueryStartDate(Aws::Utils::DateTime&& value) { SetQueryStartDate(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetQueryEndDate() const{ return m_queryEndDate; }
99 inline bool QueryEndDateHasBeenSet() const { return m_queryEndDateHasBeenSet; }
100 inline void SetQueryEndDate(const Aws::Utils::DateTime& value) { m_queryEndDateHasBeenSet = true; m_queryEndDate = value; }
101 inline void SetQueryEndDate(Aws::Utils::DateTime&& value) { m_queryEndDateHasBeenSet = true; m_queryEndDate = std::move(value); }
102 inline ListWorkflowsRequest& WithQueryEndDate(const Aws::Utils::DateTime& value) { SetQueryEndDate(value); return *this;}
103 inline ListWorkflowsRequest& WithQueryEndDate(Aws::Utils::DateTime&& value) { SetQueryEndDate(std::move(value)); return *this;}
105
107
111 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
112 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
113 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
114 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
115 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
116 inline ListWorkflowsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
117 inline ListWorkflowsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 inline ListWorkflowsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120
122
125 inline int GetMaxResults() const{ return m_maxResults; }
126 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
127 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
128 inline ListWorkflowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
130 private:
131
132 Aws::String m_domainName;
133 bool m_domainNameHasBeenSet = false;
134
135 WorkflowType m_workflowType;
136 bool m_workflowTypeHasBeenSet = false;
137
138 Status m_status;
139 bool m_statusHasBeenSet = false;
140
141 Aws::Utils::DateTime m_queryStartDate;
142 bool m_queryStartDateHasBeenSet = false;
143
144 Aws::Utils::DateTime m_queryEndDate;
145 bool m_queryEndDateHasBeenSet = false;
146
147 Aws::String m_nextToken;
148 bool m_nextTokenHasBeenSet = false;
149
150 int m_maxResults;
151 bool m_maxResultsHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace CustomerProfiles
156} // namespace Aws
ListWorkflowsRequest & WithQueryEndDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetQueryEndDate() const
ListWorkflowsRequest & WithNextToken(const char *value)
ListWorkflowsRequest & WithDomainName(const Aws::String &value)
ListWorkflowsRequest & WithWorkflowType(WorkflowType &&value)
ListWorkflowsRequest & WithNextToken(const Aws::String &value)
ListWorkflowsRequest & WithQueryStartDate(Aws::Utils::DateTime &&value)
ListWorkflowsRequest & WithDomainName(Aws::String &&value)
ListWorkflowsRequest & WithStatus(Status &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetQueryStartDate() const
ListWorkflowsRequest & WithNextToken(Aws::String &&value)
ListWorkflowsRequest & WithWorkflowType(const WorkflowType &value)
ListWorkflowsRequest & WithQueryStartDate(const Aws::Utils::DateTime &value)
ListWorkflowsRequest & WithDomainName(const char *value)
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetQueryStartDate(Aws::Utils::DateTime &&value)
ListWorkflowsRequest & WithQueryEndDate(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
void SetQueryStartDate(const Aws::Utils::DateTime &value)
ListWorkflowsRequest & WithStatus(const Status &value)
void SetQueryEndDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String