AWS SDK for C++  1.9.104
AWS SDK for C++
DeleteModelVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace FraudDetector
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DeleteModelVersion"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetModelId() const{ return m_modelId; }
42 
46  inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
47 
51  inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
52 
56  inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
57 
61  inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
62 
66  inline DeleteModelVersionRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
67 
71  inline DeleteModelVersionRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
72 
76  inline DeleteModelVersionRequest& WithModelId(const char* value) { SetModelId(value); return *this;}
77 
78 
82  inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
83 
87  inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
88 
92  inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
93 
97  inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
98 
102  inline DeleteModelVersionRequest& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
103 
107  inline DeleteModelVersionRequest& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
108 
109 
113  inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
114 
118  inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
119 
123  inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; }
124 
128  inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); }
129 
133  inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); }
134 
138  inline DeleteModelVersionRequest& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
139 
143  inline DeleteModelVersionRequest& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
144 
148  inline DeleteModelVersionRequest& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
149 
150  private:
151 
152  Aws::String m_modelId;
153  bool m_modelIdHasBeenSet;
154 
155  ModelTypeEnum m_modelType;
156  bool m_modelTypeHasBeenSet;
157 
158  Aws::String m_modelVersionNumber;
159  bool m_modelVersionNumberHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace FraudDetector
164 } // namespace Aws
FraudDetectorRequest.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::DeleteModelVersionRequest::GetModelId
const Aws::String & GetModelId() const
Definition: DeleteModelVersionRequest.h:41
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
Aws::FraudDetector::Model::DeleteModelVersionRequest::GetModelVersionNumber
const Aws::String & GetModelVersionNumber() const
Definition: DeleteModelVersionRequest.h:113
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelVersionNumber
DeleteModelVersionRequest & WithModelVersionNumber(Aws::String &&value)
Definition: DeleteModelVersionRequest.h:143
ModelTypeEnum.h
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelId
DeleteModelVersionRequest & WithModelId(const char *value)
Definition: DeleteModelVersionRequest.h:76
Aws::FraudDetector::Model::DeleteModelVersionRequest::DeleteModelVersionRequest
DeleteModelVersionRequest()
Aws::FraudDetector::Model::DeleteModelVersionRequest::ModelIdHasBeenSet
bool ModelIdHasBeenSet() const
Definition: DeleteModelVersionRequest.h:46
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelVersionNumber
DeleteModelVersionRequest & WithModelVersionNumber(const Aws::String &value)
Definition: DeleteModelVersionRequest.h:138
Aws::FraudDetector::Model::DeleteModelVersionRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelType
DeleteModelVersionRequest & WithModelType(const ModelTypeEnum &value)
Definition: DeleteModelVersionRequest.h:102
Aws::FraudDetector::Model::DeleteModelVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteModelVersionRequest.h:31
AWSString.h
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: DeleteModelVersionRequest.h:92
Aws::FraudDetector::Model::DeleteModelVersionRequest
Definition: DeleteModelVersionRequest.h:23
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelVersionNumber
DeleteModelVersionRequest & WithModelVersionNumber(const char *value)
Definition: DeleteModelVersionRequest.h:148
Aws::FraudDetector::Model::DeleteModelVersionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelId
void SetModelId(const char *value)
Definition: DeleteModelVersionRequest.h:61
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelVersionNumber
void SetModelVersionNumber(Aws::String &&value)
Definition: DeleteModelVersionRequest.h:128
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelType
DeleteModelVersionRequest & WithModelType(ModelTypeEnum &&value)
Definition: DeleteModelVersionRequest.h:107
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: DeleteModelVersionRequest.h:97
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DeleteModelVersionRequest::ModelTypeHasBeenSet
bool ModelTypeHasBeenSet() const
Definition: DeleteModelVersionRequest.h:87
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelId
DeleteModelVersionRequest & WithModelId(Aws::String &&value)
Definition: DeleteModelVersionRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelId
void SetModelId(Aws::String &&value)
Definition: DeleteModelVersionRequest.h:56
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelVersionNumber
void SetModelVersionNumber(const Aws::String &value)
Definition: DeleteModelVersionRequest.h:123
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelVersionNumber
void SetModelVersionNumber(const char *value)
Definition: DeleteModelVersionRequest.h:133
Aws::FraudDetector::Model::DeleteModelVersionRequest::ModelVersionNumberHasBeenSet
bool ModelVersionNumberHasBeenSet() const
Definition: DeleteModelVersionRequest.h:118
Aws::FraudDetector::Model::DeleteModelVersionRequest::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: DeleteModelVersionRequest.h:82
Aws::FraudDetector::Model::DeleteModelVersionRequest::WithModelId
DeleteModelVersionRequest & WithModelId(const Aws::String &value)
Definition: DeleteModelVersionRequest.h:66
Aws::FraudDetector::Model::DeleteModelVersionRequest::SetModelId
void SetModelId(const Aws::String &value)
Definition: DeleteModelVersionRequest.h:51