AWS SDK for C++  1.8.154
AWS SDK for C++
DescribeLDAPSSettingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/ds/model/LDAPSType.h>
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 "DescribeLDAPSSettings"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
42 
46  inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
47 
51  inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
52 
56  inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
57 
61  inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
62 
66  inline DescribeLDAPSSettingsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
67 
71  inline DescribeLDAPSSettingsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
72 
76  inline DescribeLDAPSSettingsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
77 
78 
83  inline const LDAPSType& GetType() const{ return m_type; }
84 
89  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 
95  inline void SetType(const LDAPSType& value) { m_typeHasBeenSet = true; m_type = value; }
96 
101  inline void SetType(LDAPSType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
102 
107  inline DescribeLDAPSSettingsRequest& WithType(const LDAPSType& value) { SetType(value); return *this;}
108 
113  inline DescribeLDAPSSettingsRequest& WithType(LDAPSType&& value) { SetType(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
120 
124  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
125 
129  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 
134  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
135 
139  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
140 
144  inline DescribeLDAPSSettingsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
145 
149  inline DescribeLDAPSSettingsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
150 
154  inline DescribeLDAPSSettingsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
155 
156 
160  inline int GetLimit() const{ return m_limit; }
161 
165  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
166 
170  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
171 
175  inline DescribeLDAPSSettingsRequest& WithLimit(int value) { SetLimit(value); return *this;}
176 
177  private:
178 
179  Aws::String m_directoryId;
180  bool m_directoryIdHasBeenSet;
181 
182  LDAPSType m_type;
183  bool m_typeHasBeenSet;
184 
185  Aws::String m_nextToken;
186  bool m_nextTokenHasBeenSet;
187 
188  int m_limit;
189  bool m_limitHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace DirectoryService
194 } // namespace Aws
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithType
DescribeLDAPSSettingsRequest & WithType(const LDAPSType &value)
Definition: DescribeLDAPSSettingsRequest.h:107
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::DescribeLDAPSSettingsRequest
Definition: DescribeLDAPSSettingsRequest.h:23
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetDirectoryId
void SetDirectoryId(Aws::String &&value)
Definition: DescribeLDAPSSettingsRequest.h:56
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetLimit
void SetLimit(int value)
Definition: DescribeLDAPSSettingsRequest.h:170
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeLDAPSSettingsRequest.h:139
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::LDAPSType
LDAPSType
Definition: LDAPSType.h:17
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::DescribeLDAPSSettingsRequest
DescribeLDAPSSettingsRequest()
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithLimit
DescribeLDAPSSettingsRequest & WithLimit(int value)
Definition: DescribeLDAPSSettingsRequest.h:175
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeLDAPSSettingsRequest.h:124
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithNextToken
DescribeLDAPSSettingsRequest & WithNextToken(const char *value)
Definition: DescribeLDAPSSettingsRequest.h:154
Aws::DirectoryService::DirectoryServiceRequest
Definition: DirectoryServiceRequest.h:17
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithDirectoryId
DescribeLDAPSSettingsRequest & WithDirectoryId(const char *value)
Definition: DescribeLDAPSSettingsRequest.h:76
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeLDAPSSettingsRequest.h:119
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::GetLimit
int GetLimit() const
Definition: DescribeLDAPSSettingsRequest.h:160
LDAPSType.h
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeLDAPSSettingsRequest.h:165
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetDirectoryId
void SetDirectoryId(const Aws::String &value)
Definition: DescribeLDAPSSettingsRequest.h:51
AWSString.h
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithNextToken
DescribeLDAPSSettingsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeLDAPSSettingsRequest.h:144
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::GetDirectoryId
const Aws::String & GetDirectoryId() const
Definition: DescribeLDAPSSettingsRequest.h:41
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DescribeLDAPSSettingsRequest.h:89
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::GetType
const LDAPSType & GetType() const
Definition: DescribeLDAPSSettingsRequest.h:83
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeLDAPSSettingsRequest.h:31
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithNextToken
DescribeLDAPSSettingsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeLDAPSSettingsRequest.h:149
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetType
void SetType(LDAPSType &&value)
Definition: DescribeLDAPSSettingsRequest.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithType
DescribeLDAPSSettingsRequest & WithType(LDAPSType &&value)
Definition: DescribeLDAPSSettingsRequest.h:113
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetDirectoryId
void SetDirectoryId(const char *value)
Definition: DescribeLDAPSSettingsRequest.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DirectoryServiceRequest.h
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithDirectoryId
DescribeLDAPSSettingsRequest & WithDirectoryId(const Aws::String &value)
Definition: DescribeLDAPSSettingsRequest.h:66
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeLDAPSSettingsRequest.h:134
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetType
void SetType(const LDAPSType &value)
Definition: DescribeLDAPSSettingsRequest.h:95
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::DirectoryIdHasBeenSet
bool DirectoryIdHasBeenSet() const
Definition: DescribeLDAPSSettingsRequest.h:46
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeLDAPSSettingsRequest.h:129
Aws::DirectoryService::Model::DescribeLDAPSSettingsRequest::WithDirectoryId
DescribeLDAPSSettingsRequest & WithDirectoryId(Aws::String &&value)
Definition: DescribeLDAPSSettingsRequest.h:71