AWS SDK for C++  1.9.123
AWS SDK for C++
ListSchemaExtensionsResult.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<SchemaExtensionInfo>& GetSchemaExtensionsInfo() const{ return m_schemaExtensionsInfo; }
41 
45  inline void SetSchemaExtensionsInfo(const Aws::Vector<SchemaExtensionInfo>& value) { m_schemaExtensionsInfo = value; }
46 
50  inline void SetSchemaExtensionsInfo(Aws::Vector<SchemaExtensionInfo>&& value) { m_schemaExtensionsInfo = std::move(value); }
51 
55  inline ListSchemaExtensionsResult& WithSchemaExtensionsInfo(const Aws::Vector<SchemaExtensionInfo>& value) { SetSchemaExtensionsInfo(value); return *this;}
56 
60  inline ListSchemaExtensionsResult& WithSchemaExtensionsInfo(Aws::Vector<SchemaExtensionInfo>&& value) { SetSchemaExtensionsInfo(std::move(value)); return *this;}
61 
65  inline ListSchemaExtensionsResult& AddSchemaExtensionsInfo(const SchemaExtensionInfo& value) { m_schemaExtensionsInfo.push_back(value); return *this; }
66 
70  inline ListSchemaExtensionsResult& AddSchemaExtensionsInfo(SchemaExtensionInfo&& value) { m_schemaExtensionsInfo.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 ListSchemaExtensionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
113  inline ListSchemaExtensionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
120  inline ListSchemaExtensionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<SchemaExtensionInfo> m_schemaExtensionsInfo;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace DirectoryService
131 } // namespace Aws
Aws::DirectoryService::Model::ListSchemaExtensionsResult::WithNextToken
ListSchemaExtensionsResult & WithNextToken(const Aws::String &value)
Definition: ListSchemaExtensionsResult.h:106
Aws::DirectoryService::Model::ListSchemaExtensionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSchemaExtensionsResult.h:78
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectoryService::Model::ListSchemaExtensionsResult::WithNextToken
ListSchemaExtensionsResult & WithNextToken(const char *value)
Definition: ListSchemaExtensionsResult.h:120
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ListSchemaExtensionsResult::AddSchemaExtensionsInfo
ListSchemaExtensionsResult & AddSchemaExtensionsInfo(const SchemaExtensionInfo &value)
Definition: ListSchemaExtensionsResult.h:65
Aws::DirectoryService::Model::ListSchemaExtensionsResult::GetSchemaExtensionsInfo
const Aws::Vector< SchemaExtensionInfo > & GetSchemaExtensionsInfo() const
Definition: ListSchemaExtensionsResult.h:40
Aws::DirectoryService::Model::ListSchemaExtensionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSchemaExtensionsResult.h:85
Aws::DirectoryService::Model::ListSchemaExtensionsResult::SetSchemaExtensionsInfo
void SetSchemaExtensionsInfo(const Aws::Vector< SchemaExtensionInfo > &value)
Definition: ListSchemaExtensionsResult.h:45
Aws::DirectoryService::Model::SchemaExtensionInfo
Definition: SchemaExtensionInfo.h:34
Aws::DirectoryService::Model::ListSchemaExtensionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSchemaExtensionsResult.h:99
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ListSchemaExtensionsResult::AddSchemaExtensionsInfo
ListSchemaExtensionsResult & AddSchemaExtensionsInfo(SchemaExtensionInfo &&value)
Definition: ListSchemaExtensionsResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::DirectoryService::Model::ListSchemaExtensionsResult::ListSchemaExtensionsResult
ListSchemaExtensionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::ListSchemaExtensionsResult::WithSchemaExtensionsInfo
ListSchemaExtensionsResult & WithSchemaExtensionsInfo(Aws::Vector< SchemaExtensionInfo > &&value)
Definition: ListSchemaExtensionsResult.h:60
Aws::DirectoryService::Model::ListSchemaExtensionsResult::WithNextToken
ListSchemaExtensionsResult & WithNextToken(Aws::String &&value)
Definition: ListSchemaExtensionsResult.h:113
AWSString.h
Aws::DirectoryService::Model::ListSchemaExtensionsResult::ListSchemaExtensionsResult
ListSchemaExtensionsResult()
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::ListSchemaExtensionsResult
Definition: ListSchemaExtensionsResult.h:30
Aws::DirectoryService::Model::ListSchemaExtensionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSchemaExtensionsResult.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SchemaExtensionInfo.h
Aws::DirectoryService::Model::ListSchemaExtensionsResult::SetSchemaExtensionsInfo
void SetSchemaExtensionsInfo(Aws::Vector< SchemaExtensionInfo > &&value)
Definition: ListSchemaExtensionsResult.h:50
Aws::DirectoryService::Model::ListSchemaExtensionsResult::WithSchemaExtensionsInfo
ListSchemaExtensionsResult & WithSchemaExtensionsInfo(const Aws::Vector< SchemaExtensionInfo > &value)
Definition: ListSchemaExtensionsResult.h:55
Aws::DirectoryService::Model::ListSchemaExtensionsResult::operator=
ListSchemaExtensionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)