AWS SDK for C++  1.9.2
AWS SDK for C++
ListCertificatesRequest.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 "ListCertificates"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
41 
45  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
46 
50  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
51 
55  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
56 
60  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
61 
65  inline ListCertificatesRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
66 
70  inline ListCertificatesRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
71 
75  inline ListCertificatesRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
76 
77 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
94  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 
103  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
104 
112  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
113 
121  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
122 
130  inline ListCertificatesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
131 
139  inline ListCertificatesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 
148  inline ListCertificatesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150 
154  inline int GetLimit() const{ return m_limit; }
155 
159  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
160 
164  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
165 
169  inline ListCertificatesRequest& WithLimit(int value) { SetLimit(value); return *this;}
170 
171  private:
172 
173  Aws::String m_directoryId;
174  bool m_directoryIdHasBeenSet;
175 
176  Aws::String m_nextToken;
177  bool m_nextTokenHasBeenSet;
178 
179  int m_limit;
180  bool m_limitHasBeenSet;
181  };
182 
183 } // namespace Model
184 } // namespace DirectoryService
185 } // namespace Aws
Aws::DirectoryService::Model::ListCertificatesRequest::ListCertificatesRequest
ListCertificatesRequest()
Aws::DirectoryService::Model::ListCertificatesRequest::WithLimit
ListCertificatesRequest & WithLimit(int value)
Definition: ListCertificatesRequest.h:169
Aws::DirectoryService::Model::ListCertificatesRequest::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::ListCertificatesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListCertificatesRequest.h:121
Aws::DirectoryService::Model::ListCertificatesRequest::WithNextToken
ListCertificatesRequest & WithNextToken(const Aws::String &value)
Definition: ListCertificatesRequest.h:130
Aws::DirectoryService::Model::ListCertificatesRequest::SetLimit
void SetLimit(int value)
Definition: ListCertificatesRequest.h:164
Aws::DirectoryService::Model::ListCertificatesRequest::GetLimit
int GetLimit() const
Definition: ListCertificatesRequest.h:154
Aws::DirectoryService::Model::ListCertificatesRequest::WithDirectoryId
ListCertificatesRequest & WithDirectoryId(Aws::String &&value)
Definition: ListCertificatesRequest.h:70
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ListCertificatesRequest::WithNextToken
ListCertificatesRequest & WithNextToken(const char *value)
Definition: ListCertificatesRequest.h:148
Aws::DirectoryService::Model::ListCertificatesRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: ListCertificatesRequest.h:45
Aws::DirectoryService::Model::ListCertificatesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListCertificatesRequest.h:103
Aws::DirectoryService::Model::ListCertificatesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListCertificatesRequest.h:159
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::ListCertificatesRequest::WithNextToken
ListCertificatesRequest & WithNextToken(Aws::String &&value)
Definition: ListCertificatesRequest.h:139
Aws::DirectoryService::Model::ListCertificatesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListCertificatesRequest.h:85
Aws::DirectoryService::Model::ListCertificatesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListCertificatesRequest.h:30
Aws::DirectoryService::Model::ListCertificatesRequest::WithDirectoryId
ListCertificatesRequest & WithDirectoryId(const Aws::String &value)
Definition: ListCertificatesRequest.h:65
Aws::DirectoryService::Model::ListCertificatesRequest::WithDirectoryId
ListCertificatesRequest & WithDirectoryId(const char *value)
Definition: ListCertificatesRequest.h:75
Aws::DirectoryService::Model::ListCertificatesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListCertificatesRequest.h:94
Aws::DirectoryService::Model::ListCertificatesRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: ListCertificatesRequest.h:55
AWSString.h
Aws::DirectoryService::Model::ListCertificatesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::ListCertificatesRequest
Definition: ListCertificatesRequest.h:22
Aws::DirectoryService::Model::ListCertificatesRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: ListCertificatesRequest.h:40
Aws::DirectoryService::Model::ListCertificatesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListCertificatesRequest.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ListCertificatesRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: ListCertificatesRequest.h:60
Aws::DirectoryService::Model::ListCertificatesRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: ListCertificatesRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DirectoryServiceRequest.h