AWS SDK for C++  1.9.66
AWS SDK for C++
UpdateModelVersionStatusRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace FraudDetector
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateModelVersionStatus"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetModelId() const{ return m_modelId; }
43 
47  inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
48 
52  inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
53 
57  inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
58 
62  inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
63 
67  inline UpdateModelVersionStatusRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
68 
72  inline UpdateModelVersionStatusRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
73 
77  inline UpdateModelVersionStatusRequest& WithModelId(const char* value) { SetModelId(value); return *this;}
78 
79 
83  inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
84 
88  inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
89 
93  inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
94 
98  inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
99 
103  inline UpdateModelVersionStatusRequest& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
104 
108  inline UpdateModelVersionStatusRequest& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
109 
110 
114  inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
115 
119  inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
120 
124  inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; }
125 
129  inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); }
130 
134  inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); }
135 
139  inline UpdateModelVersionStatusRequest& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
140 
144  inline UpdateModelVersionStatusRequest& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
145 
149  inline UpdateModelVersionStatusRequest& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
150 
151 
155  inline const ModelVersionStatus& GetStatus() const{ return m_status; }
156 
160  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
161 
165  inline void SetStatus(const ModelVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
166 
170  inline void SetStatus(ModelVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
171 
175  inline UpdateModelVersionStatusRequest& WithStatus(const ModelVersionStatus& value) { SetStatus(value); return *this;}
176 
180  inline UpdateModelVersionStatusRequest& WithStatus(ModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
181 
182  private:
183 
184  Aws::String m_modelId;
185  bool m_modelIdHasBeenSet;
186 
187  ModelTypeEnum m_modelType;
188  bool m_modelTypeHasBeenSet;
189 
190  Aws::String m_modelVersionNumber;
191  bool m_modelVersionNumberHasBeenSet;
192 
193  ModelVersionStatus m_status;
194  bool m_statusHasBeenSet;
195  };
196 
197 } // namespace Model
198 } // namespace FraudDetector
199 } // namespace Aws
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::ModelIdHasBeenSet
bool ModelIdHasBeenSet() const
Definition: UpdateModelVersionStatusRequest.h:47
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelType
UpdateModelVersionStatusRequest & WithModelType(ModelTypeEnum &&value)
Definition: UpdateModelVersionStatusRequest.h:108
FraudDetectorRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::GetModelId
const Aws::String & GetModelId() const
Definition: UpdateModelVersionStatusRequest.h:42
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest
Definition: UpdateModelVersionStatusRequest.h:24
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelId
void SetModelId(Aws::String &&value)
Definition: UpdateModelVersionStatusRequest.h:57
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelVersionNumber
void SetModelVersionNumber(const char *value)
Definition: UpdateModelVersionStatusRequest.h:134
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelVersionNumber
UpdateModelVersionStatusRequest & WithModelVersionNumber(const Aws::String &value)
Definition: UpdateModelVersionStatusRequest.h:139
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
ModelTypeEnum.h
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelId
void SetModelId(const char *value)
Definition: UpdateModelVersionStatusRequest.h:62
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelVersionNumber
UpdateModelVersionStatusRequest & WithModelVersionNumber(Aws::String &&value)
Definition: UpdateModelVersionStatusRequest.h:144
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelId
UpdateModelVersionStatusRequest & WithModelId(const Aws::String &value)
Definition: UpdateModelVersionStatusRequest.h:67
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::UpdateModelVersionStatusRequest
UpdateModelVersionStatusRequest()
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetStatus
void SetStatus(const ModelVersionStatus &value)
Definition: UpdateModelVersionStatusRequest.h:165
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::GetStatus
const ModelVersionStatus & GetStatus() const
Definition: UpdateModelVersionStatusRequest.h:155
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateModelVersionStatusRequest.h:32
ModelVersionStatus.h
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::ModelTypeHasBeenSet
bool ModelTypeHasBeenSet() const
Definition: UpdateModelVersionStatusRequest.h:88
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithStatus
UpdateModelVersionStatusRequest & WithStatus(const ModelVersionStatus &value)
Definition: UpdateModelVersionStatusRequest.h:175
AWSString.h
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelType
UpdateModelVersionStatusRequest & WithModelType(const ModelTypeEnum &value)
Definition: UpdateModelVersionStatusRequest.h:103
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelId
UpdateModelVersionStatusRequest & WithModelId(const char *value)
Definition: UpdateModelVersionStatusRequest.h:77
Aws::FraudDetector::Model::ModelVersionStatus
ModelVersionStatus
Definition: ModelVersionStatus.h:17
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UpdateModelVersionStatusRequest.h:160
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelId
UpdateModelVersionStatusRequest & WithModelId(Aws::String &&value)
Definition: UpdateModelVersionStatusRequest.h:72
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::ModelVersionNumberHasBeenSet
bool ModelVersionNumberHasBeenSet() const
Definition: UpdateModelVersionStatusRequest.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetStatus
void SetStatus(ModelVersionStatus &&value)
Definition: UpdateModelVersionStatusRequest.h:170
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelVersionNumber
void SetModelVersionNumber(const Aws::String &value)
Definition: UpdateModelVersionStatusRequest.h:124
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: UpdateModelVersionStatusRequest.h:93
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::GetModelVersionNumber
const Aws::String & GetModelVersionNumber() const
Definition: UpdateModelVersionStatusRequest.h:114
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: UpdateModelVersionStatusRequest.h:98
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelVersionNumber
void SetModelVersionNumber(Aws::String &&value)
Definition: UpdateModelVersionStatusRequest.h:129
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithModelVersionNumber
UpdateModelVersionStatusRequest & WithModelVersionNumber(const char *value)
Definition: UpdateModelVersionStatusRequest.h:149
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::SetModelId
void SetModelId(const Aws::String &value)
Definition: UpdateModelVersionStatusRequest.h:52
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: UpdateModelVersionStatusRequest.h:83
Aws::FraudDetector::Model::UpdateModelVersionStatusRequest::WithStatus
UpdateModelVersionStatusRequest & WithStatus(ModelVersionStatus &&value)
Definition: UpdateModelVersionStatusRequest.h:180