AWS SDK for C++  1.9.104
AWS SDK for C++
ListWirelessGatewayTaskDefinitionsRequest.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 IoTWireless
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 "ListWirelessGatewayTaskDefinitions"; }
36 
37  Aws::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline int GetMaxResults() const{ return m_maxResults; }
46 
50  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
51 
55  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
56 
60  inline ListWirelessGatewayTaskDefinitionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
61 
62 
68  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 
75  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 
82  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
83 
89  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
90 
96  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
97 
103  inline ListWirelessGatewayTaskDefinitionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
110  inline ListWirelessGatewayTaskDefinitionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
111 
117  inline ListWirelessGatewayTaskDefinitionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119 
124  inline const WirelessGatewayTaskDefinitionType& GetTaskDefinitionType() const{ return m_taskDefinitionType; }
125 
130  inline bool TaskDefinitionTypeHasBeenSet() const { return m_taskDefinitionTypeHasBeenSet; }
131 
136  inline void SetTaskDefinitionType(const WirelessGatewayTaskDefinitionType& value) { m_taskDefinitionTypeHasBeenSet = true; m_taskDefinitionType = value; }
137 
142  inline void SetTaskDefinitionType(WirelessGatewayTaskDefinitionType&& value) { m_taskDefinitionTypeHasBeenSet = true; m_taskDefinitionType = std::move(value); }
143 
148  inline ListWirelessGatewayTaskDefinitionsRequest& WithTaskDefinitionType(const WirelessGatewayTaskDefinitionType& value) { SetTaskDefinitionType(value); return *this;}
149 
154  inline ListWirelessGatewayTaskDefinitionsRequest& WithTaskDefinitionType(WirelessGatewayTaskDefinitionType&& value) { SetTaskDefinitionType(std::move(value)); return *this;}
155 
156  private:
157 
158  int m_maxResults;
159  bool m_maxResultsHasBeenSet;
160 
161  Aws::String m_nextToken;
162  bool m_nextTokenHasBeenSet;
163 
164  WirelessGatewayTaskDefinitionType m_taskDefinitionType;
165  bool m_taskDefinitionTypeHasBeenSet;
166  };
167 
168 } // namespace Model
169 } // namespace IoTWireless
170 } // namespace Aws
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:50
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::WithNextToken
ListWirelessGatewayTaskDefinitionsRequest & WithNextToken(const Aws::String &value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:103
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:75
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::WithMaxResults
ListWirelessGatewayTaskDefinitionsRequest & WithMaxResults(int value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:60
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:55
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::WithNextToken
ListWirelessGatewayTaskDefinitionsRequest & WithNextToken(const char *value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:117
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::GetTaskDefinitionType
const WirelessGatewayTaskDefinitionType & GetTaskDefinitionType() const
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:124
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SetTaskDefinitionType
void SetTaskDefinitionType(const WirelessGatewayTaskDefinitionType &value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:136
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::TaskDefinitionTypeHasBeenSet
bool TaskDefinitionTypeHasBeenSet() const
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:130
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::ListWirelessGatewayTaskDefinitionsRequest
ListWirelessGatewayTaskDefinitionsRequest()
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:45
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:35
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:68
Aws::IoTWireless::IoTWirelessRequest
Definition: IoTWirelessRequest.h:17
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SetTaskDefinitionType
void SetTaskDefinitionType(WirelessGatewayTaskDefinitionType &&value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:142
AWSString.h
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::WithTaskDefinitionType
ListWirelessGatewayTaskDefinitionsRequest & WithTaskDefinitionType(const WirelessGatewayTaskDefinitionType &value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:148
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:82
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:27
Aws::IoTWireless::Model::WirelessGatewayTaskDefinitionType
WirelessGatewayTaskDefinitionType
Definition: WirelessGatewayTaskDefinitionType.h:17
WirelessGatewayTaskDefinitionType.h
Aws
Definition: AccessManagementClient.h:15
IoTWirelessRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:96
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::WithTaskDefinitionType
ListWirelessGatewayTaskDefinitionsRequest & WithTaskDefinitionType(WirelessGatewayTaskDefinitionType &&value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:154
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:89
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTWireless::Model::ListWirelessGatewayTaskDefinitionsRequest::WithNextToken
ListWirelessGatewayTaskDefinitionsRequest & WithNextToken(Aws::String &&value)
Definition: ListWirelessGatewayTaskDefinitionsRequest.h:110