AWS SDK for C++  1.9.159
AWS SDK for C++
ListUseCasesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Connect
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "ListUseCases"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
49  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
50 
55  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
56 
61  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
62 
67  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
68 
73  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
74 
79  inline ListUseCasesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
80 
85  inline ListUseCasesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
86 
91  inline ListUseCasesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
92 
93 
97  inline const Aws::String& GetIntegrationAssociationId() const{ return m_integrationAssociationId; }
98 
102  inline bool IntegrationAssociationIdHasBeenSet() const { return m_integrationAssociationIdHasBeenSet; }
103 
107  inline void SetIntegrationAssociationId(const Aws::String& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = value; }
108 
112  inline void SetIntegrationAssociationId(Aws::String&& value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId = std::move(value); }
113 
117  inline void SetIntegrationAssociationId(const char* value) { m_integrationAssociationIdHasBeenSet = true; m_integrationAssociationId.assign(value); }
118 
122  inline ListUseCasesRequest& WithIntegrationAssociationId(const Aws::String& value) { SetIntegrationAssociationId(value); return *this;}
123 
127  inline ListUseCasesRequest& WithIntegrationAssociationId(Aws::String&& value) { SetIntegrationAssociationId(std::move(value)); return *this;}
128 
132  inline ListUseCasesRequest& WithIntegrationAssociationId(const char* value) { SetIntegrationAssociationId(value); return *this;}
133 
134 
139  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
140 
145  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
146 
151  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
152 
157  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
158 
163  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
164 
169  inline ListUseCasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
170 
175  inline ListUseCasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
176 
181  inline ListUseCasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
182 
183 
187  inline int GetMaxResults() const{ return m_maxResults; }
188 
192  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
193 
197  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
198 
202  inline ListUseCasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
203 
204  private:
205 
206  Aws::String m_instanceId;
207  bool m_instanceIdHasBeenSet;
208 
209  Aws::String m_integrationAssociationId;
210  bool m_integrationAssociationIdHasBeenSet;
211 
212  Aws::String m_nextToken;
213  bool m_nextTokenHasBeenSet;
214 
215  int m_maxResults;
216  bool m_maxResultsHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace Connect
221 } // namespace Aws
Aws::Connect::Model::ListUseCasesRequest::WithNextToken
ListUseCasesRequest & WithNextToken(const char *value)
Definition: ListUseCasesRequest.h:181
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListUseCasesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListUseCasesRequest.h:145
Aws::Connect::Model::ListUseCasesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListUseCasesRequest.h:151
Aws::Connect::Model::ListUseCasesRequest::SetIntegrationAssociationId
void SetIntegrationAssociationId(const Aws::String &value)
Definition: ListUseCasesRequest.h:107
Aws::Connect::Model::ListUseCasesRequest::SetIntegrationAssociationId
void SetIntegrationAssociationId(const char *value)
Definition: ListUseCasesRequest.h:117
Aws::Connect::Model::ListUseCasesRequest::WithNextToken
ListUseCasesRequest & WithNextToken(Aws::String &&value)
Definition: ListUseCasesRequest.h:175
Aws::Connect::Model::ListUseCasesRequest::WithInstanceId
ListUseCasesRequest & WithInstanceId(Aws::String &&value)
Definition: ListUseCasesRequest.h:85
Aws::Connect::Model::ListUseCasesRequest
Definition: ListUseCasesRequest.h:30
Aws::Connect::Model::ListUseCasesRequest::WithInstanceId
ListUseCasesRequest & WithInstanceId(const Aws::String &value)
Definition: ListUseCasesRequest.h:79
Aws::Connect::Model::ListUseCasesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListUseCasesRequest.h:197
Aws::Connect::Model::ListUseCasesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListUseCasesRequest.h:139
Aws::Connect::Model::ListUseCasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListUseCasesRequest::IntegrationAssociationIdHasBeenSet
bool IntegrationAssociationIdHasBeenSet() const
Definition: ListUseCasesRequest.h:102
Aws::Connect::Model::ListUseCasesRequest::WithIntegrationAssociationId
ListUseCasesRequest & WithIntegrationAssociationId(Aws::String &&value)
Definition: ListUseCasesRequest.h:127
Aws::Connect::Model::ListUseCasesRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListUseCasesRequest.h:55
Aws::Connect::Model::ListUseCasesRequest::ListUseCasesRequest
ListUseCasesRequest()
Aws::Connect::Model::ListUseCasesRequest::WithIntegrationAssociationId
ListUseCasesRequest & WithIntegrationAssociationId(const Aws::String &value)
Definition: ListUseCasesRequest.h:122
Aws::Connect::Model::ListUseCasesRequest::GetIntegrationAssociationId
const Aws::String & GetIntegrationAssociationId() const
Definition: ListUseCasesRequest.h:97
Aws::Connect::Model::ListUseCasesRequest::SetIntegrationAssociationId
void SetIntegrationAssociationId(Aws::String &&value)
Definition: ListUseCasesRequest.h:112
Aws::Connect::Model::ListUseCasesRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListUseCasesRequest.h:73
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListUseCasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListUseCasesRequest.h:38
Aws::Connect::Model::ListUseCasesRequest::WithMaxResults
ListUseCasesRequest & WithMaxResults(int value)
Definition: ListUseCasesRequest.h:202
AWSString.h
Aws::Connect::Model::ListUseCasesRequest::WithIntegrationAssociationId
ListUseCasesRequest & WithIntegrationAssociationId(const char *value)
Definition: ListUseCasesRequest.h:132
Aws::Connect::Model::ListUseCasesRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListUseCasesRequest.h:67
Aws::Connect::Model::ListUseCasesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListUseCasesRequest.h:157
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListUseCasesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListUseCasesRequest.h:187
Aws::Connect::Model::ListUseCasesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListUseCasesRequest.h:163
Aws::Connect::Model::ListUseCasesRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListUseCasesRequest.h:49
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListUseCasesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListUseCasesRequest.h:192
Aws::Connect::Model::ListUseCasesRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListUseCasesRequest.h:61
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::ListUseCasesRequest::WithInstanceId
ListUseCasesRequest & WithInstanceId(const char *value)
Definition: ListUseCasesRequest.h:91
Aws::Connect::Model::ListUseCasesRequest::WithNextToken
ListUseCasesRequest & WithNextToken(const Aws::String &value)
Definition: ListUseCasesRequest.h:169
Aws::Connect::Model::ListUseCasesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override