AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBatchPredictionResult.h
1
6#pragma once
7#include <aws/machinelearning/MachineLearning_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MachineLearning
24{
25namespace Model
26{
38 {
39 public:
40 AWS_MACHINELEARNING_API CreateBatchPredictionResult();
43
44
46
51 inline const Aws::String& GetBatchPredictionId() const{ return m_batchPredictionId; }
52 inline void SetBatchPredictionId(const Aws::String& value) { m_batchPredictionId = value; }
53 inline void SetBatchPredictionId(Aws::String&& value) { m_batchPredictionId = std::move(value); }
54 inline void SetBatchPredictionId(const char* value) { m_batchPredictionId.assign(value); }
56 inline CreateBatchPredictionResult& WithBatchPredictionId(Aws::String&& value) { SetBatchPredictionId(std::move(value)); return *this;}
57 inline CreateBatchPredictionResult& WithBatchPredictionId(const char* value) { SetBatchPredictionId(value); return *this;}
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline CreateBatchPredictionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline CreateBatchPredictionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline CreateBatchPredictionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70 private:
71
72 Aws::String m_batchPredictionId;
73
74 Aws::String m_requestId;
75 };
76
77} // namespace Model
78} // namespace MachineLearning
79} // namespace Aws
CreateBatchPredictionResult & WithBatchPredictionId(Aws::String &&value)
CreateBatchPredictionResult & WithRequestId(const char *value)
AWS_MACHINELEARNING_API CreateBatchPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MACHINELEARNING_API CreateBatchPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBatchPredictionResult & WithRequestId(Aws::String &&value)
CreateBatchPredictionResult & WithBatchPredictionId(const char *value)
CreateBatchPredictionResult & WithBatchPredictionId(const Aws::String &value)
CreateBatchPredictionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue