AWS SDK for C++  1.9.40
AWS SDK for C++
GetSlotTypeVersionsRequest.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 "GetSlotTypeVersions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline GetSlotTypeVersionsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline GetSlotTypeVersionsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline GetSlotTypeVersionsRequest& WithName(const char* value) { SetName(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 GetSlotTypeVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
136  inline GetSlotTypeVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
137 
144  inline GetSlotTypeVersionsRequest& 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 GetSlotTypeVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
170 
171  private:
172 
173  Aws::String m_name;
174  bool m_nameHasBeenSet;
175 
176  Aws::String m_nextToken;
177  bool m_nextTokenHasBeenSet;
178 
179  int m_maxResults;
180  bool m_maxResultsHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace LexModelBuildingService
185 } // namespace Aws
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithNextToken
GetSlotTypeVersionsRequest & WithNextToken(const char *value)
Definition: GetSlotTypeVersionsRequest.h:144
Aws::Http::URI
Definition: URI.h:32
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithName
GetSlotTypeVersionsRequest & WithName(const char *value)
Definition: GetSlotTypeVersionsRequest.h:79
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: GetSlotTypeVersionsRequest.h:157
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetSlotTypeVersionsRequest.h:104
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithName
GetSlotTypeVersionsRequest & WithName(Aws::String &&value)
Definition: GetSlotTypeVersionsRequest.h:74
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: GetSlotTypeVersionsRequest.h:151
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetName
void SetName(const Aws::String &value)
Definition: GetSlotTypeVersionsRequest.h:54
LexModelBuildingServiceRequest.h
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::LexModelBuildingService::LexModelBuildingServiceRequest
Definition: LexModelBuildingServiceRequest.h:17
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetSlotTypeVersionsRequest.h:88
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetSlotTypeVersionsRequest.h:112
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GetSlotTypeVersionsRequest.h:49
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSlotTypeVersionsRequest.h:34
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithName
GetSlotTypeVersionsRequest & WithName(const Aws::String &value)
Definition: GetSlotTypeVersionsRequest.h:69
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: GetSlotTypeVersionsRequest.h:96
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithNextToken
GetSlotTypeVersionsRequest & WithNextToken(Aws::String &&value)
Definition: GetSlotTypeVersionsRequest.h:136
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::GetSlotTypeVersionsRequest
GetSlotTypeVersionsRequest()
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetName
void SetName(Aws::String &&value)
Definition: GetSlotTypeVersionsRequest.h:59
AWSString.h
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest
Definition: GetSlotTypeVersionsRequest.h:26
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithMaxResults
GetSlotTypeVersionsRequest & WithMaxResults(int value)
Definition: GetSlotTypeVersionsRequest.h:169
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetName
void SetName(const char *value)
Definition: GetSlotTypeVersionsRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: GetSlotTypeVersionsRequest.h:120
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::GetName
const Aws::String & GetName() const
Definition: GetSlotTypeVersionsRequest.h:44
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::WithNextToken
GetSlotTypeVersionsRequest & WithNextToken(const Aws::String &value)
Definition: GetSlotTypeVersionsRequest.h:128
Aws::LexModelBuildingService::Model::GetSlotTypeVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: GetSlotTypeVersionsRequest.h:163