AWS SDK for C++  1.9.102
AWS SDK for C++
ListDatasetImportJobsResult.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<DatasetImportJobSummary>& GetDatasetImportJobs() const{ return m_datasetImportJobs; }
41 
45  inline void SetDatasetImportJobs(const Aws::Vector<DatasetImportJobSummary>& value) { m_datasetImportJobs = value; }
46 
50  inline void SetDatasetImportJobs(Aws::Vector<DatasetImportJobSummary>&& value) { m_datasetImportJobs = std::move(value); }
51 
55  inline ListDatasetImportJobsResult& WithDatasetImportJobs(const Aws::Vector<DatasetImportJobSummary>& value) { SetDatasetImportJobs(value); return *this;}
56 
60  inline ListDatasetImportJobsResult& WithDatasetImportJobs(Aws::Vector<DatasetImportJobSummary>&& value) { SetDatasetImportJobs(std::move(value)); return *this;}
61 
65  inline ListDatasetImportJobsResult& AddDatasetImportJobs(const DatasetImportJobSummary& value) { m_datasetImportJobs.push_back(value); return *this; }
66 
70  inline ListDatasetImportJobsResult& AddDatasetImportJobs(DatasetImportJobSummary&& value) { m_datasetImportJobs.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 ListDatasetImportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListDatasetImportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListDatasetImportJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<DatasetImportJobSummary> m_datasetImportJobs;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace Personalize
117 } // namespace Aws
Aws::Personalize::Model::DatasetImportJobSummary
Definition: DatasetImportJobSummary.h:35
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Personalize::Model::ListDatasetImportJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetImportJobsResult.h:86
Aws::Personalize::Model::ListDatasetImportJobsResult::ListDatasetImportJobsResult
ListDatasetImportJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Personalize::Model::ListDatasetImportJobsResult::WithNextToken
ListDatasetImportJobsResult & WithNextToken(Aws::String &&value)
Definition: ListDatasetImportJobsResult.h:101
Aws::Personalize::Model::ListDatasetImportJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetImportJobsResult.h:81
Aws::Personalize::Model::ListDatasetImportJobsResult::WithDatasetImportJobs
ListDatasetImportJobsResult & WithDatasetImportJobs(const Aws::Vector< DatasetImportJobSummary > &value)
Definition: ListDatasetImportJobsResult.h:55
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
Aws::Personalize::Model::ListDatasetImportJobsResult::operator=
ListDatasetImportJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::Personalize::Model::ListDatasetImportJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetImportJobsResult.h:91
Aws::Personalize::Model::ListDatasetImportJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetImportJobsResult.h:76
Aws::Personalize::Model::ListDatasetImportJobsResult::GetDatasetImportJobs
const Aws::Vector< DatasetImportJobSummary > & GetDatasetImportJobs() const
Definition: ListDatasetImportJobsResult.h:40
Aws::Personalize::Model::ListDatasetImportJobsResult::WithNextToken
ListDatasetImportJobsResult & WithNextToken(const char *value)
Definition: ListDatasetImportJobsResult.h:106
Aws::Personalize::Model::ListDatasetImportJobsResult::SetDatasetImportJobs
void SetDatasetImportJobs(Aws::Vector< DatasetImportJobSummary > &&value)
Definition: ListDatasetImportJobsResult.h:50
AWSString.h
DatasetImportJobSummary.h
Aws::Personalize::Model::ListDatasetImportJobsResult::ListDatasetImportJobsResult
ListDatasetImportJobsResult()
Aws::Personalize::Model::ListDatasetImportJobsResult::AddDatasetImportJobs
ListDatasetImportJobsResult & AddDatasetImportJobs(const DatasetImportJobSummary &value)
Definition: ListDatasetImportJobsResult.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::ListDatasetImportJobsResult
Definition: ListDatasetImportJobsResult.h:30
Aws::Personalize::Model::ListDatasetImportJobsResult::WithNextToken
ListDatasetImportJobsResult & WithNextToken(const Aws::String &value)
Definition: ListDatasetImportJobsResult.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::ListDatasetImportJobsResult::WithDatasetImportJobs
ListDatasetImportJobsResult & WithDatasetImportJobs(Aws::Vector< DatasetImportJobSummary > &&value)
Definition: ListDatasetImportJobsResult.h:60
Personalize_EXPORTS.h
Aws::Personalize::Model::ListDatasetImportJobsResult::SetDatasetImportJobs
void SetDatasetImportJobs(const Aws::Vector< DatasetImportJobSummary > &value)
Definition: ListDatasetImportJobsResult.h:45
Aws::Personalize::Model::ListDatasetImportJobsResult::AddDatasetImportJobs
ListDatasetImportJobsResult & AddDatasetImportJobs(DatasetImportJobSummary &&value)
Definition: ListDatasetImportJobsResult.h:70