AWS SDK for C++  1.9.109
AWS SDK for C++
CreateMLModelResult.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 {
37  {
38  public:
42 
43 
49  inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
50 
56  inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
57 
63  inline void SetMLModelId(Aws::String&& value) { m_mLModelId = std::move(value); }
64 
70  inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
71 
77  inline CreateMLModelResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
78 
84  inline CreateMLModelResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
85 
91  inline CreateMLModelResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
92 
93  private:
94 
95  Aws::String m_mLModelId;
96  };
97 
98 } // namespace Model
99 } // namespace MachineLearning
100 } // namespace Aws
Aws::MachineLearning::Model::CreateMLModelResult::GetMLModelId
const Aws::String & GetMLModelId() const
Definition: CreateMLModelResult.h:49
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MachineLearning::Model::CreateMLModelResult::WithMLModelId
CreateMLModelResult & WithMLModelId(const char *value)
Definition: CreateMLModelResult.h:91
Aws::MachineLearning::Model::CreateMLModelResult::SetMLModelId
void SetMLModelId(const Aws::String &value)
Definition: CreateMLModelResult.h:56
Aws::MachineLearning::Model::CreateMLModelResult::CreateMLModelResult
CreateMLModelResult()
MachineLearning_EXPORTS.h
Aws::MachineLearning::Model::CreateMLModelResult::WithMLModelId
CreateMLModelResult & WithMLModelId(Aws::String &&value)
Definition: CreateMLModelResult.h:84
Aws::MachineLearning::Model::CreateMLModelResult::operator=
CreateMLModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MachineLearning::Model::CreateMLModelResult::SetMLModelId
void SetMLModelId(const char *value)
Definition: CreateMLModelResult.h:70
AWS_MACHINELEARNING_API
#define AWS_MACHINELEARNING_API
Definition: MachineLearning_EXPORTS.h:28
Aws::MachineLearning::Model::CreateMLModelResult
Definition: CreateMLModelResult.h:37
AWSString.h
Aws::MachineLearning::Model::CreateMLModelResult::WithMLModelId
CreateMLModelResult & WithMLModelId(const Aws::String &value)
Definition: CreateMLModelResult.h:77
Aws::MachineLearning::Model::CreateMLModelResult::SetMLModelId
void SetMLModelId(Aws::String &&value)
Definition: CreateMLModelResult.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::MachineLearning::Model::CreateMLModelResult::CreateMLModelResult
CreateMLModelResult(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