AWS SDK for C++  0.12.9
AWS SDK for C++
CreateRealtimeEndpointResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace MachineLearning
33 {
34 namespace Model
35 {
45  {
46  public:
50 
56  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
57 
63  inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
64 
70  inline void SetMLModelId(Aws::String&& value) { m_mLModelId = value; }
71 
77  inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
78 
84  inline CreateRealtimeEndpointResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
85 
91  inline CreateRealtimeEndpointResult& WithMLModelId(Aws::String&& value) { SetMLModelId(value); return *this;}
92 
98  inline CreateRealtimeEndpointResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
99 
103  inline const RealtimeEndpointInfo& GetRealtimeEndpointInfo() const{ return m_realtimeEndpointInfo; }
104 
108  inline void SetRealtimeEndpointInfo(const RealtimeEndpointInfo& value) { m_realtimeEndpointInfo = value; }
109 
113  inline void SetRealtimeEndpointInfo(RealtimeEndpointInfo&& value) { m_realtimeEndpointInfo = value; }
114 
118  inline CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(const RealtimeEndpointInfo& value) { SetRealtimeEndpointInfo(value); return *this;}
119 
123  inline CreateRealtimeEndpointResult& WithRealtimeEndpointInfo(RealtimeEndpointInfo&& value) { SetRealtimeEndpointInfo(value); return *this;}
124 
125  private:
126  Aws::String m_mLModelId;
127  RealtimeEndpointInfo m_realtimeEndpointInfo;
128  };
129 
130 } // namespace Model
131 } // namespace MachineLearning
132 } // namespace Aws
CreateRealtimeEndpointResult & WithMLModelId(const char *value)
CreateRealtimeEndpointResult & WithRealtimeEndpointInfo(RealtimeEndpointInfo &&value)
CreateRealtimeEndpointResult & WithRealtimeEndpointInfo(const RealtimeEndpointInfo &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateRealtimeEndpointResult & WithMLModelId(const Aws::String &value)
CreateRealtimeEndpointResult & WithMLModelId(Aws::String &&value)
#define AWS_MACHINELEARNING_API
JSON (JavaScript Object Notation).