AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeBatchPredictionsResult.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 MachineLearning
26 {
27 namespace Model
28 {
37  {
38  public:
42 
43 
48  inline const Aws::Vector<BatchPrediction>& GetResults() const{ return m_results; }
49 
54  inline void SetResults(const Aws::Vector<BatchPrediction>& value) { m_results = value; }
55 
60  inline void SetResults(Aws::Vector<BatchPrediction>&& value) { m_results = std::move(value); }
61 
66  inline DescribeBatchPredictionsResult& WithResults(const Aws::Vector<BatchPrediction>& value) { SetResults(value); return *this;}
67 
72  inline DescribeBatchPredictionsResult& WithResults(Aws::Vector<BatchPrediction>&& value) { SetResults(std::move(value)); return *this;}
73 
78  inline DescribeBatchPredictionsResult& AddResults(const BatchPrediction& value) { m_results.push_back(value); return *this; }
79 
84  inline DescribeBatchPredictionsResult& AddResults(BatchPrediction&& value) { m_results.push_back(std::move(value)); return *this; }
85 
86 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
97  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
98 
103  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
104 
109  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
110 
115  inline DescribeBatchPredictionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 
121  inline DescribeBatchPredictionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
122 
127  inline DescribeBatchPredictionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace MachineLearning
138 } // namespace Aws
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::SetResults
void SetResults(Aws::Vector< BatchPrediction > &&value)
Definition: DescribeBatchPredictionsResult.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::DescribeBatchPredictionsResult
DescribeBatchPredictionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::WithNextToken
DescribeBatchPredictionsResult & WithNextToken(Aws::String &&value)
Definition: DescribeBatchPredictionsResult.h:121
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::SetResults
void SetResults(const Aws::Vector< BatchPrediction > &value)
Definition: DescribeBatchPredictionsResult.h:54
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::DescribeBatchPredictionsResult
Definition: DescribeBatchPredictionsResult.h:37
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeBatchPredictionsResult.h:97
AWSVector.h
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::AddResults
DescribeBatchPredictionsResult & AddResults(BatchPrediction &&value)
Definition: DescribeBatchPredictionsResult.h:84
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeBatchPredictionsResult.h:109
Aws::MachineLearning::Model::BatchPrediction
Definition: BatchPrediction.h:36
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::WithNextToken
DescribeBatchPredictionsResult & WithNextToken(const Aws::String &value)
Definition: DescribeBatchPredictionsResult.h:115
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeBatchPredictionsResult.h:103
AWSString.h
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::WithResults
DescribeBatchPredictionsResult & WithResults(const Aws::Vector< BatchPrediction > &value)
Definition: DescribeBatchPredictionsResult.h:66
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeBatchPredictionsResult.h:91
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::operator=
DescribeBatchPredictionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::AddResults
DescribeBatchPredictionsResult & AddResults(const BatchPrediction &value)
Definition: DescribeBatchPredictionsResult.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::GetResults
const Aws::Vector< BatchPrediction > & GetResults() const
Definition: DescribeBatchPredictionsResult.h:48
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::DescribeBatchPredictionsResult
DescribeBatchPredictionsResult()
BatchPrediction.h
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::WithResults
DescribeBatchPredictionsResult & WithResults(Aws::Vector< BatchPrediction > &&value)
Definition: DescribeBatchPredictionsResult.h:72
Aws::MachineLearning::Model::DescribeBatchPredictionsResult::WithNextToken
DescribeBatchPredictionsResult & WithNextToken(const char *value)
Definition: DescribeBatchPredictionsResult.h:127