AWS SDK for C++  1.9.109
AWS SDK for C++
ListSchemasResult.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 Personalize
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<DatasetSchemaSummary>& GetSchemas() const{ return m_schemas; }
41 
45  inline void SetSchemas(const Aws::Vector<DatasetSchemaSummary>& value) { m_schemas = value; }
46 
50  inline void SetSchemas(Aws::Vector<DatasetSchemaSummary>&& value) { m_schemas = std::move(value); }
51 
55  inline ListSchemasResult& WithSchemas(const Aws::Vector<DatasetSchemaSummary>& value) { SetSchemas(value); return *this;}
56 
60  inline ListSchemasResult& WithSchemas(Aws::Vector<DatasetSchemaSummary>&& value) { SetSchemas(std::move(value)); return *this;}
61 
65  inline ListSchemasResult& AddSchemas(const DatasetSchemaSummary& value) { m_schemas.push_back(value); return *this; }
66 
70  inline ListSchemasResult& AddSchemas(DatasetSchemaSummary&& value) { m_schemas.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListSchemasResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListSchemasResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListSchemasResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace Personalize
117 } // namespace Aws
Aws::Personalize::Model::ListSchemasResult::WithNextToken
ListSchemasResult & WithNextToken(const char *value)
Definition: ListSchemasResult.h:106
Aws::Personalize::Model::ListSchemasResult::GetSchemas
const Aws::Vector< DatasetSchemaSummary > & GetSchemas() const
Definition: ListSchemasResult.h:40
Aws::Personalize::Model::ListSchemasResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSchemasResult.h:91
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::ListSchemasResult::ListSchemasResult
ListSchemasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::ListSchemasResult::AddSchemas
ListSchemasResult & AddSchemas(DatasetSchemaSummary &&value)
Definition: ListSchemasResult.h:70
Aws::Personalize::Model::ListSchemasResult::WithNextToken
ListSchemasResult & WithNextToken(const Aws::String &value)
Definition: ListSchemasResult.h:96
Aws::Personalize::Model::ListSchemasResult
Definition: ListSchemasResult.h:30
Aws::Personalize::Model::ListSchemasResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSchemasResult.h:86
Aws::Personalize::Model::ListSchemasResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSchemasResult.h:76
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Personalize::Model::ListSchemasResult::WithSchemas
ListSchemasResult & WithSchemas(Aws::Vector< DatasetSchemaSummary > &&value)
Definition: ListSchemasResult.h:60
Aws::Personalize::Model::ListSchemasResult::ListSchemasResult
ListSchemasResult()
AWSString.h
Aws::Personalize::Model::ListSchemasResult::SetSchemas
void SetSchemas(const Aws::Vector< DatasetSchemaSummary > &value)
Definition: ListSchemasResult.h:45
Aws::Personalize::Model::ListSchemasResult::operator=
ListSchemasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::ListSchemasResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSchemasResult.h:81
Aws::Personalize::Model::ListSchemasResult::SetSchemas
void SetSchemas(Aws::Vector< DatasetSchemaSummary > &&value)
Definition: ListSchemasResult.h:50
Aws::Personalize::Model::ListSchemasResult::WithNextToken
ListSchemasResult & WithNextToken(Aws::String &&value)
Definition: ListSchemasResult.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetSchemaSummary
Definition: DatasetSchemaSummary.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::ListSchemasResult::AddSchemas
ListSchemasResult & AddSchemas(const DatasetSchemaSummary &value)
Definition: ListSchemasResult.h:65
DatasetSchemaSummary.h
Personalize_EXPORTS.h
Aws::Personalize::Model::ListSchemasResult::WithSchemas
ListSchemasResult & WithSchemas(const Aws::Vector< DatasetSchemaSummary > &value)
Definition: ListSchemasResult.h:55