AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeEvaluationsResult.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 
47  inline const Aws::Vector<Evaluation>& GetResults() const{ return m_results; }
48 
52  inline void SetResults(const Aws::Vector<Evaluation>& value) { m_results = value; }
53 
57  inline void SetResults(Aws::Vector<Evaluation>&& value) { m_results = std::move(value); }
58 
62  inline DescribeEvaluationsResult& WithResults(const Aws::Vector<Evaluation>& value) { SetResults(value); return *this;}
63 
67  inline DescribeEvaluationsResult& WithResults(Aws::Vector<Evaluation>&& value) { SetResults(std::move(value)); return *this;}
68 
72  inline DescribeEvaluationsResult& AddResults(const Evaluation& value) { m_results.push_back(value); return *this; }
73 
77  inline DescribeEvaluationsResult& AddResults(Evaluation&& value) { m_results.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline DescribeEvaluationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline DescribeEvaluationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline DescribeEvaluationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
124  Aws::Vector<Evaluation> m_results;
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace MachineLearning
131 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::DescribeEvaluationsResult::WithResults
DescribeEvaluationsResult & WithResults(Aws::Vector< Evaluation > &&value)
Definition: DescribeEvaluationsResult.h:67
Aws::MachineLearning::Model::DescribeEvaluationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeEvaluationsResult.h:84
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::DescribeEvaluationsResult::GetResults
const Aws::Vector< Evaluation > & GetResults() const
Definition: DescribeEvaluationsResult.h:47
Aws::MachineLearning::Model::DescribeEvaluationsResult::operator=
DescribeEvaluationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MachineLearning::Model::DescribeEvaluationsResult::WithResults
DescribeEvaluationsResult & WithResults(const Aws::Vector< Evaluation > &value)
Definition: DescribeEvaluationsResult.h:62
AWSVector.h
Aws::MachineLearning::Model::DescribeEvaluationsResult::DescribeEvaluationsResult
DescribeEvaluationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::DescribeEvaluationsResult::AddResults
DescribeEvaluationsResult & AddResults(Evaluation &&value)
Definition: DescribeEvaluationsResult.h:77
Aws::MachineLearning::Model::DescribeEvaluationsResult::WithNextToken
DescribeEvaluationsResult & WithNextToken(const char *value)
Definition: DescribeEvaluationsResult.h:120
Aws::MachineLearning::Model::Evaluation
Definition: Evaluation.h:37
Aws::MachineLearning::Model::DescribeEvaluationsResult::DescribeEvaluationsResult
DescribeEvaluationsResult()
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::DescribeEvaluationsResult::SetResults
void SetResults(Aws::Vector< Evaluation > &&value)
Definition: DescribeEvaluationsResult.h:57
Aws::MachineLearning::Model::DescribeEvaluationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeEvaluationsResult.h:96
Aws::MachineLearning::Model::DescribeEvaluationsResult::AddResults
DescribeEvaluationsResult & AddResults(const Evaluation &value)
Definition: DescribeEvaluationsResult.h:72
AWSString.h
Aws::MachineLearning::Model::DescribeEvaluationsResult::WithNextToken
DescribeEvaluationsResult & WithNextToken(const Aws::String &value)
Definition: DescribeEvaluationsResult.h:108
Aws::MachineLearning::Model::DescribeEvaluationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeEvaluationsResult.h:102
Aws::MachineLearning::Model::DescribeEvaluationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeEvaluationsResult.h:90
Aws::MachineLearning::Model::DescribeEvaluationsResult::WithNextToken
DescribeEvaluationsResult & WithNextToken(Aws::String &&value)
Definition: DescribeEvaluationsResult.h:114
Aws::MachineLearning::Model::DescribeEvaluationsResult::SetResults
void SetResults(const Aws::Vector< Evaluation > &value)
Definition: DescribeEvaluationsResult.h:52
Evaluation.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::DescribeEvaluationsResult
Definition: DescribeEvaluationsResult.h:37