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