AWS SDK for C++  1.9.108
AWS SDK for C++
StartModelResult.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 ModelHostingStatus& GetStatus() const{ return m_status; }
39 
43  inline void SetStatus(const ModelHostingStatus& value) { m_status = value; }
44 
48  inline void SetStatus(ModelHostingStatus&& value) { m_status = std::move(value); }
49 
53  inline StartModelResult& WithStatus(const ModelHostingStatus& value) { SetStatus(value); return *this;}
54 
58  inline StartModelResult& WithStatus(ModelHostingStatus&& value) { SetStatus(std::move(value)); return *this;}
59 
60  private:
61 
62  ModelHostingStatus m_status;
63  };
64 
65 } // namespace Model
66 } // namespace LookoutforVision
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LookoutforVision::Model::StartModelResult::WithStatus
StartModelResult & WithStatus(ModelHostingStatus &&value)
Definition: StartModelResult.h:58
Aws::LookoutforVision::Model::StartModelResult::GetStatus
const ModelHostingStatus & GetStatus() const
Definition: StartModelResult.h:38
Aws::LookoutforVision::Model::StartModelResult::operator=
StartModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LookoutforVision::Model::StartModelResult
Definition: StartModelResult.h:28
Aws::LookoutforVision::Model::StartModelResult::StartModelResult
StartModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LookoutforVision::Model::ModelHostingStatus
ModelHostingStatus
Definition: ModelHostingStatus.h:17
LookoutforVision_EXPORTS.h
Aws::LookoutforVision::Model::StartModelResult::StartModelResult
StartModelResult()
Aws::LookoutforVision::Model::StartModelResult::WithStatus
StartModelResult & WithStatus(const ModelHostingStatus &value)
Definition: StartModelResult.h:53
Aws::LookoutforVision::Model::StartModelResult::SetStatus
void SetStatus(const ModelHostingStatus &value)
Definition: StartModelResult.h:43
Aws
Definition: AccessManagementClient.h:15
ModelHostingStatus.h
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::StartModelResult::SetStatus
void SetStatus(ModelHostingStatus &&value)
Definition: StartModelResult.h:48