AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeDomainControllersResult.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 
40  inline const Aws::Vector<DomainController>& GetDomainControllers() const{ return m_domainControllers; }
41 
45  inline void SetDomainControllers(const Aws::Vector<DomainController>& value) { m_domainControllers = value; }
46 
50  inline void SetDomainControllers(Aws::Vector<DomainController>&& value) { m_domainControllers = std::move(value); }
51 
55  inline DescribeDomainControllersResult& WithDomainControllers(const Aws::Vector<DomainController>& value) { SetDomainControllers(value); return *this;}
56 
60  inline DescribeDomainControllersResult& WithDomainControllers(Aws::Vector<DomainController>&& value) { SetDomainControllers(std::move(value)); return *this;}
61 
65  inline DescribeDomainControllersResult& AddDomainControllers(const DomainController& value) { m_domainControllers.push_back(value); return *this; }
66 
70  inline DescribeDomainControllersResult& AddDomainControllers(DomainController&& value) { m_domainControllers.push_back(std::move(value)); return *this; }
71 
72 
78  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 
85  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
86 
92  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
93 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
106  inline DescribeDomainControllersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
113  inline DescribeDomainControllersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
120  inline DescribeDomainControllersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<DomainController> m_domainControllers;
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::Model::DescribeDomainControllersResult::GetDomainControllers
const Aws::Vector< DomainController > & GetDomainControllers() const
Definition: DescribeDomainControllersResult.h:40
Aws::DirectoryService::Model::DescribeDomainControllersResult::WithDomainControllers
DescribeDomainControllersResult & WithDomainControllers(const Aws::Vector< DomainController > &value)
Definition: DescribeDomainControllersResult.h:55
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::DescribeDomainControllersResult::SetDomainControllers
void SetDomainControllers(const Aws::Vector< DomainController > &value)
Definition: DescribeDomainControllersResult.h:45
Aws::DirectoryService::Model::DescribeDomainControllersResult::operator=
DescribeDomainControllersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeDomainControllersResult::SetDomainControllers
void SetDomainControllers(Aws::Vector< DomainController > &&value)
Definition: DescribeDomainControllersResult.h:50
Aws::DirectoryService::Model::DescribeDomainControllersResult::WithNextToken
DescribeDomainControllersResult & WithNextToken(const char *value)
Definition: DescribeDomainControllersResult.h:120
Aws::DirectoryService::Model::DescribeDomainControllersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDomainControllersResult.h:92
Aws::DirectoryService::Model::DomainController
Definition: DomainController.h:35
Aws::DirectoryService::Model::DescribeDomainControllersResult
Definition: DescribeDomainControllersResult.h:30
DirectoryService_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DirectoryService::Model::DescribeDomainControllersResult::DescribeDomainControllersResult
DescribeDomainControllersResult()
AWSVector.h
Aws::DirectoryService::Model::DescribeDomainControllersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDomainControllersResult.h:78
Aws::DirectoryService::Model::DescribeDomainControllersResult::AddDomainControllers
DescribeDomainControllersResult & AddDomainControllers(const DomainController &value)
Definition: DescribeDomainControllersResult.h:65
Aws::DirectoryService::Model::DescribeDomainControllersResult::AddDomainControllers
DescribeDomainControllersResult & AddDomainControllers(DomainController &&value)
Definition: DescribeDomainControllersResult.h:70
Aws::DirectoryService::Model::DescribeDomainControllersResult::WithNextToken
DescribeDomainControllersResult & WithNextToken(Aws::String &&value)
Definition: DescribeDomainControllersResult.h:113
Aws::DirectoryService::Model::DescribeDomainControllersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDomainControllersResult.h:85
Aws::DirectoryService::Model::DescribeDomainControllersResult::WithDomainControllers
DescribeDomainControllersResult & WithDomainControllers(Aws::Vector< DomainController > &&value)
Definition: DescribeDomainControllersResult.h:60
AWSString.h
Aws::DirectoryService::Model::DescribeDomainControllersResult::DescribeDomainControllersResult
DescribeDomainControllersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeDomainControllersResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDomainControllersResult.h:99
Aws
Definition: AccessManagementClient.h:15
DomainController.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::DescribeDomainControllersResult::WithNextToken
DescribeDomainControllersResult & WithNextToken(const Aws::String &value)
Definition: DescribeDomainControllersResult.h:106