AWS SDK for C++  1.9.108
AWS SDK for C++
CreateModelResult.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 LookoutforVision
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const ModelMetadata& GetModelMetadata() const{ return m_modelMetadata; }
39 
43  inline void SetModelMetadata(const ModelMetadata& value) { m_modelMetadata = value; }
44 
48  inline void SetModelMetadata(ModelMetadata&& value) { m_modelMetadata = std::move(value); }
49 
53  inline CreateModelResult& WithModelMetadata(const ModelMetadata& value) { SetModelMetadata(value); return *this;}
54 
58  inline CreateModelResult& WithModelMetadata(ModelMetadata&& value) { SetModelMetadata(std::move(value)); return *this;}
59 
60  private:
61 
62  ModelMetadata m_modelMetadata;
63  };
64 
65 } // namespace Model
66 } // namespace LookoutforVision
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LookoutforVision::Model::CreateModelResult::CreateModelResult
CreateModelResult()
Aws::LookoutforVision::Model::CreateModelResult::GetModelMetadata
const ModelMetadata & GetModelMetadata() const
Definition: CreateModelResult.h:38
Aws::LookoutforVision::Model::CreateModelResult
Definition: CreateModelResult.h:28
ModelMetadata.h
Aws::LookoutforVision::Model::CreateModelResult::WithModelMetadata
CreateModelResult & WithModelMetadata(ModelMetadata &&value)
Definition: CreateModelResult.h:58
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::ModelMetadata
Definition: ModelMetadata.h:35
Aws::LookoutforVision::Model::CreateModelResult::WithModelMetadata
CreateModelResult & WithModelMetadata(const ModelMetadata &value)
Definition: CreateModelResult.h:53
Aws::LookoutforVision::Model::CreateModelResult::operator=
CreateModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LookoutforVision::Model::CreateModelResult::SetModelMetadata
void SetModelMetadata(ModelMetadata &&value)
Definition: CreateModelResult.h:48
Aws::LookoutforVision::Model::CreateModelResult::SetModelMetadata
void SetModelMetadata(const ModelMetadata &value)
Definition: CreateModelResult.h:43
Aws
Definition: AccessManagementClient.h:15
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::CreateModelResult::CreateModelResult
CreateModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)