AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDomainControllersRequest.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DirectoryService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DIRECTORYSERVICE_API DescribeDomainControllersRequest() = default;
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_DIRECTORYSERVICE_API Aws::String SerializePayload() const override;
34
35 AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetDirectoryId() const { return m_directoryId; }
44 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
45 template<typename DirectoryIdT = Aws::String>
46 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::forward<DirectoryIdT>(value); }
47 template<typename DirectoryIdT = Aws::String>
48 DescribeDomainControllersRequest& WithDirectoryId(DirectoryIdT&& value) { SetDirectoryId(std::forward<DirectoryIdT>(value)); return *this;}
50
52
56 inline const Aws::Vector<Aws::String>& GetDomainControllerIds() const { return m_domainControllerIds; }
57 inline bool DomainControllerIdsHasBeenSet() const { return m_domainControllerIdsHasBeenSet; }
58 template<typename DomainControllerIdsT = Aws::Vector<Aws::String>>
59 void SetDomainControllerIds(DomainControllerIdsT&& value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds = std::forward<DomainControllerIdsT>(value); }
60 template<typename DomainControllerIdsT = Aws::Vector<Aws::String>>
61 DescribeDomainControllersRequest& WithDomainControllerIds(DomainControllerIdsT&& value) { SetDomainControllerIds(std::forward<DomainControllerIdsT>(value)); return *this;}
62 template<typename DomainControllerIdsT = Aws::String>
63 DescribeDomainControllersRequest& AddDomainControllerIds(DomainControllerIdsT&& value) { m_domainControllerIdsHasBeenSet = true; m_domainControllerIds.emplace_back(std::forward<DomainControllerIdsT>(value)); return *this; }
65
67
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 DescribeDomainControllersRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
83 inline int GetLimit() const { return m_limit; }
84 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
85 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
86 inline DescribeDomainControllersRequest& WithLimit(int value) { SetLimit(value); return *this;}
88 private:
89
90 Aws::String m_directoryId;
91 bool m_directoryIdHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_domainControllerIds;
94 bool m_domainControllerIdsHasBeenSet = false;
95
96 Aws::String m_nextToken;
97 bool m_nextTokenHasBeenSet = false;
98
99 int m_limit{0};
100 bool m_limitHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace DirectoryService
105} // 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