AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename DomainNameT = Aws::String>
51 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
52 template<typename DomainNameT = Aws::String>
53 ListWorkflowsRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
55
57
60 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
61 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
62 inline void SetWorkflowType(WorkflowType value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
63 inline ListWorkflowsRequest& WithWorkflowType(WorkflowType value) { SetWorkflowType(value); return *this;}
65
67
70 inline Status GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(Status value) { m_statusHasBeenSet = true; m_status = value; }
73 inline ListWorkflowsRequest& WithStatus(Status value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetQueryStartDate() const { return m_queryStartDate; }
81 inline bool QueryStartDateHasBeenSet() const { return m_queryStartDateHasBeenSet; }
82 template<typename QueryStartDateT = Aws::Utils::DateTime>
83 void SetQueryStartDate(QueryStartDateT&& value) { m_queryStartDateHasBeenSet = true; m_queryStartDate = std::forward<QueryStartDateT>(value); }
84 template<typename QueryStartDateT = Aws::Utils::DateTime>
85 ListWorkflowsRequest& WithQueryStartDate(QueryStartDateT&& value) { SetQueryStartDate(std::forward<QueryStartDateT>(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetQueryEndDate() const { return m_queryEndDate; }
93 inline bool QueryEndDateHasBeenSet() const { return m_queryEndDateHasBeenSet; }
94 template<typename QueryEndDateT = Aws::Utils::DateTime>
95 void SetQueryEndDate(QueryEndDateT&& value) { m_queryEndDateHasBeenSet = true; m_queryEndDate = std::forward<QueryEndDateT>(value); }
96 template<typename QueryEndDateT = Aws::Utils::DateTime>
97 ListWorkflowsRequest& WithQueryEndDate(QueryEndDateT&& value) { SetQueryEndDate(std::forward<QueryEndDateT>(value)); return *this;}
99
101
105 inline const Aws::String& GetNextToken() const { return m_nextToken; }
106 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
107 template<typename NextTokenT = Aws::String>
108 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
109 template<typename NextTokenT = Aws::String>
110 ListWorkflowsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
112
114
117 inline int GetMaxResults() const { return m_maxResults; }
118 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
119 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
120 inline ListWorkflowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 private:
123
124 Aws::String m_domainName;
125 bool m_domainNameHasBeenSet = false;
126
127 WorkflowType m_workflowType{WorkflowType::NOT_SET};
128 bool m_workflowTypeHasBeenSet = false;
129
130 Status m_status{Status::NOT_SET};
131 bool m_statusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_queryStartDate{};
134 bool m_queryStartDateHasBeenSet = false;
135
136 Aws::Utils::DateTime m_queryEndDate{};
137 bool m_queryEndDateHasBeenSet = false;
138
139 Aws::String m_nextToken;
140 bool m_nextTokenHasBeenSet = false;
141
142 int m_maxResults{0};
143 bool m_maxResultsHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace CustomerProfiles
148} // namespace Aws
const Aws::Utils::DateTime & GetQueryEndDate() const
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetQueryStartDate() const
ListWorkflowsRequest & WithWorkflowType(WorkflowType value)
ListWorkflowsRequest & WithQueryEndDate(QueryEndDateT &&value)
ListWorkflowsRequest & WithQueryStartDate(QueryStartDateT &&value)
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CUSTOMERPROFILES_API ListWorkflowsRequest()=default
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
ListWorkflowsRequest & WithDomainName(DomainNameT &&value)
ListWorkflowsRequest & WithNextToken(NextTokenT &&value)
ListWorkflowsRequest & WithStatus(Status value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String