AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportModelVersionResult.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/model/ModelVersionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LookoutEquipment
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LOOKOUTEQUIPMENT_API ImportModelVersionResult();
34
35
37
40 inline const Aws::String& GetModelName() const{ return m_modelName; }
41 inline void SetModelName(const Aws::String& value) { m_modelName = value; }
42 inline void SetModelName(Aws::String&& value) { m_modelName = std::move(value); }
43 inline void SetModelName(const char* value) { m_modelName.assign(value); }
44 inline ImportModelVersionResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
45 inline ImportModelVersionResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
46 inline ImportModelVersionResult& WithModelName(const char* value) { SetModelName(value); return *this;}
48
50
53 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
54 inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
55 inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
56 inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
57 inline ImportModelVersionResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
58 inline ImportModelVersionResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
59 inline ImportModelVersionResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
61
63
66 inline const Aws::String& GetModelVersionArn() const{ return m_modelVersionArn; }
67 inline void SetModelVersionArn(const Aws::String& value) { m_modelVersionArn = value; }
68 inline void SetModelVersionArn(Aws::String&& value) { m_modelVersionArn = std::move(value); }
69 inline void SetModelVersionArn(const char* value) { m_modelVersionArn.assign(value); }
70 inline ImportModelVersionResult& WithModelVersionArn(const Aws::String& value) { SetModelVersionArn(value); return *this;}
71 inline ImportModelVersionResult& WithModelVersionArn(Aws::String&& value) { SetModelVersionArn(std::move(value)); return *this;}
72 inline ImportModelVersionResult& WithModelVersionArn(const char* value) { SetModelVersionArn(value); return *this;}
74
76
79 inline long long GetModelVersion() const{ return m_modelVersion; }
80 inline void SetModelVersion(long long value) { m_modelVersion = value; }
81 inline ImportModelVersionResult& WithModelVersion(long long value) { SetModelVersion(value); return *this;}
83
85
88 inline const ModelVersionStatus& GetStatus() const{ return m_status; }
89 inline void SetStatus(const ModelVersionStatus& value) { m_status = value; }
90 inline void SetStatus(ModelVersionStatus&& value) { m_status = std::move(value); }
91 inline ImportModelVersionResult& WithStatus(const ModelVersionStatus& value) { SetStatus(value); return *this;}
92 inline ImportModelVersionResult& WithStatus(ModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const{ return m_requestId; }
98 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
99 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
100 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
101 inline ImportModelVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
102 inline ImportModelVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
103 inline ImportModelVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
105 private:
106
107 Aws::String m_modelName;
108
109 Aws::String m_modelArn;
110
111 Aws::String m_modelVersionArn;
112
113 long long m_modelVersion;
114
115 ModelVersionStatus m_status;
116
117 Aws::String m_requestId;
118 };
119
120} // namespace Model
121} // namespace LookoutEquipment
122} // namespace Aws
ImportModelVersionResult & WithRequestId(Aws::String &&value)
ImportModelVersionResult & WithModelName(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API ImportModelVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportModelVersionResult & WithModelVersion(long long value)
ImportModelVersionResult & WithModelName(const Aws::String &value)
ImportModelVersionResult & WithModelArn(Aws::String &&value)
ImportModelVersionResult & WithModelVersionArn(const Aws::String &value)
ImportModelVersionResult & WithModelName(const char *value)
ImportModelVersionResult & WithRequestId(const Aws::String &value)
ImportModelVersionResult & WithRequestId(const char *value)
ImportModelVersionResult & WithModelVersionArn(Aws::String &&value)
ImportModelVersionResult & WithModelArn(const char *value)
ImportModelVersionResult & WithModelArn(const Aws::String &value)
AWS_LOOKOUTEQUIPMENT_API ImportModelVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportModelVersionResult & WithModelVersionArn(const char *value)
ImportModelVersionResult & WithStatus(const ModelVersionStatus &value)
ImportModelVersionResult & WithStatus(ModelVersionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue