AWS SDK for C++  1.8.154
AWS SDK for C++
ListIpRoutesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace DirectoryService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListIpRoutes"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
42 
47  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
48 
53  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
54 
59  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
60 
65  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
66 
71  inline ListIpRoutesRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
72 
77  inline ListIpRoutesRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
78 
83  inline ListIpRoutesRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
84 
85 
90  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
91 
96  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 
102  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 
108  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
109 
114  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 
120  inline ListIpRoutesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
126  inline ListIpRoutesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
132  inline ListIpRoutesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133 
134 
139  inline int GetLimit() const{ return m_limit; }
140 
145  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
146 
151  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
152 
157  inline ListIpRoutesRequest& WithLimit(int value) { SetLimit(value); return *this;}
158 
159  private:
160 
161  Aws::String m_directoryId;
162  bool m_directoryIdHasBeenSet;
163 
164  Aws::String m_nextToken;
165  bool m_nextTokenHasBeenSet;
166 
167  int m_limit;
168  bool m_limitHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace DirectoryService
173 } // namespace Aws
Aws::DirectoryService::Model::ListIpRoutesRequest::WithDirectoryId
ListIpRoutesRequest & WithDirectoryId(const char *value)
Definition: ListIpRoutesRequest.h:83
Aws::DirectoryService::Model::ListIpRoutesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListIpRoutesRequest.h:96
Aws::DirectoryService::Model::ListIpRoutesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListIpRoutesRequest.h:145
Aws::DirectoryService::Model::ListIpRoutesRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: ListIpRoutesRequest.h:41
Aws::DirectoryService::Model::ListIpRoutesRequest::GetLimit
int GetLimit() const
Definition: ListIpRoutesRequest.h:139
Aws::DirectoryService::Model::ListIpRoutesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::ListIpRoutesRequest::WithDirectoryId
ListIpRoutesRequest & WithDirectoryId(const Aws::String &value)
Definition: ListIpRoutesRequest.h:71
Aws::DirectoryService::Model::ListIpRoutesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::ListIpRoutesRequest::WithLimit
ListIpRoutesRequest & WithLimit(int value)
Definition: ListIpRoutesRequest.h:157
Aws::DirectoryService::Model::ListIpRoutesRequest::WithNextToken
ListIpRoutesRequest & WithNextToken(const Aws::String &value)
Definition: ListIpRoutesRequest.h:120
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ListIpRoutesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListIpRoutesRequest.h:114
Aws::DirectoryService::Model::ListIpRoutesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListIpRoutesRequest.h:90
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::ListIpRoutesRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: ListIpRoutesRequest.h:59
Aws::DirectoryService::Model::ListIpRoutesRequest::WithNextToken
ListIpRoutesRequest & WithNextToken(const char *value)
Definition: ListIpRoutesRequest.h:132
Aws::DirectoryService::Model::ListIpRoutesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListIpRoutesRequest.h:108
Aws::DirectoryService::Model::ListIpRoutesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListIpRoutesRequest.h:30
AWSString.h
Aws::DirectoryService::Model::ListIpRoutesRequest
Definition: ListIpRoutesRequest.h:22
Aws::DirectoryService::Model::ListIpRoutesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListIpRoutesRequest.h:102
Aws::DirectoryService::Model::ListIpRoutesRequest::WithDirectoryId
ListIpRoutesRequest & WithDirectoryId(Aws::String &&value)
Definition: ListIpRoutesRequest.h:77
Aws::DirectoryService::Model::ListIpRoutesRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: ListIpRoutesRequest.h:65
Aws::DirectoryService::Model::ListIpRoutesRequest::SetLimit
void SetLimit(int value)
Definition: ListIpRoutesRequest.h:151
Aws::DirectoryService::Model::ListIpRoutesRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: ListIpRoutesRequest.h:47
Aws::DirectoryService::Model::ListIpRoutesRequest::ListIpRoutesRequest
ListIpRoutesRequest()
Aws::DirectoryService::Model::ListIpRoutesRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: ListIpRoutesRequest.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::ListIpRoutesRequest::WithNextToken
ListIpRoutesRequest & WithNextToken(Aws::String &&value)
Definition: ListIpRoutesRequest.h:126
DirectoryServiceRequest.h