AWS SDK for C++  1.9.161
AWS SDK for C++
ListLexBotsRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListLexBots"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
46 
51  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
52 
57  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
58 
63  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
64 
69  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
70 
75  inline ListLexBotsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
76 
81  inline ListLexBotsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
82 
87  inline ListLexBotsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
88 
89 
94  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
100  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 
106  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
107 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
118  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
119 
124  inline ListLexBotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
130  inline ListLexBotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
136  inline ListLexBotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
137 
138 
143  inline int GetMaxResults() const{ return m_maxResults; }
144 
149  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
150 
155  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
156 
161  inline ListLexBotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
162 
163  private:
164 
165  Aws::String m_instanceId;
166  bool m_instanceIdHasBeenSet;
167 
168  Aws::String m_nextToken;
169  bool m_nextTokenHasBeenSet;
170 
171  int m_maxResults;
172  bool m_maxResultsHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Connect
177 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListLexBotsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListLexBotsRequest.h:112
Aws::Connect::Model::ListLexBotsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLexBotsRequest.h:34
Aws::Connect::Model::ListLexBotsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListLexBotsRequest.h:155
Aws::Connect::Model::ListLexBotsRequest::WithInstanceId
ListLexBotsRequest & WithInstanceId(const Aws::String &value)
Definition: ListLexBotsRequest.h:75
Aws::Connect::Model::ListLexBotsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListLexBotsRequest.h:118
Aws::Connect::Model::ListLexBotsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListLexBotsRequest.h:100
Aws::Connect::Model::ListLexBotsRequest::WithNextToken
ListLexBotsRequest & WithNextToken(const char *value)
Definition: ListLexBotsRequest.h:136
Aws::Connect::Model::ListLexBotsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListLexBotsRequest.h:106
Aws::Connect::Model::ListLexBotsRequest
Definition: ListLexBotsRequest.h:26
Aws::Connect::Model::ListLexBotsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListLexBotsRequest.h:57
Aws::Connect::Model::ListLexBotsRequest::WithInstanceId
ListLexBotsRequest & WithInstanceId(Aws::String &&value)
Definition: ListLexBotsRequest.h:81
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListLexBotsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListLexBotsRequest.h:63
AWSString.h
Aws::Connect::Model::ListLexBotsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListLexBotsRequest.h:143
Aws::Connect::Model::ListLexBotsRequest::WithInstanceId
ListLexBotsRequest & WithInstanceId(const char *value)
Definition: ListLexBotsRequest.h:87
Aws::Connect::Model::ListLexBotsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListLexBotsRequest.h:149
Aws::Connect::Model::ListLexBotsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListLexBotsRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListLexBotsRequest::WithMaxResults
ListLexBotsRequest & WithMaxResults(int value)
Definition: ListLexBotsRequest.h:161
Aws::Connect::Model::ListLexBotsRequest::WithNextToken
ListLexBotsRequest & WithNextToken(const Aws::String &value)
Definition: ListLexBotsRequest.h:124
Aws::Connect::Model::ListLexBotsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListLexBotsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListLexBotsRequest.h:45
Aws::Connect::Model::ListLexBotsRequest::ListLexBotsRequest
ListLexBotsRequest()
Aws::Connect::Model::ListLexBotsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListLexBotsRequest.h:69
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListLexBotsRequest::SerializePayload
Aws::String SerializePayload() const override
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::ListLexBotsRequest::WithNextToken
ListLexBotsRequest & WithNextToken(Aws::String &&value)
Definition: ListLexBotsRequest.h:130
Aws::Connect::Model::ListLexBotsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListLexBotsRequest.h:94