AWS SDK for C++  1.9.153
AWS SDK for C++
ListBotsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace Connect
20 {
21 namespace Model
22 {
23 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ListBots"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
46  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
47 
52  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
53 
58  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
59 
64  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
65 
70  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
71 
76  inline ListBotsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
77 
82  inline ListBotsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
83 
88  inline ListBotsRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
89 
90 
95  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
96 
101  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 
107  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
108 
113  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 
119  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
120 
125  inline ListBotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 
131  inline ListBotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
137  inline ListBotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
138 
139 
143  inline int GetMaxResults() const{ return m_maxResults; }
144 
148  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
149 
153  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
154 
158  inline ListBotsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
159 
160 
164  inline const LexVersion& GetLexVersion() const{ return m_lexVersion; }
165 
169  inline bool LexVersionHasBeenSet() const { return m_lexVersionHasBeenSet; }
170 
174  inline void SetLexVersion(const LexVersion& value) { m_lexVersionHasBeenSet = true; m_lexVersion = value; }
175 
179  inline void SetLexVersion(LexVersion&& value) { m_lexVersionHasBeenSet = true; m_lexVersion = std::move(value); }
180 
184  inline ListBotsRequest& WithLexVersion(const LexVersion& value) { SetLexVersion(value); return *this;}
185 
189  inline ListBotsRequest& WithLexVersion(LexVersion&& value) { SetLexVersion(std::move(value)); return *this;}
190 
191  private:
192 
193  Aws::String m_instanceId;
194  bool m_instanceIdHasBeenSet;
195 
196  Aws::String m_nextToken;
197  bool m_nextTokenHasBeenSet;
198 
199  int m_maxResults;
200  bool m_maxResultsHasBeenSet;
201 
202  LexVersion m_lexVersion;
203  bool m_lexVersionHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace Connect
208 } // namespace Aws
Aws::Connect::Model::ListBotsRequest::WithNextToken
ListBotsRequest & WithNextToken(const Aws::String &value)
Definition: ListBotsRequest.h:125
Aws::Connect::Model::ListBotsRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: ListBotsRequest.h:52
Aws::Http::URI
Definition: URI.h:32
Aws::Connect::Model::ListBotsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListBotsRequest.h:35
Aws::Connect::Model::ListBotsRequest::GetLexVersion
const LexVersion & GetLexVersion() const
Definition: ListBotsRequest.h:164
Aws::Connect::Model::ListBotsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListBotsRequest.h:148
Aws::Connect::Model::ListBotsRequest::LexVersionHasBeenSet
bool LexVersionHasBeenSet() const
Definition: ListBotsRequest.h:169
Aws::Connect::Model::ListBotsRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: ListBotsRequest.h:46
Aws::Connect::Model::ListBotsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Connect::Model::ListBotsRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: ListBotsRequest.h:58
Aws::Connect::Model::ListBotsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBotsRequest.h:95
Aws::Connect::Model::ListBotsRequest::WithLexVersion
ListBotsRequest & WithLexVersion(LexVersion &&value)
Definition: ListBotsRequest.h:189
Aws::Connect::Model::ListBotsRequest::WithMaxResults
ListBotsRequest & WithMaxResults(int value)
Definition: ListBotsRequest.h:158
Aws::Connect::Model::LexVersion
LexVersion
Definition: LexVersion.h:17
Aws::Connect::Model::ListBotsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListBotsRequest.h:101
LexVersion.h
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::ListBotsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::ListBotsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListBotsRequest.h:143
AWSString.h
Aws::Connect::Model::ListBotsRequest::WithNextToken
ListBotsRequest & WithNextToken(const char *value)
Definition: ListBotsRequest.h:137
Aws::Connect::Model::ListBotsRequest::WithNextToken
ListBotsRequest & WithNextToken(Aws::String &&value)
Definition: ListBotsRequest.h:131
Aws::Connect::Model::ListBotsRequest
Definition: ListBotsRequest.h:27
Aws::Connect::Model::ListBotsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBotsRequest.h:113
Aws::Connect::Model::ListBotsRequest::WithLexVersion
ListBotsRequest & WithLexVersion(const LexVersion &value)
Definition: ListBotsRequest.h:184
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ListBotsRequest::WithInstanceId
ListBotsRequest & WithInstanceId(const Aws::String &value)
Definition: ListBotsRequest.h:76
Aws::Connect::Model::ListBotsRequest::ListBotsRequest
ListBotsRequest()
Aws::Connect::Model::ListBotsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListBotsRequest.h:119
Aws::Connect::Model::ListBotsRequest::SetLexVersion
void SetLexVersion(const LexVersion &value)
Definition: ListBotsRequest.h:174
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::ListBotsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBotsRequest.h:107
Aws::Connect::Model::ListBotsRequest::WithInstanceId
ListBotsRequest & WithInstanceId(Aws::String &&value)
Definition: ListBotsRequest.h:82
Aws::Connect::Model::ListBotsRequest::SetLexVersion
void SetLexVersion(LexVersion &&value)
Definition: ListBotsRequest.h:179
Aws::Connect::Model::ListBotsRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: ListBotsRequest.h:70
Aws::Connect::Model::ListBotsRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: ListBotsRequest.h:64
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ListBotsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListBotsRequest.h:153
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::ListBotsRequest::WithInstanceId
ListBotsRequest & WithInstanceId(const char *value)
Definition: ListBotsRequest.h:88