AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeModelVersionsRequest.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 "DescribeModelVersions"; }
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 DescribeModelVersionsRequest& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
67 
71  inline DescribeModelVersionsRequest& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
72 
76  inline DescribeModelVersionsRequest& WithModelId(const char* value) { SetModelId(value); return *this;}
77 
78 
82  inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
83 
87  inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
88 
92  inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; }
93 
97  inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); }
98 
102  inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); }
103 
107  inline DescribeModelVersionsRequest& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
108 
112  inline DescribeModelVersionsRequest& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
113 
117  inline DescribeModelVersionsRequest& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
118 
119 
123  inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
124 
128  inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
129 
133  inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
134 
138  inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
139 
143  inline DescribeModelVersionsRequest& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
144 
148  inline DescribeModelVersionsRequest& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
149 
150 
154  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
155 
159  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
160 
164  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
165 
169  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
170 
174  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
175 
179  inline DescribeModelVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
180 
184  inline DescribeModelVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
185 
189  inline DescribeModelVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
190 
191 
195  inline int GetMaxResults() const{ return m_maxResults; }
196 
200  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
201 
205  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
206 
210  inline DescribeModelVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
211 
212  private:
213 
214  Aws::String m_modelId;
215  bool m_modelIdHasBeenSet;
216 
217  Aws::String m_modelVersionNumber;
218  bool m_modelVersionNumberHasBeenSet;
219 
220  ModelTypeEnum m_modelType;
221  bool m_modelTypeHasBeenSet;
222 
223  Aws::String m_nextToken;
224  bool m_nextTokenHasBeenSet;
225 
226  int m_maxResults;
227  bool m_maxResultsHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace FraudDetector
232 } // namespace Aws
FraudDetectorRequest.h
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelVersionNumber
DescribeModelVersionsRequest & WithModelVersionNumber(Aws::String &&value)
Definition: DescribeModelVersionsRequest.h:112
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithNextToken
DescribeModelVersionsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeModelVersionsRequest.h:184
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelVersionNumber
void SetModelVersionNumber(Aws::String &&value)
Definition: DescribeModelVersionsRequest.h:97
Aws::FraudDetector::Model::DescribeModelVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeModelVersionsRequest.h:200
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelVersionNumber
DescribeModelVersionsRequest & WithModelVersionNumber(const Aws::String &value)
Definition: DescribeModelVersionsRequest.h:107
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: DescribeModelVersionsRequest.h:123
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelId
DescribeModelVersionsRequest & WithModelId(const char *value)
Definition: DescribeModelVersionsRequest.h:76
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeModelVersionsRequest.h:164
ModelTypeEnum.h
Aws::FraudDetector::Model::DescribeModelVersionsRequest::ModelIdHasBeenSet
bool ModelIdHasBeenSet() const
Definition: DescribeModelVersionsRequest.h:46
Aws::FraudDetector::Model::DescribeModelVersionsRequest
Definition: DescribeModelVersionsRequest.h:23
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithNextToken
DescribeModelVersionsRequest & WithNextToken(const char *value)
Definition: DescribeModelVersionsRequest.h:189
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithMaxResults
DescribeModelVersionsRequest & WithMaxResults(int value)
Definition: DescribeModelVersionsRequest.h:210
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelId
DescribeModelVersionsRequest & WithModelId(Aws::String &&value)
Definition: DescribeModelVersionsRequest.h:71
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetModelVersionNumber
const Aws::String & GetModelVersionNumber() const
Definition: DescribeModelVersionsRequest.h:82
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeModelVersionsRequest.h:195
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeModelVersionsRequest.h:205
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithNextToken
DescribeModelVersionsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeModelVersionsRequest.h:179
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelId
DescribeModelVersionsRequest & WithModelId(const Aws::String &value)
Definition: DescribeModelVersionsRequest.h:66
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: DescribeModelVersionsRequest.h:133
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeModelVersionsRequest.h:169
Aws::FraudDetector::Model::DescribeModelVersionsRequest::DescribeModelVersionsRequest
DescribeModelVersionsRequest()
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: DescribeModelVersionsRequest.h:138
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeModelVersionsRequest.h:174
AWSString.h
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelVersionNumber
void SetModelVersionNumber(const char *value)
Definition: DescribeModelVersionsRequest.h:102
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetModelId
const Aws::String & GetModelId() const
Definition: DescribeModelVersionsRequest.h:41
Aws::FraudDetector::Model::DescribeModelVersionsRequest::ModelTypeHasBeenSet
bool ModelTypeHasBeenSet() const
Definition: DescribeModelVersionsRequest.h:128
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelType
DescribeModelVersionsRequest & WithModelType(ModelTypeEnum &&value)
Definition: DescribeModelVersionsRequest.h:148
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelId
void SetModelId(const char *value)
Definition: DescribeModelVersionsRequest.h:61
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelType
DescribeModelVersionsRequest & WithModelType(const ModelTypeEnum &value)
Definition: DescribeModelVersionsRequest.h:143
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DescribeModelVersionsRequest::WithModelVersionNumber
DescribeModelVersionsRequest & WithModelVersionNumber(const char *value)
Definition: DescribeModelVersionsRequest.h:117
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeModelVersionsRequest.h:154
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelVersionNumber
void SetModelVersionNumber(const Aws::String &value)
Definition: DescribeModelVersionsRequest.h:92
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::DescribeModelVersionsRequest::ModelVersionNumberHasBeenSet
bool ModelVersionNumberHasBeenSet() const
Definition: DescribeModelVersionsRequest.h:87
Aws::FraudDetector::Model::DescribeModelVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeModelVersionsRequest.h:159
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelId
void SetModelId(const Aws::String &value)
Definition: DescribeModelVersionsRequest.h:51
Aws::FraudDetector::Model::DescribeModelVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeModelVersionsRequest.h:31
Aws::FraudDetector::Model::DescribeModelVersionsRequest::SetModelId
void SetModelId(Aws::String &&value)
Definition: DescribeModelVersionsRequest.h:56