AWS SDK for C++  1.9.16
AWS SDK for C++
DescribeDomainControllersRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DirectoryService
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeDomainControllers"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
43 
48  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
49 
54  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
55 
60  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
61 
66  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
67 
72  inline DescribeDomainControllersRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
73 
78  inline DescribeDomainControllersRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
79 
84  inline DescribeDomainControllersRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
85 
86 
91  inline const Aws::Vector<Aws::String>& GetDomainControllerIds() const{ return m_domainControllerIds; }
92 
97  inline bool DomainControllerIdsHasBeenSet() const { return m_domainControllerIdsHasBeenSet; }
98 
103  inline void SetDomainControllerIds(const Aws::Vector<Aws::String>& value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds = value; }
104 
109  inline void SetDomainControllerIds(Aws::Vector<Aws::String>&& value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds = std::move(value); }
110 
115  inline DescribeDomainControllersRequest& WithDomainControllerIds(const Aws::Vector<Aws::String>& value) { SetDomainControllerIds(value); return *this;}
116 
121  inline DescribeDomainControllersRequest& WithDomainControllerIds(Aws::Vector<Aws::String>&& value) { SetDomainControllerIds(std::move(value)); return *this;}
122 
127  inline DescribeDomainControllersRequest& AddDomainControllerIds(const Aws::String& value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds.push_back(value); return *this; }
128 
133  inline DescribeDomainControllersRequest& AddDomainControllerIds(Aws::String&& value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds.push_back(std::move(value)); return *this; }
134 
139  inline DescribeDomainControllersRequest& AddDomainControllerIds(const char* value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds.push_back(value); return *this; }
140 
141 
146  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
147 
152  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
153 
158  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
159 
164  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
165 
170  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
171 
176  inline DescribeDomainControllersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
177 
182  inline DescribeDomainControllersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
183 
188  inline DescribeDomainControllersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
189 
190 
194  inline int GetLimit() const{ return m_limit; }
195 
199  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
200 
204  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
205 
209  inline DescribeDomainControllersRequest& WithLimit(int value) { SetLimit(value); return *this;}
210 
211  private:
212 
213  Aws::String m_directoryId;
214  bool m_directoryIdHasBeenSet;
215 
216  Aws::Vector<Aws::String> m_domainControllerIds;
217  bool m_domainControllerIdsHasBeenSet;
218 
219  Aws::String m_nextToken;
220  bool m_nextTokenHasBeenSet;
221 
222  int m_limit;
223  bool m_limitHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace DirectoryService
228 } // namespace Aws
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithDomainControllerIds
DescribeDomainControllersRequest & WithDomainControllerIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeDomainControllersRequest.h:115
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
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDomainControllersRequest.h:164
Aws::DirectoryService::Model::DescribeDomainControllersRequest::DomainControllerIdsHasBeenSet
bool DomainControllerIdsHasBeenSet() const
Definition: DescribeDomainControllersRequest.h:97
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DescribeDomainControllersRequest.h:60
Aws::DirectoryService::Model::DescribeDomainControllersRequest::AddDomainControllerIds
DescribeDomainControllersRequest & AddDomainControllerIds(Aws::String &&value)
Definition: DescribeDomainControllersRequest.h:133
Aws::DirectoryService::Model::DescribeDomainControllersRequest::AddDomainControllerIds
DescribeDomainControllersRequest & AddDomainControllerIds(const char *value)
Definition: DescribeDomainControllersRequest.h:139
AWSVector.h
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithDirectoryId
DescribeDomainControllersRequest & WithDirectoryId(const char *value)
Definition: DescribeDomainControllersRequest.h:84
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithNextToken
DescribeDomainControllersRequest & WithNextToken(Aws::String &&value)
Definition: DescribeDomainControllersRequest.h:182
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithDomainControllerIds
DescribeDomainControllersRequest & WithDomainControllerIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeDomainControllersRequest.h:121
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithNextToken
DescribeDomainControllersRequest & WithNextToken(const Aws::String &value)
Definition: DescribeDomainControllersRequest.h:176
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDomainControllersRequest.h:158
Aws::DirectoryService::Model::DescribeDomainControllersRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeDomainControllersRequest.h:152
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDomainControllersRequest.h:170
Aws::DirectoryService::Model::DescribeDomainControllersRequest::DescribeDomainControllersRequest
DescribeDomainControllersRequest()
Aws::DirectoryService::Model::DescribeDomainControllersRequest::GetLimit
int GetLimit() const
Definition: DescribeDomainControllersRequest.h:194
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetDomainControllerIds
void SetDomainControllerIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeDomainControllersRequest.h:109
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DescribeDomainControllersRequest.h:66
Aws::DirectoryService::Model::DescribeDomainControllersRequest::GetDomainControllerIds
const Aws::Vector< Aws::String > & GetDomainControllerIds() const
Definition: DescribeDomainControllersRequest.h:91
AWSString.h
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithNextToken
DescribeDomainControllersRequest & WithNextToken(const char *value)
Definition: DescribeDomainControllersRequest.h:188
Aws::DirectoryService::Model::DescribeDomainControllersRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDomainControllersRequest.h:31
Aws::DirectoryService::Model::DescribeDomainControllersRequest::AddDomainControllerIds
DescribeDomainControllersRequest & AddDomainControllerIds(const Aws::String &value)
Definition: DescribeDomainControllersRequest.h:127
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetDomainControllerIds
void SetDomainControllerIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeDomainControllersRequest.h:103
Aws::DirectoryService::Model::DescribeDomainControllersRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetLimit
void SetLimit(int value)
Definition: DescribeDomainControllersRequest.h:204
Aws::DirectoryService::Model::DescribeDomainControllersRequest
Definition: DescribeDomainControllersRequest.h:23
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DescribeDomainControllersRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DescribeDomainControllersRequest.h:42
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithDirectoryId
DescribeDomainControllersRequest & WithDirectoryId(const Aws::String &value)
Definition: DescribeDomainControllersRequest.h:72
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithLimit
DescribeDomainControllersRequest & WithLimit(int value)
Definition: DescribeDomainControllersRequest.h:209
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DescribeDomainControllersRequest.h:54
Aws::DirectoryService::Model::DescribeDomainControllersRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeDomainControllersRequest.h:199
Aws::DirectoryService::Model::DescribeDomainControllersRequest::WithDirectoryId
DescribeDomainControllersRequest & WithDirectoryId(Aws::String &&value)
Definition: DescribeDomainControllersRequest.h:78
Aws::DirectoryService::Model::DescribeDomainControllersRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DescribeDomainControllersRequest.h:48
DirectoryServiceRequest.h
Aws::DirectoryService::Model::DescribeDomainControllersRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::DescribeDomainControllersRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDomainControllersRequest.h:146