AWS SDK for C++  1.9.109
AWS SDK for C++
GetBotAliasesRequest.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 LexModelBuildingService
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 "GetBotAliases"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetBotName() const{ return m_botName; }
45 
49  inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
50 
54  inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
55 
59  inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
60 
64  inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
65 
69  inline GetBotAliasesRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
70 
74  inline GetBotAliasesRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
75 
79  inline GetBotAliasesRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
80 
81 
88  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 
96  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 
104  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
120  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
121 
128  inline GetBotAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
136  inline GetBotAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
137 
144  inline GetBotAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
145 
146 
151  inline int GetMaxResults() const{ return m_maxResults; }
152 
157  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
158 
163  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
164 
169  inline GetBotAliasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
170 
171 
177  inline const Aws::String& GetNameContains() const{ return m_nameContains; }
178 
184  inline bool NameContainsHasBeenSet() const { return m_nameContainsHasBeenSet; }
185 
191  inline void SetNameContains(const Aws::String& value) { m_nameContainsHasBeenSet = true; m_nameContains = value; }
192 
198  inline void SetNameContains(Aws::String&& value) { m_nameContainsHasBeenSet = true; m_nameContains = std::move(value); }
199 
205  inline void SetNameContains(const char* value) { m_nameContainsHasBeenSet = true; m_nameContains.assign(value); }
206 
212  inline GetBotAliasesRequest& WithNameContains(const Aws::String& value) { SetNameContains(value); return *this;}
213 
219  inline GetBotAliasesRequest& WithNameContains(Aws::String&& value) { SetNameContains(std::move(value)); return *this;}
220 
226  inline GetBotAliasesRequest& WithNameContains(const char* value) { SetNameContains(value); return *this;}
227 
228  private:
229 
230  Aws::String m_botName;
231  bool m_botNameHasBeenSet;
232 
233  Aws::String m_nextToken;
234  bool m_nextTokenHasBeenSet;
235 
236  int m_maxResults;
237  bool m_maxResultsHasBeenSet;
238 
239  Aws::String m_nameContains;
240  bool m_nameContainsHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace LexModelBuildingService
245 } // namespace Aws
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithNextToken
GetBotAliasesRequest & WithNextToken(const Aws::String &value)
Definition: GetBotAliasesRequest.h:128
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithNameContains
GetBotAliasesRequest & WithNameContains(Aws::String &&value)
Definition: GetBotAliasesRequest.h:219
Aws::Http::URI
Definition: URI.h:32
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithBotName
GetBotAliasesRequest & WithBotName(Aws::String &&value)
Definition: GetBotAliasesRequest.h:74
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetBotName
void SetBotName(const Aws::String &value)
Definition: GetBotAliasesRequest.h:54
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithNextToken
GetBotAliasesRequest & WithNextToken(const char *value)
Definition: GetBotAliasesRequest.h:144
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithBotName
GetBotAliasesRequest & WithBotName(const Aws::String &value)
Definition: GetBotAliasesRequest.h:69
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithNameContains
GetBotAliasesRequest & WithNameContains(const Aws::String &value)
Definition: GetBotAliasesRequest.h:212
LexModelBuildingServiceRequest.h
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::NameContainsHasBeenSet
bool NameContainsHasBeenSet() const
Definition: GetBotAliasesRequest.h:184
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetBotAliasesRequest.h:34
Aws::LexModelBuildingService::LexModelBuildingServiceRequest
Definition: LexModelBuildingServiceRequest.h:17
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetBotAliasesRequest.h:104
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetBotAliasesRequest.h:112
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetNameContains
void SetNameContains(const Aws::String &value)
Definition: GetBotAliasesRequest.h:191
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetNameContains
void SetNameContains(const char *value)
Definition: GetBotAliasesRequest.h:205
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetBotAliasesRequest.h:96
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetBotAliasesRequest.h:163
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetBotAliasesRequest.h:88
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::GetBotAliasesRequest
GetBotAliasesRequest()
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetNameContains
void SetNameContains(Aws::String &&value)
Definition: GetBotAliasesRequest.h:198
AWSString.h
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::GetBotName
const Aws::String & GetBotName() const
Definition: GetBotAliasesRequest.h:44
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::GetMaxResults
int GetMaxResults() const
Definition: GetBotAliasesRequest.h:151
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::GetNameContains
const Aws::String & GetNameContains() const
Definition: GetBotAliasesRequest.h:177
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetBotAliasesRequest.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetBotAliasesRequest.h:157
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetBotName
void SetBotName(Aws::String &&value)
Definition: GetBotAliasesRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithBotName
GetBotAliasesRequest & WithBotName(const char *value)
Definition: GetBotAliasesRequest.h:79
Aws::LexModelBuildingService::Model::GetBotAliasesRequest
Definition: GetBotAliasesRequest.h:26
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SetBotName
void SetBotName(const char *value)
Definition: GetBotAliasesRequest.h:64
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::BotNameHasBeenSet
bool BotNameHasBeenSet() const
Definition: GetBotAliasesRequest.h:49
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithNextToken
GetBotAliasesRequest & WithNextToken(Aws::String &&value)
Definition: GetBotAliasesRequest.h:136
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithNameContains
GetBotAliasesRequest & WithNameContains(const char *value)
Definition: GetBotAliasesRequest.h:226
Aws::LexModelBuildingService::Model::GetBotAliasesRequest::WithMaxResults
GetBotAliasesRequest & WithMaxResults(int value)
Definition: GetBotAliasesRequest.h:169