AWS SDK for C++  1.9.126
AWS SDK for C++
DescribeLDAPSSettingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace DirectoryService
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<LDAPSSettingInfo>& GetLDAPSSettingsInfo() const{ return m_lDAPSSettingsInfo; }
42 
47  inline void SetLDAPSSettingsInfo(const Aws::Vector<LDAPSSettingInfo>& value) { m_lDAPSSettingsInfo = value; }
48 
53  inline void SetLDAPSSettingsInfo(Aws::Vector<LDAPSSettingInfo>&& value) { m_lDAPSSettingsInfo = std::move(value); }
54 
59  inline DescribeLDAPSSettingsResult& WithLDAPSSettingsInfo(const Aws::Vector<LDAPSSettingInfo>& value) { SetLDAPSSettingsInfo(value); return *this;}
60 
65  inline DescribeLDAPSSettingsResult& WithLDAPSSettingsInfo(Aws::Vector<LDAPSSettingInfo>&& value) { SetLDAPSSettingsInfo(std::move(value)); return *this;}
66 
71  inline DescribeLDAPSSettingsResult& AddLDAPSSettingsInfo(const LDAPSSettingInfo& value) { m_lDAPSSettingsInfo.push_back(value); return *this; }
72 
77  inline DescribeLDAPSSettingsResult& AddLDAPSSettingsInfo(LDAPSSettingInfo&& value) { m_lDAPSSettingsInfo.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline DescribeLDAPSSettingsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline DescribeLDAPSSettingsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline DescribeLDAPSSettingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<LDAPSSettingInfo> m_lDAPSSettingsInfo;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace DirectoryService
131 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::operator=
DescribeLDAPSSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::SetLDAPSSettingsInfo
void SetLDAPSSettingsInfo(const Aws::Vector< LDAPSSettingInfo > &value)
Definition: DescribeLDAPSSettingsResult.h:47
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::AddLDAPSSettingsInfo
DescribeLDAPSSettingsResult & AddLDAPSSettingsInfo(LDAPSSettingInfo &&value)
Definition: DescribeLDAPSSettingsResult.h:77
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::AddLDAPSSettingsInfo
DescribeLDAPSSettingsResult & AddLDAPSSettingsInfo(const LDAPSSettingInfo &value)
Definition: DescribeLDAPSSettingsResult.h:71
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::WithNextToken
DescribeLDAPSSettingsResult & WithNextToken(const char *value)
Definition: DescribeLDAPSSettingsResult.h:120
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::SetLDAPSSettingsInfo
void SetLDAPSSettingsInfo(Aws::Vector< LDAPSSettingInfo > &&value)
Definition: DescribeLDAPSSettingsResult.h:53
Aws::DirectoryService::Model::LDAPSSettingInfo
Definition: LDAPSSettingInfo.h:35
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::WithNextToken
DescribeLDAPSSettingsResult & WithNextToken(Aws::String &&value)
Definition: DescribeLDAPSSettingsResult.h:114
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::GetLDAPSSettingsInfo
const Aws::Vector< LDAPSSettingInfo > & GetLDAPSSettingsInfo() const
Definition: DescribeLDAPSSettingsResult.h:41
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeLDAPSSettingsResult.h:84
AWSString.h
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::DescribeLDAPSSettingsResult
DescribeLDAPSSettingsResult()
LDAPSSettingInfo.h
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::WithNextToken
DescribeLDAPSSettingsResult & WithNextToken(const Aws::String &value)
Definition: DescribeLDAPSSettingsResult.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::WithLDAPSSettingsInfo
DescribeLDAPSSettingsResult & WithLDAPSSettingsInfo(const Aws::Vector< LDAPSSettingInfo > &value)
Definition: DescribeLDAPSSettingsResult.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult
Definition: DescribeLDAPSSettingsResult.h:30
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::WithLDAPSSettingsInfo
DescribeLDAPSSettingsResult & WithLDAPSSettingsInfo(Aws::Vector< LDAPSSettingInfo > &&value)
Definition: DescribeLDAPSSettingsResult.h:65
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeLDAPSSettingsResult.h:102
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeLDAPSSettingsResult.h:96
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::DescribeLDAPSSettingsResult
DescribeLDAPSSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeLDAPSSettingsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeLDAPSSettingsResult.h:90