AWS SDK for C++  1.9.154
AWS SDK for C++
ListContactFlowsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Http
17 {
18  class URI;
19 } //namespace Http
20 namespace Connect
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListContactFlows"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41 
42 
47  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
48 
53  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
54 
59  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
60 
65  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
66 
71  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
72 
77  inline ListContactFlowsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
78 
83  inline ListContactFlowsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
84 
89  inline ListContactFlowsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
90 
91 
95  inline const Aws::Vector<ContactFlowType>& GetContactFlowTypes() const{ return m_contactFlowTypes; }
96 
100  inline bool ContactFlowTypesHasBeenSet() const { return m_contactFlowTypesHasBeenSet; }
101 
105  inline void SetContactFlowTypes(const Aws::Vector<ContactFlowType>& value) { m_contactFlowTypesHasBeenSet = true; m_contactFlowTypes = value; }
106 
110  inline void SetContactFlowTypes(Aws::Vector<ContactFlowType>&& value) { m_contactFlowTypesHasBeenSet = true; m_contactFlowTypes = std::move(value); }
111 
115  inline ListContactFlowsRequest& WithContactFlowTypes(const Aws::Vector<ContactFlowType>& value) { SetContactFlowTypes(value); return *this;}
116 
120  inline ListContactFlowsRequest& WithContactFlowTypes(Aws::Vector<ContactFlowType>&& value) { SetContactFlowTypes(std::move(value)); return *this;}
121 
125  inline ListContactFlowsRequest& AddContactFlowTypes(const ContactFlowType& value) { m_contactFlowTypesHasBeenSet = true; m_contactFlowTypes.push_back(value); return *this; }
126 
130  inline ListContactFlowsRequest& AddContactFlowTypes(ContactFlowType&& value) { m_contactFlowTypesHasBeenSet = true; m_contactFlowTypes.push_back(std::move(value)); return *this; }
131 
132 
137  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
138 
143  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
144 
149  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
150 
155  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
156 
161  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
162 
167  inline ListContactFlowsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
168 
173  inline ListContactFlowsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
174 
179  inline ListContactFlowsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
180 
181 
185  inline int GetMaxResults() const{ return m_maxResults; }
186 
190  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
191 
195  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
196 
200  inline ListContactFlowsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
201 
202  private:
203 
204  Aws::String m_instanceId;
205  bool m_instanceIdHasBeenSet;
206 
207  Aws::Vector<ContactFlowType> m_contactFlowTypes;
208  bool m_contactFlowTypesHasBeenSet;
209 
210  Aws::String m_nextToken;
211  bool m_nextTokenHasBeenSet;
212 
213  int m_maxResults;
214  bool m_maxResultsHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace Connect
219 } // namespace Aws
Aws::Connect::Model::ListContactFlowsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListContactFlowsRequest.h:53
Aws::Connect::Model::ListContactFlowsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListContactFlowsRequest.h:47
Aws::Connect::Model::ListContactFlowsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListContactFlowsRequest.h:185
Aws::Connect::Model::ListContactFlowsRequest::WithContactFlowTypes
ListContactFlowsRequest & WithContactFlowTypes(Aws::Vector< ContactFlowType > &&value)
Definition: ListContactFlowsRequest.h:120
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListContactFlowsRequest::WithNextToken
ListContactFlowsRequest & WithNextToken(const Aws::String &value)
Definition: ListContactFlowsRequest.h:167
Aws::Connect::Model::ListContactFlowsRequest::WithContactFlowTypes
ListContactFlowsRequest & WithContactFlowTypes(const Aws::Vector< ContactFlowType > &value)
Definition: ListContactFlowsRequest.h:115
Aws::Connect::Model::ListContactFlowsRequest::AddContactFlowTypes
ListContactFlowsRequest & AddContactFlowTypes(const ContactFlowType &value)
Definition: ListContactFlowsRequest.h:125
Aws::Connect::Model::ListContactFlowsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListContactFlowsRequest.h:195
Aws::Connect::Model::ListContactFlowsRequest::SetContactFlowTypes
void SetContactFlowTypes(Aws::Vector< ContactFlowType > &&value)
Definition: ListContactFlowsRequest.h:110
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::ContactFlowType
ContactFlowType
Definition: ContactFlowType.h:17
Aws::Connect::Model::ListContactFlowsRequest::WithMaxResults
ListContactFlowsRequest & WithMaxResults(int value)
Definition: ListContactFlowsRequest.h:200
AWSVector.h
Aws::Connect::Model::ListContactFlowsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListContactFlowsRequest.h:190
Aws::Connect::Model::ListContactFlowsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListContactFlowsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListContactFlowsRequest.h:143
ContactFlowType.h
Aws::Connect::Model::ListContactFlowsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListContactFlowsRequest.h:149
Aws::Connect::Model::ListContactFlowsRequest::WithNextToken
ListContactFlowsRequest & WithNextToken(Aws::String &&value)
Definition: ListContactFlowsRequest.h:173
Aws::Connect::Model::ListContactFlowsRequest::WithInstanceId
ListContactFlowsRequest & WithInstanceId(const char *value)
Definition: ListContactFlowsRequest.h:89
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListContactFlowsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListContactFlowsRequest.h:59
Aws::Connect::Model::ListContactFlowsRequest::ListContactFlowsRequest
ListContactFlowsRequest()
AWSString.h
Aws::Connect::Model::ListContactFlowsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListContactFlowsRequest.h:137
Aws::Connect::Model::ListContactFlowsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListContactFlowsRequest.h:71
Aws::Connect::Model::ListContactFlowsRequest::GetContactFlowTypes
const Aws::Vector< ContactFlowType > & GetContactFlowTypes() const
Definition: ListContactFlowsRequest.h:95
Aws::Connect::Model::ListContactFlowsRequest
Definition: ListContactFlowsRequest.h:28
Aws::Connect::Model::ListContactFlowsRequest::WithInstanceId
ListContactFlowsRequest & WithInstanceId(const Aws::String &value)
Definition: ListContactFlowsRequest.h:77
Aws::Connect::Model::ListContactFlowsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListContactFlowsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListContactFlowsRequest.h:155
Aws::Connect::Model::ListContactFlowsRequest::SetContactFlowTypes
void SetContactFlowTypes(const Aws::Vector< ContactFlowType > &value)
Definition: ListContactFlowsRequest.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListContactFlowsRequest::WithInstanceId
ListContactFlowsRequest & WithInstanceId(Aws::String &&value)
Definition: ListContactFlowsRequest.h:83
Aws::Connect::Model::ListContactFlowsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListContactFlowsRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListContactFlowsRequest::ContactFlowTypesHasBeenSet
bool ContactFlowTypesHasBeenSet() const
Definition: ListContactFlowsRequest.h:100
Aws::Connect::Model::ListContactFlowsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListContactFlowsRequest.h:36
Aws::Connect::Model::ListContactFlowsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListContactFlowsRequest.h:161
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::ListContactFlowsRequest::AddContactFlowTypes
ListContactFlowsRequest & AddContactFlowTypes(ContactFlowType &&value)
Definition: ListContactFlowsRequest.h:130
ConnectRequest.h
Aws::Connect::Model::ListContactFlowsRequest::WithNextToken
ListContactFlowsRequest & WithNextToken(const char *value)
Definition: ListContactFlowsRequest.h:179