AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeDomainControllersRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ds/DirectoryServiceRequest.h>
10#include <aws/ds/DirectoryService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DirectoryService {
16namespace Model {
17
21 public:
22 AWS_DIRECTORYSERVICE_API DescribeDomainControllersRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeDomainControllers"; }
29
30 AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
31
32 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
39 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
40 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
41 template <typename DirectoryIdT = Aws::String>
42 void SetDirectoryId(DirectoryIdT&& value) {
43 m_directoryIdHasBeenSet = true;
44 m_directoryId = std::forward<DirectoryIdT>(value);
45 }
46 template <typename DirectoryIdT = Aws::String>
48 SetDirectoryId(std::forward<DirectoryIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::Vector<Aws::String>& GetDomainControllerIds() const { return m_domainControllerIds; }
59 inline bool DomainControllerIdsHasBeenSet() const { return m_domainControllerIdsHasBeenSet; }
60 template <typename DomainControllerIdsT = Aws::Vector<Aws::String>>
61 void SetDomainControllerIds(DomainControllerIdsT&& value) {
62 m_domainControllerIdsHasBeenSet = true;
63 m_domainControllerIds = std::forward<DomainControllerIdsT>(value);
64 }
65 template <typename DomainControllerIdsT = Aws::Vector<Aws::String>>
67 SetDomainControllerIds(std::forward<DomainControllerIdsT>(value));
68 return *this;
69 }
70 template <typename DomainControllerIdsT = Aws::String>
72 m_domainControllerIdsHasBeenSet = true;
73 m_domainControllerIds.emplace_back(std::forward<DomainControllerIdsT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template <typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) {
87 m_nextTokenHasBeenSet = true;
88 m_nextToken = std::forward<NextTokenT>(value);
89 }
90 template <typename NextTokenT = Aws::String>
92 SetNextToken(std::forward<NextTokenT>(value));
93 return *this;
94 }
96
98
101 inline int GetLimit() const { return m_limit; }
102 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
103 inline void SetLimit(int value) {
104 m_limitHasBeenSet = true;
105 m_limit = value;
106 }
108 SetLimit(value);
109 return *this;
110 }
112 private:
113 Aws::String m_directoryId;
114
115 Aws::Vector<Aws::String> m_domainControllerIds;
116
117 Aws::String m_nextToken;
118
119 int m_limit{0};
120 bool m_directoryIdHasBeenSet = false;
121 bool m_domainControllerIdsHasBeenSet = false;
122 bool m_nextTokenHasBeenSet = false;
123 bool m_limitHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace DirectoryService
128} // namespace Aws
AWS_DIRECTORYSERVICE_API DescribeDomainControllersRequest()=default
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeDomainControllersRequest & WithDomainControllerIds(DomainControllerIdsT &&value)
DescribeDomainControllersRequest & AddDomainControllerIds(DomainControllerIdsT &&value)
DescribeDomainControllersRequest & WithNextToken(NextTokenT &&value)
DescribeDomainControllersRequest & WithDirectoryId(DirectoryIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector