AWS SDK for C++  1.9.109
AWS SDK for C++
CreateBatchPredictionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace MachineLearning
24 {
25 namespace Model
26 {
38  {
39  public:
43 
44 
50  inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
51 
57  inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionId = value; }
58 
64  inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionId = std::move(value); }
65 
71  inline void SetBatchPredictionId(const char* value) { m_batchPredictionId.assign(value); }
72 
78  inline CreateBatchPredictionResult& WithBatchPredictionId(const Aws::String& value) { SetBatchPredictionId(value); return *this;}
79 
85  inline CreateBatchPredictionResult& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
86 
92  inline CreateBatchPredictionResult& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
93 
94  private:
95 
96  Aws::String m_batchPredictionId;
97  };
98 
99 } // namespace Model
100 } // namespace MachineLearning
101 } // namespace Aws
Aws::MachineLearning::Model::CreateBatchPredictionResult
Definition: CreateBatchPredictionResult.h:38
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::CreateBatchPredictionResult::operator=
CreateBatchPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateBatchPredictionResult::GetBatchPredictionId
const Aws::String & GetBatchPredictionId() const
Definition: CreateBatchPredictionResult.h:50
Aws::MachineLearning::Model::CreateBatchPredictionResult::WithBatchPredictionId
CreateBatchPredictionResult & WithBatchPredictionId(const char *value)
Definition: CreateBatchPredictionResult.h:92
Aws::MachineLearning::Model::CreateBatchPredictionResult::SetBatchPredictionId
void SetBatchPredictionId(const char *value)
Definition: CreateBatchPredictionResult.h:71
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
AWSString.h
Aws::MachineLearning::Model::CreateBatchPredictionResult::SetBatchPredictionId
void SetBatchPredictionId(Aws::String &&value)
Definition: CreateBatchPredictionResult.h:64
Aws::MachineLearning::Model::CreateBatchPredictionResult::CreateBatchPredictionResult
CreateBatchPredictionResult()
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateBatchPredictionResult::CreateBatchPredictionResult
CreateBatchPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MachineLearning::Model::CreateBatchPredictionResult::WithBatchPredictionId
CreateBatchPredictionResult & WithBatchPredictionId(Aws::String &&value)
Definition: CreateBatchPredictionResult.h:85
Aws::MachineLearning::Model::CreateBatchPredictionResult::WithBatchPredictionId
CreateBatchPredictionResult & WithBatchPredictionId(const Aws::String &value)
Definition: CreateBatchPredictionResult.h:78
Aws::MachineLearning::Model::CreateBatchPredictionResult::SetBatchPredictionId
void SetBatchPredictionId(const Aws::String &value)
Definition: CreateBatchPredictionResult.h:57