AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateActiveModelVersionResult.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LookoutEquipment
24{
25namespace Model
26{
28 {
29 public:
30 AWS_LOOKOUTEQUIPMENT_API UpdateActiveModelVersionResult();
33
34
36
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 UpdateActiveModelVersionResult& WithModelName(const Aws::String& value) { SetModelName(value); return *this;}
45 inline UpdateActiveModelVersionResult& WithModelName(Aws::String&& value) { SetModelName(std::move(value)); return *this;}
46 inline UpdateActiveModelVersionResult& WithModelName(const char* value) { SetModelName(value); return *this;}
48
50
54 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
55 inline void SetModelArn(const Aws::String& value) { m_modelArn = value; }
56 inline void SetModelArn(Aws::String&& value) { m_modelArn = std::move(value); }
57 inline void SetModelArn(const char* value) { m_modelArn.assign(value); }
58 inline UpdateActiveModelVersionResult& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
59 inline UpdateActiveModelVersionResult& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
60 inline UpdateActiveModelVersionResult& WithModelArn(const char* value) { SetModelArn(value); return *this;}
62
64
68 inline long long GetCurrentActiveVersion() const{ return m_currentActiveVersion; }
69 inline void SetCurrentActiveVersion(long long value) { m_currentActiveVersion = value; }
72
74
78 inline long long GetPreviousActiveVersion() const{ return m_previousActiveVersion; }
79 inline void SetPreviousActiveVersion(long long value) { m_previousActiveVersion = value; }
82
84
88 inline const Aws::String& GetCurrentActiveVersionArn() const{ return m_currentActiveVersionArn; }
89 inline void SetCurrentActiveVersionArn(const Aws::String& value) { m_currentActiveVersionArn = value; }
90 inline void SetCurrentActiveVersionArn(Aws::String&& value) { m_currentActiveVersionArn = std::move(value); }
91 inline void SetCurrentActiveVersionArn(const char* value) { m_currentActiveVersionArn.assign(value); }
96
98
102 inline const Aws::String& GetPreviousActiveVersionArn() const{ return m_previousActiveVersionArn; }
103 inline void SetPreviousActiveVersionArn(const Aws::String& value) { m_previousActiveVersionArn = value; }
104 inline void SetPreviousActiveVersionArn(Aws::String&& value) { m_previousActiveVersionArn = std::move(value); }
105 inline void SetPreviousActiveVersionArn(const char* value) { m_previousActiveVersionArn.assign(value); }
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline UpdateActiveModelVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline UpdateActiveModelVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline UpdateActiveModelVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::String m_modelName;
124
125 Aws::String m_modelArn;
126
127 long long m_currentActiveVersion;
128
129 long long m_previousActiveVersion;
130
131 Aws::String m_currentActiveVersionArn;
132
133 Aws::String m_previousActiveVersionArn;
134
135 Aws::String m_requestId;
136 };
137
138} // namespace Model
139} // namespace LookoutEquipment
140} // namespace Aws
AWS_LOOKOUTEQUIPMENT_API UpdateActiveModelVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateActiveModelVersionResult & WithModelArn(Aws::String &&value)
UpdateActiveModelVersionResult & WithRequestId(const Aws::String &value)
UpdateActiveModelVersionResult & WithRequestId(const char *value)
UpdateActiveModelVersionResult & WithModelArn(const Aws::String &value)
UpdateActiveModelVersionResult & WithPreviousActiveVersion(long long value)
UpdateActiveModelVersionResult & WithCurrentActiveVersion(long long value)
UpdateActiveModelVersionResult & WithModelName(Aws::String &&value)
UpdateActiveModelVersionResult & WithModelName(const char *value)
UpdateActiveModelVersionResult & WithCurrentActiveVersionArn(const char *value)
UpdateActiveModelVersionResult & WithPreviousActiveVersionArn(const Aws::String &value)
UpdateActiveModelVersionResult & WithPreviousActiveVersionArn(const char *value)
UpdateActiveModelVersionResult & WithModelArn(const char *value)
UpdateActiveModelVersionResult & WithPreviousActiveVersionArn(Aws::String &&value)
UpdateActiveModelVersionResult & WithCurrentActiveVersionArn(const Aws::String &value)
UpdateActiveModelVersionResult & WithModelName(const Aws::String &value)
UpdateActiveModelVersionResult & WithRequestId(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API UpdateActiveModelVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateActiveModelVersionResult & WithCurrentActiveVersionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue