AWS SDK for C++  1.9.15
AWS SDK for C++
ListSchemaExtensionsRequest.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 "ListSchemaExtensions"; }
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 ListSchemaExtensionsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
72 
77  inline ListSchemaExtensionsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
78 
83  inline ListSchemaExtensionsRequest& 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 ListSchemaExtensionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
126  inline ListSchemaExtensionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
132  inline ListSchemaExtensionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
133 
134 
138  inline int GetLimit() const{ return m_limit; }
139 
143  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
144 
148  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
149 
153  inline ListSchemaExtensionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
154 
155  private:
156 
157  Aws::String m_directoryId;
158  bool m_directoryIdHasBeenSet;
159 
160  Aws::String m_nextToken;
161  bool m_nextTokenHasBeenSet;
162 
163  int m_limit;
164  bool m_limitHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace DirectoryService
169 } // namespace Aws
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: ListSchemaExtensionsRequest.h:41
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: ListSchemaExtensionsRequest.h:59
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SerializePayload
Aws::String SerializePayload() const override
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSchemaExtensionsRequest.h:30
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListSchemaExtensionsRequest.h:143
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: ListSchemaExtensionsRequest.h:65
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSchemaExtensionsRequest.h:90
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::ListSchemaExtensionsRequest
ListSchemaExtensionsRequest()
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSchemaExtensionsRequest.h:102
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithDirectoryId
ListSchemaExtensionsRequest & WithDirectoryId(const char *value)
Definition: ListSchemaExtensionsRequest.h:83
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSchemaExtensionsRequest.h:114
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::GetLimit
int GetLimit() const
Definition: ListSchemaExtensionsRequest.h:138
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithNextToken
ListSchemaExtensionsRequest & WithNextToken(const Aws::String &value)
Definition: ListSchemaExtensionsRequest.h:120
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSchemaExtensionsRequest.h:96
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetLimit
void SetLimit(int value)
Definition: ListSchemaExtensionsRequest.h:148
AWSString.h
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: ListSchemaExtensionsRequest.h:47
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithDirectoryId
ListSchemaExtensionsRequest & WithDirectoryId(const Aws::String &value)
Definition: ListSchemaExtensionsRequest.h:71
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithNextToken
ListSchemaExtensionsRequest & WithNextToken(const char *value)
Definition: ListSchemaExtensionsRequest.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithNextToken
ListSchemaExtensionsRequest & WithNextToken(Aws::String &&value)
Definition: ListSchemaExtensionsRequest.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::ListSchemaExtensionsRequest
Definition: ListSchemaExtensionsRequest.h:22
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithDirectoryId
ListSchemaExtensionsRequest & WithDirectoryId(Aws::String &&value)
Definition: ListSchemaExtensionsRequest.h:77
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSchemaExtensionsRequest.h:108
DirectoryServiceRequest.h
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: ListSchemaExtensionsRequest.h:53
Aws::DirectoryService::Model::ListSchemaExtensionsRequest::WithLimit
ListSchemaExtensionsRequest & WithLimit(int value)
Definition: ListSchemaExtensionsRequest.h:153