AWS SDK for C++  1.9.108
AWS SDK for C++
CreateRealtimeEndpointResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace MachineLearning
25 {
26 namespace Model
27 {
39  {
40  public:
44 
45 
51  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
52 
58  inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
59 
65  inline void SetMLModelId(Aws::String&& value) { m_mLModelId = std::move(value); }
66 
72  inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
73 
79  inline CreateRealtimeEndpointResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
80 
86  inline CreateRealtimeEndpointResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
87 
93  inline CreateRealtimeEndpointResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
94 
95 
99  inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const{ return m_realtimeEndpointInfo; }
100 
104  inline void SetRealtimeEndpointInfo(const RealtimeEndpointInfo& value) { m_realtimeEndpointInfo = value; }
105 
109  inline void SetRealtimeEndpointInfo(RealtimeEndpointInfo&& value) { m_realtimeEndpointInfo = std::move(value); }
110 
114  inline CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(const RealtimeEndpointInfo& value) { SetRealtimeEndpointInfo(value); return *this;}
115 
119  inline CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(RealtimeEndpointInfo&& value) { SetRealtimeEndpointInfo(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_mLModelId;
124 
125  RealtimeEndpointInfo m_realtimeEndpointInfo;
126  };
127 
128 } // namespace Model
129 } // namespace MachineLearning
130 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: CreateRealtimeEndpointResult.h:58
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: CreateRealtimeEndpointResult.h:65
Aws::MachineLearning::Model::CreateRealtimeEndpointResult
Definition: CreateRealtimeEndpointResult.h:39
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::CreateRealtimeEndpointResult
CreateRealtimeEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::GetRealtimeEndpointInfo
const RealtimeEndpointInfo & GetRealtimeEndpointInfo() const
Definition: CreateRealtimeEndpointResult.h:99
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: CreateRealtimeEndpointResult.h:51
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::CreateRealtimeEndpointResult
CreateRealtimeEndpointResult()
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::operator=
CreateRealtimeEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::SetRealtimeEndpointInfo
void SetRealtimeEndpointInfo(const RealtimeEndpointInfo &value)
Definition: CreateRealtimeEndpointResult.h:104
AWSString.h
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::SetMLModelId
void SetMLModelId(const char *value)
Definition: CreateRealtimeEndpointResult.h:72
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::WithRealtimeEndpointInfo
CreateRealtimeEndpointResult & WithRealtimeEndpointInfo(RealtimeEndpointInfo &&value)
Definition: CreateRealtimeEndpointResult.h:119
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::WithMLModelId
CreateRealtimeEndpointResult & WithMLModelId(const char *value)
Definition: CreateRealtimeEndpointResult.h:93
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::SetRealtimeEndpointInfo
void SetRealtimeEndpointInfo(RealtimeEndpointInfo &&value)
Definition: CreateRealtimeEndpointResult.h:109
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::RealtimeEndpointInfo
Definition: RealtimeEndpointInfo.h:35
RealtimeEndpointInfo.h
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::WithRealtimeEndpointInfo
CreateRealtimeEndpointResult & WithRealtimeEndpointInfo(const RealtimeEndpointInfo &value)
Definition: CreateRealtimeEndpointResult.h:114
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::WithMLModelId
CreateRealtimeEndpointResult & WithMLModelId(const Aws::String &value)
Definition: CreateRealtimeEndpointResult.h:79
Aws::MachineLearning::Model::CreateRealtimeEndpointResult::WithMLModelId
CreateRealtimeEndpointResult & WithMLModelId(Aws::String &&value)
Definition: CreateRealtimeEndpointResult.h:86